InPort template class. More...
Public Member Functions | |
def | __init__ |
A constructor. | |
def | __del__ |
Destructor. | |
def | name |
const char* name() | |
def | isNew |
bool isNew() | |
def | isEmpty |
Check whether the data is newest. | |
def | read |
Readout the value from DataPort. | |
def | update |
Read into bound T-type data from current InPort. |
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.__del__ | ( | self, | ||
PortBase = OpenRTM_aist.InPortBase | ||||
) |
def OpenRTM_aist.InPort.InPort.__init__ | ( | self, | ||
name, | ||||
value, | ||||
buffer = None , |
||||
read_block = False , |
||||
write_block = False , |
||||
read_timeout = 0 , |
||||
write_timeout = 0 | ||||
) |
A constructor.
Setting channel name and registering channel value.
self | ||
name | A name of the InPort. This name is referred by InPortBase.name(). | |
value | A channel value related with the channel. | |
read_block | ||
write_block | ||
read_timeout | ||
write_timeout |
def OpenRTM_aist.InPort.InPort.isEmpty | ( | self | ) |
Check whether the data is newest.
Check whether the data stored at a current buffer position is newest.
bool isEmpty()
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.update | ( | self | ) |
Read into bound T-type data from current InPort.