#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 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 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.
|
|
Initialize ring buffer value of InPort.
|
|
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.
|
|
InPort profile.
|