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
InPortPushConnector.h
Go to the documentation of this file.
1
// -*- C++ -*-
20
#ifndef RTC_INPORTPUSHCONNECTOR_H
21
#define RTC_INPORTPUSHCONNECTOR_H
22
23
#include <
rtm/InPortConnector.h
>
24
#include <
rtm/InPortConsumer.h
>
25
#include <
rtm/PublisherBase.h
>
26
27
namespace
RTC
28
{
29
class
InPortProvider;
30
80
class
InPortPushConnector
81
:
public
InPortConnector
82
{
83
public
:
84
DATAPORTSTATUS_ENUM
85
126
InPortPushConnector
(
ConnectorInfo
info,
127
InPortProvider
* provider,
128
ConnectorListeners
& listeners,
129
CdrBufferBase
* buffer = 0);
130
146
virtual
~InPortPushConnector
();
147
180
virtual
ReturnCode
read
(cdrMemoryStream& data);
181
201
virtual
ReturnCode
disconnect
();
202
217
virtual
void
activate
(){};
// do nothing
218
233
virtual
void
deactivate
(){};
// do nothing
234
235
protected
:
255
virtual
CdrBufferBase
*
createBuffer
(
ConnectorInfo
& info);
256
264
void
onConnect
();
265
273
void
onDisconnect
();
274
275
private
:
283
InPortProvider
* m_provider;
284
292
ConnectorListeners
& m_listeners;
293
294
bool
m_deleteBuffer;
295
};
296
};
// namespace RTC
297
298
#endif // RTC_PUSH_CONNECTOR_H
Generated on Fri Feb 13 2015 13:50:45 for OpenRTM by
1.8.3.1