Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RTM::OutPortBase Class Reference

Output port base class. More...

#include <RtcOutPortBase.h>

Inheritance diagram for RTM::OutPortBase:

RTM::OutPortAny< T > List of all members.

Public Member Functions

 OutPortBase ()
 A constructor of OutPortBase class.

virtual ~OutPortBase ()
 A destructor of OutPortBase class.

virtual CORBA::Any * get ()=0 throw (CORBA::SystemException)
 [CORBA interface] Get OutPort current value

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 RtmRes push (const InPort_ptr &inport, std::string subsid)=0
 Push current OutPort value to subscriber.

virtual void updateall ()
 Update current OutPort to to subscriber.

virtual const char * name ()
 Get OutPort name.


Protected Attributes

Subscribers m_Subscribers
PortProfile m_Profile
 OutPort profile.


Detailed Description

Output port base class.

The base class of OutPort<T> s which are implementations of OutPort This class provides CORBA interface implementation.


Constructor & Destructor Documentation

RTM::OutPortBase::OutPortBase  )  [inline]
 

A constructor of OutPortBase class.

Constructor of OutPortBase.

virtual RTM::OutPortBase::~OutPortBase  )  [inline, virtual]
 

A destructor of OutPortBase class.

Destructor of OutPortBase.


Member Function Documentation

virtual CORBA::Any* RTM::OutPortBase::get  )  throw (CORBA::SystemException) [pure virtual]
 

[CORBA interface] Get OutPort current value

Implemented in RTM::OutPortAny< T >, and RTM::OutPortAny< TimedState >.

virtual InPortList* RTM::OutPortBase::inports  )  throw (CORBA::SystemException) [virtual]
 

Get InPort list of current subscriber.

virtual const char* RTM::OutPortBase::name  )  [inline, virtual]
 

Get OutPort name.

virtual PortProfile* RTM::OutPortBase::profile  )  throw (CORBA::SystemException) [virtual]
 

[CORBA interface] Get OutPort profile

virtual RtmRes RTM::OutPortBase::push const InPort_ptr &  inport,
std::string  subsid
[pure virtual]
 

Push current OutPort value to subscriber.

Implemented in RTM::OutPortAny< T >, and RTM::OutPortAny< TimedState >.

virtual RtmRes RTM::OutPortBase::subscribe InPort_ptr  in_port,
SubscriptionID_out  id,
const SubscriberProfile &  profile
throw (CORBA::SystemException) [virtual]
 

CORBA interface Return type code of port value. Subscribe this OutPort.

virtual RtmRes RTM::OutPortBase::unsubscribe const char *  id  )  throw (CORBA::SystemException) [virtual]
 

Unsubscribe this OutPort.

virtual void RTM::OutPortBase::updateall  )  [virtual]
 

Update current OutPort to to subscriber.


Member Data Documentation

PortProfile RTM::OutPortBase::m_Profile [protected]
 

OutPort profile.

Subscribers RTM::OutPortBase::m_Subscribers [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 16 15:29:19 2004 for OpenRTM by doxygen 1.3.6