|void||init (coil::Properties &prop)|
|Initializing configuration. |
|InPortProviderMock (const std::string &interfaceType, const std::string &dataFlowType, const std::string &subscriptionType)|
|void||setBuffer (RTC::BufferBase< cdrMemoryStream > *buffer)|
|Setting outside buffer's pointer. |
|void||setConnector (RTC::InPortConnector *connector)|
|set Connector |
|void||setListener (RTC::ConnectorInfo &info, RTC::ConnectorListeners *listeners)|
|Set the listener. |
|InPortProvider::InPortProviderMock::InPortProviderMock||(||const std::string &||interfaceType,|
|const std::string &||dataFlowType,|
|const std::string &||subscriptionType|
This operation would be called to configure in initialization. In the concrete class, configuration should be performed getting appropriate information from the given Properties data. This function might be called right after instantiation and connection sequence respectivly. Therefore, this function should be implemented assuming multiple call.
|void InPortProvider::InPortProviderMock::setBuffer||(||RTC::BufferBase< cdrMemoryStream > *||buffer||)||
Setting outside buffer's pointer.
A pointer to a buffer from which OutPortProvider retrieve data. If already buffer is set, previous buffer's pointer will be overwritten by the given pointer to a buffer. Since OutPortProvider does not assume ownership of the buffer pointer, destructor of the buffer should be done by user.
|void InPortProvider::InPortProviderMock::setConnector||(||RTC::InPortConnector *||connector||)||
OutPort creates OutPortConnector object when it establishes connection between OutPort and InPort, and it calls this function with a pointer to the connector object. Since the OutPort has the ownership of this connector, OutPortProvider should not delete it.
|void InPortProvider::InPortProviderMock::setListener||(||RTC::ConnectorInfo &||info,|
Set the listener.
OutPort provides callback functionality that calls specific listener objects according to the events in the data publishing process. For details, see documentation of ConnectorDataListener class and ConnectorListener class in ConnectorListener.h. In the sub-classes of OutPortProvider, the given listeners should be called in the proper timing. However, it is not necessary to call all the listeners.