#include <RtcOutPort.h>
Inheritance diagram for RTM::OutPortAny< T >:
Public Member Functions | |
OutPortAny (const char *name, T &value, int bufsize=DEFAULT_BUFFER_SIZE) | |
A constructor. | |
OutPortAny (const char *name, int bufsize=DEFAULT_BUFFER_SIZE) | |
A constructor. | |
virtual | ~OutPortAny () |
A destructor. | |
CORBA::Any * | get () throw (CORBA::SystemException) |
[CORBA interface] Get current data of OutPort | |
RtmRes | push (const InPort_ptr &inport, std::string &subsid) |
Push current data to subscribers. | |
virtual void | initBuffer (T &value) |
Initialize ring buffer value of OutPort. | |
virtual void | write () |
Write into current OutPort from bound T-type data. | |
virtual void | write_pm () |
Write into current OutPort from bound T-type data. | |
virtual void | write (T value) |
Writing a argument value to OutPort buffer. | |
virtual void | operator<< (T &value) |
Writing a argument value to OutPort buffer. | |
virtual RtmRes | subscribe (InPort_ptr in_port, SubscriptionID_out id, const SubscriberProfile &profile) throw (CORBA::SystemException) |
CORBA interface Return type code of port value. Subscribe this OutPort. | |
virtual RtmRes | unsubscribe (const char *id) throw (CORBA::SystemException) |
Unsubscribe this OutPort. | |
virtual InPortList * | inports () throw (CORBA::SystemException) |
Get InPort list of current subscriber. | |
virtual PortProfile * | profile () throw (CORBA::SystemException) |
[CORBA interface] Get OutPort profile | |
virtual void | updateall () |
Update current OutPort to to subscriber. | |
virtual void | disconnect_all () |
Disconnect all subscribers. | |
virtual const char * | name () |
Get OutPort name. | |
Protected Member Functions | |
virtual RtmRes | unsubscribeNoLocked (const char *id) |
Protected Attributes | |
Subscribers | m_Subscribers |
PortProfile | m_Profile |
OutPort profile. |
|
A constructor. Setting channel name and registering channel value.
|
|
A constructor. Setting channel name and registering channel value.
|
|
A destructor.
|
|
Disconnect all subscribers.
|
|
[CORBA interface] Get current data of OutPort
Implements RTM::OutPortBase. |
|
Initialize ring buffer value of OutPort.
|
|
Get InPort list of current subscriber.
|
|
Get OutPort name.
|
|
Writing a argument value to OutPort buffer. Calling this method, argument value "T& value" is transferred to OutPort.
|
|
[CORBA interface] Get OutPort profile
|
|
Push current data to subscribers.
Implements RTM::OutPortBase. |
|
CORBA interface Return type code of port value. Subscribe this OutPort.
|
|
Unsubscribe this OutPort.
|
|
|
|
Update current OutPort to to subscriber.
|
|
Writing a argument value to OutPort buffer. Calling this method, argument value "T& value" is transferred to OutPort.
|
|
Write into current OutPort from bound T-type data.
|
|
Write into current OutPort from bound T-type data.
Implements RTM::OutPortBase. |
|
OutPort profile.
|
|
|