#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 (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 (long sec, long nsec) |
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 (SubscriptionProfile &subs) throw (CORBA::SystemException, RTM::PortBase::InvalidSubscription) |
CORBA interface Return type code of port value. Subscribe this OutPort. | |
virtual RtmRes | notify_subscribe (SubscriptionProfile &subs) throw (CORBA::SystemException, RTM::PortBase::InvalidSubscription) |
Subscribe this OutPort. | |
virtual RtmRes | unsubscribe (const char *id) throw (CORBA::SystemException, RTM::PortBase::NoSubscription) |
Unsubscribe this OutPort. | |
virtual RtmRes | notify_unsubscribe (const char *id) throw (CORBA::SystemException, RTM::PortBase::NoSubscription) |
Unsubscribe this OutPort. | |
virtual PortProfile * | profile () throw (CORBA::SystemException) |
Get InPort list of current subscriber [CORBA interface] Get OutPort profile. | |
virtual SubscriptionList * | subscriptions () |
[CORBA interface] Get Subscription list | |
bool | createSubscriber (SubscriptionProfile &subscription) |
virtual void | updateall () |
Update current OutPort to to subscriber. | |
virtual void | disconnect_all () |
Disconnect all subscribers. | |
virtual const char * | name () |
Get OutPort name. | |
virtual OutPort_ptr | getObjRef () |
virtual void | setObjRef (OutPort_ptr objref) |
Protected Types | |
typedef std::list< SubscriberBase * >::iterator | Subs_it |
Subscriber list. | |
Protected Member Functions | |
virtual RtmRes | unsubscribeNoLocked (const char *id) throw (CORBA::SystemException, RTM::PortBase::NoSubscription) |
Protected Attributes | |
Subscribers | m_Subscribers |
PortProfile | m_Profile |
OutPort profile. | |
OutPort_var | m_thisObjRef |
object reference of OutPort itself |
|
Subscriber list.
|
|
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 OutPort name.
|
|
Subscribe this OutPort.
|
|
Unsubscribe this OutPort.
|
|
Writing a argument value to OutPort buffer. Calling this method, argument value "T& value" is transferred to OutPort.
|
|
Get InPort list of current subscriber [CORBA interface] Get OutPort profile.
|
|
Push current data to subscribers.
Implements RTM::OutPortBase. |
|
|
|
CORBA interface Return type code of port value. Subscribe this OutPort.
|
|
[CORBA interface] Get Subscription list
|
|
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.
|
|
|
|
object reference of OutPort itself
|