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

RTC::PortAdmin Class Reference

#include <PortAdmin.h>

List of all members.

Public Member Functions

 PortAdmin (CORBA::ORB_ptr, PortableServer::POA_ptr poa)
virtual ~PortAdmin ()
PortList * getPortList () const
 Get PortList.
PortProfileList getPortProfileList () const
Port_ptr getPortRef (const char *port_name) const
 Get PortList.
PortBasegetPort (const char *port_name) const
 Getpointer to the Port's servant.
void registerPort (PortBase &port)
 Regsiter Port.
void deletePort (PortBase &port)
 Delete the Port's registration.
void deletePortByName (const char *port_name)
 Delete the Port' registration.
void finalizePorts ()
 Unregister the Port.

Classes

class  comp_op
class  port_prof_collect


Constructor & Destructor Documentation

RTC::PortAdmin::PortAdmin CORBA::ORB_ptr  ,
PortableServer::POA_ptr  poa
 

virtual RTC::PortAdmin::~PortAdmin  )  [inline, virtual]
 


Member Function Documentation

void RTC::PortAdmin::deletePort PortBase port  ) 
 

Delete the Port's registration.

This operation unregisters the Port's registration. When the Port is unregistered, Port is deactivated, and the object reference in the Port's profile is set to nil.

Parameters:
port The Port's servant.

void RTC::PortAdmin::deletePortByName const char *  port_name  ) 
 

Delete the Port' registration.

This operation delete the Port's registration specified by port_ name. When the Port is unregistered, Port is deactivated, and the object reference in the Port's profile is set to nil.

Parameters:
port_name The Port's name.

void RTC::PortAdmin::finalizePorts  ) 
 

Unregister the Port.

This operation deactivates the all Port and deletes the all Port's registrations from the list.

PortBase* RTC::PortAdmin::getPort const char *  port_name  )  const
 

Getpointer to the Port's servant.

This operation returns the pointer to the PortBase servant regsitered by registerPort().

Parameters:
port_name The name of Port to be returned the servant pointer.
Returns:
PortBase* Port's servant's pointer.

PortList* RTC::PortAdmin::getPortList  )  const
 

Get PortList.

This operation returns the pointer to the PortList of Ports regsitered by registerPort().

Returns:
PortList+ The pointer points PortList

PortProfileList RTC::PortAdmin::getPortProfileList  )  const
 

Port_ptr RTC::PortAdmin::getPortRef const char *  port_name  )  const
 

Get PortList.

This operation returns the pointer to the PortList of Ports regsitered by registerPort().

Parameters:
port_name The name of Port to be returned the reference.
Returns:
Port_ptr Port's object reference.

void RTC::PortAdmin::registerPort PortBase port  ) 
 

Regsiter Port.

This operation registers the Port's servant given by argument. The given Port's servant will be activated on the POA that is given to the constructor, and the created object reference is set to the Port's profile.

Parameters:
port The Port's servant.


The documentation for this class was generated from the following file:
Generated on Fri Oct 5 05:16:05 2007 for OpenRTM by  doxygen 1.4.1