OpenRTM
1.0.0
Main Page
Namespaces
Classes
Files
File List
File Members
tmp
buildd
ros-hydro-openrtm-aist-1.1.0-13raring-20150213-1342
src
lib
rtm
OutPortPullConnector.h
Go to the documentation of this file.
1
// -*- C++ -*-
20
#ifndef RTC_OUTPORTPULLCONNECTOR_H
21
#define RTC_OUTPORTPULLCONNECTOR_H
22
23
#include <
rtm/OutPortConnector.h
>
24
#include <
rtm/ConnectorListener.h
>
25
26
namespace
RTC
27
{
28
class
OutPortProvider;
29
81
class
OutPortPullConnector
82
:
public
OutPortConnector
83
{
84
public
:
85
DATAPORTSTATUS_ENUM
86
127
OutPortPullConnector
(
ConnectorInfo
info,
128
OutPortProvider
* provider,
129
ConnectorListeners
& listeners,
130
CdrBufferBase
* buffer = 0);
131
147
virtual
~OutPortPullConnector
();
148
165
virtual
ReturnCode
write
(
const
cdrMemoryStream& data);
166
182
virtual
ReturnCode
disconnect
();
183
197
virtual
CdrBufferBase
*
getBuffer
();
198
213
virtual
void
activate
(){};
// do nothing
214
229
virtual
void
deactivate
(){};
// do nothing
230
238
CdrBufferBase
*
createBuffer
(
ConnectorInfo
& info);
239
247
void
onConnect
();
248
256
void
onDisconnect
();
257
258
protected
:
259
267
OutPortProvider
*
m_provider
;
268
276
ConnectorListeners
&
m_listeners
;
277
285
CdrBufferBase
*
m_buffer
;
286
};
287
};
// namespace RTC
288
289
#endif // RTC_PULL_CONNECTOR_H
Generated on Fri Feb 13 2015 13:50:45 for OpenRTM by
1.8.3.1