OpenRTM-aist-Python 1.2.1
Public Member Functions | List of all members
OpenRTM_aist.PublisherBase.PublisherBase Class Reference

Base class of Publisher. More...

Inheritance diagram for OpenRTM_aist.PublisherBase.PublisherBase:
OpenRTM_aist.DataPortStatus.DataPortStatus OpenRTM_aist.PublisherBase.PublisherFactory OpenRTM_aist.PublisherFlush.PublisherFlush OpenRTM_aist.PublisherNew.PublisherNew OpenRTM_aist.PublisherPeriodic.PublisherPeriodic

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...
 

Detailed Description

Base class of Publisher.

A base class of Publisher*. Variation of Publisher* which implements details of Publisher inherits this PublisherBase class.

Member Function Documentation

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.

Parameters
propConfiguration 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(){}


The documentation for this class was generated from the following file: