#include <RtcInPort.h>
Inheritance diagram for RTM::InPortAny< T >:
Public Member Functions | |
InPortAny (const char *name, T &value, int bufsize=64) | |
A constructor. | |
InPortAny (const char *name, int bufsize=64) | |
A constructor. | |
virtual | ~InPortAny () |
A destructor. | |
virtual void | put (const CORBA::Any &value) throw (RTM::InPort::Disconnected, CORBA::SystemException) |
[CORBA interface] Put data on InPort | |
virtual void | initBuffer (T &value) |
Initialize ring buffer value of InPort. | |
virtual void | read_pm () |
Read into bound T-type data from current InPort. | |
virtual T | read () |
Read into bound T-type data from current InPort. | |
virtual bool | operator>> (T &rhs) |
Read from InPort buffer to type-T variable. | |
virtual bool | isNew () |
Check the newest data is new data to be read. | |
virtual int | getNewDataLen () |
Get number of new data to be read. | |
virtual std::vector< T > | getNewList () |
Get new data to be read. | |
virtual std::vector< T > | getNewListReverse () |
Get new data to be read. | |
virtual PortProfile * | profile () throw (CORBA::SystemException) |
[CORBA interface] Get InPort profile | |
const char * | name () |
Get InPort name. | |
Protected Attributes | |
PortProfile | m_Profile |
InPort profile. |
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...
|
A constructor. Setting channel name and registering channel value.
|
|
A constructor. Setting channel name and registering channel value.
|
|
A destructor.
|
|
Get number of new data to be read.
|
|
Get new data to be read.
|
|
Get new data to be read.
|
|
Initialize ring buffer value of InPort.
|
|
Check the newest data is new data to be read.
|
|
Get InPort name.
|
|
Read from InPort buffer to type-T variable.
|
|
[CORBA interface] Get InPort profile
|
|
[CORBA interface] Put data on InPort
Implements RTM::InPortBase. |
|
Read into bound T-type data from current InPort.
|
|
Read into bound T-type data from current InPort.
Implements RTM::InPortBase. |
|
InPort profile.
|