InPort template class. More...
Public Member Functions | |
def | __del__ |
Destructor. | |
def | __init__ |
A constructor. | |
def | isEmpty |
Check whether the data is newest. | |
def | isNew |
bool isNew() | |
def | name |
const char* name() | |
def | read |
Readout the value from DataPort. | |
def | setOnRead |
def | setOnReadConvert |
def | update |
Read into bound T-type data from current InPort. | |
Private Attributes | |
_name | |
_OnRead | |
_OnReadConvert | |
_value |
InPort template class.
This class template provides interfaces to input port. Component developer can define input value, which act as input port from other components, using this template. This is class template. This class have to be incarnated class as port value types. This value types are previously define RtComponent IDL. ex. type T: TimedFload, TimedLong etc...
def OpenRTM_aist.InPort.InPort.__init__ | ( | self, | |
name, | |||
value, | |||
buffer = None , |
|||
read_block = False , |
|||
write_block = False , |
|||
read_timeout = 0 , |
|||
write_timeout = 0 |
|||
) |
def OpenRTM_aist.InPort.InPort.__del__ | ( | self, | |
PortBase = OpenRTM_aist.InPortBase |
|||
) |
def OpenRTM_aist.InPort.InPort.isEmpty | ( | self | ) |
def OpenRTM_aist.InPort.InPort.isNew | ( | self | ) |
def OpenRTM_aist.InPort.InPort.name | ( | self | ) |
def OpenRTM_aist.InPort.InPort.read | ( | self | ) |
Readout the value from DataPort.
Readout the value from DataPort
DataType read()
Reimplemented from OpenRTM_aist.InPortBase.InPortBase.
def OpenRTM_aist.InPort.InPort.setOnRead | ( | self, | |
on_read | |||
) |
def OpenRTM_aist.InPort.InPort.setOnReadConvert | ( | self, | |
on_rconvert | |||
) |
def OpenRTM_aist.InPort.InPort.update | ( | self | ) |
OpenRTM_aist::InPort.InPort::_name [private] |
OpenRTM_aist::InPort.InPort::_OnRead [private] |
OpenRTM_aist::InPort.InPort::_value [private] |
Reimplemented from OpenRTM_aist.InPortBase.InPortBase.