OpenRTM
1.0.0
メインページ
ネームスペース
クラス
ファイル
ファイル一覧
ファイルメンバ
tmp
buildd
ros-hydro-openrtm-aist-1.1.0-13quantal-20150213-1351
src
lib
rtm
PortCallback.h
説明を見る。
1
// -*- C++ -*-
20
#ifndef RTC_PORTCALLBACK_H
21
#define RTC_PORTCALLBACK_H
22
23
class
cdrStream;
24
25
namespace
RTC
26
{
27
//============================================================
28
// callback functor base classes
55
class
ConnectionCallback
56
{
57
public
:
71
virtual
~ConnectionCallback
(
void
){}
72
94
virtual
void
operator()
(RTC::ConnectorProfile& profile) = 0;
95
};
96
97
124
class
DisconnectCallback
125
{
126
public
:
140
virtual
~DisconnectCallback
(
void
){}
162
virtual
void
operator()
(
const
char
* connector_id) = 0;
163
};
164
165
191
template
<
class
DataType>
192
class
OnWrite
193
{
194
public
:
208
virtual
~OnWrite
(
void
){}
209
230
virtual
void
operator()
(
const
DataType& value) = 0;
231
};
232
233
257
template
<
class
DataType>
258
struct
OnWriteConvert
259
{
273
virtual
~OnWriteConvert
(
void
){}
274
297
virtual
DataType
operator()
(
const
DataType& value) = 0;
298
};
299
300
322
template
<
class
DataType>
323
struct
OnRead
324
{
340
virtual
~OnRead
(
void
){}
341
358
virtual
void
operator()
() = 0;
359
};
360
384
template
<
class
DataType>
385
struct
OnReadConvert
386
{
402
virtual
~OnReadConvert
(
void
){}
403
430
virtual
DataType
operator()
(
const
DataType& value) = 0;
431
};
432
433
434
};
435
#endif // RTC_PORTCALLBACK_H
OpenRTMに対してFri Feb 13 2015 13:58:06に生成されました。
1.8.1.2