OpenRTM-aist-Python 1.2.1
|
Base class of Publisher. More...
Public Member Functions | |
def | init (self, prop) |
Initializing configuration. More... | |
def | setConsumer (self, consumer) |
virtual ReturnCode setConsumer(InPortConsumer* consumer) = 0; | |
def | setBuffer (self, buffer) |
virtual ReturnCode setBuffer(BufferBase<cdrMemoryStream>* buffer) = 0; | |
def | isActive (self) |
virtual bool isActive() = 0; | |
def | activate (self) |
virtual ReturnCode activate() = 0; | |
def | deactivate (self) |
virtual ReturnCode deactivate() = 0; | |
def | release (self) |
Release the Publisher. More... | |
Public Member Functions inherited from OpenRTM_aist.DataPortStatus.DataPortStatus | |
def | toString (status) |
Convert DataPortStatus into the string. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from OpenRTM_aist.DataPortStatus.DataPortStatus | |
int | PORT_OK = 0 |
DataPortStatus return codes. More... | |
Base class of Publisher.
A base class of Publisher*. Variation of Publisher* which implements details of Publisher inherits this PublisherBase class.
def OpenRTM_aist.PublisherBase.PublisherBase.init | ( | self, | |
prop | |||
) |
Initializing configuration.
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.
prop | Configuration information |
virtual ReturnCode init(coil::Properties& prop) = 0;
def OpenRTM_aist.PublisherBase.PublisherBase.release | ( | self | ) |
Release the Publisher.
Release this Publisher. When Publisher becomes unnecessary, this is invoked from PublisherFactory.
virtual void release(){}