OpenRTM-aist
2.1.0
Toggle main menu visibility
読み取り中…
検索中…
一致する文字列を見つけられません
LogstreamBase.h
[詳解]
1
// -*- C++ -*-
17
18
#ifndef RTC_LOGSTREAMBASE_H
19
#define RTC_LOGSTREAMBASE_H
20
21
#include <coil/Properties.h>
22
#include <coil/Factory.h>
23
#include <coil/Logger.h>
24
25
#include <
rtm/RTC.h
>
26
#include <
rtm/CdrBufferBase.h
>
27
#include <
rtm/DataPortStatus.h
>
28
29
namespace
RTC
30
{
55
using
StreambufType
= coil::LogStreamBuffer;
56
class
LogstreamBase
57
{
58
public
:
70
virtual
~LogstreamBase
() =
default
;
71
93
virtual
bool
init
(
const
coil::Properties& prop) = 0;
94
95
virtual
StreambufType
*
getStreamBuffer
() = 0;
96
97
};
98
99
using
LogstreamFactory
= coil::GlobalFactory<LogstreamBase>;
100
}
// namespace RTC
101
102
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
103
EXTERN
template
class
DLL_PLUGIN coil::GlobalFactory<RTC::LogstreamBase>;
104
#elif defined(__GNUC__)
105
EXTERN
template
class
coil::GlobalFactory<RTC::LogstreamBase>;
106
#endif
107
108
#endif
// RTC_LOGSTREAMBASE_H
CdrBufferBase.h
DataPortStatus.h
DataPortStatus class
RTC.h
RTComponent header
RTC::LogstreamBase
Definition
LogstreamBase.h:57
RTC::LogstreamBase::getStreamBuffer
virtual StreambufType * getStreamBuffer()=0
RTC::LogstreamBase::init
virtual bool init(const coil::Properties &prop)=0
設定初期化
RTC::LogstreamBase::~LogstreamBase
virtual ~LogstreamBase()=default
デストラクタ
RTC
RTコンポーネント
RTC::StreambufType
coil::LogStreamBuffer StreambufType
Definition
LogstreamBase.h:55
RTC::LogstreamFactory
coil::GlobalFactory< LogstreamBase > LogstreamFactory
Definition
LogstreamBase.h:99
構築:
1.17.0