OpenRTM-aist  1.2.1
Public Member Functions | List of all members
RTM::LocalServiceAdmin Class Reference

#include <LocalServiceAdmin.h>

Inheritance diagram for RTM::LocalServiceAdmin:
Inheritance graph
[legend]
Collaboration diagram for RTM::LocalServiceAdmin:
Collaboration graph
[legend]

Public Member Functions

 LocalServiceAdmin ()
 Constructor. More...
 
virtual ~LocalServiceAdmin ()
 Virtual destractor. More...
 
void init (coil::Properties &props)
 Initialization of LocalServiceAdmin. More...
 
void finalize ()
 Finalization ofLocalServiceAdmin. More...
 
::RTM::LocalServiceProfileList getServiceProfiles ()
 Getting LocalServiceProfileList. More...
 
bool getServiceProfile (std::string name,::RTM::LocalServiceProfile &prof)
 Get LocalServiceProfile of an LocalService. More...
 
::RTM::LocalServiceBasegetService (const char *id)
 Get a pointer of a LocalService. More...
 
bool addLocalService (::RTM::LocalServiceBase *service)
 Set a SDO service provider. More...
 
bool removeLocalService (const std::string name)
 Remove a LocalService. More...
 

Additional Inherited Members

- Public Types inherited from coil::Singleton< LocalServiceAdmin >
typedef LocalServiceAdmin * SingletonClassPtr
 
typedef ::coil::Mutex Mutex
 
- Static Public Member Functions inherited from coil::Singleton< LocalServiceAdmin >
static LocalServiceAdmin & instance ()
 Create instance. More...
 
- Protected Member Functions inherited from coil::Singleton< LocalServiceAdmin >
 Singleton ()
 Constructor. More...
 
 ~Singleton ()
 Destructor. More...
 
- Static Protected Attributes inherited from coil::Singleton< LocalServiceAdmin >
static coil::Mutex m_mutex
 Mutual exclusion object. More...
 
static LocalServiceAdmin * m_instance
 SingletonClass object. More...
 

Constructor & Destructor Documentation

RTM::LocalServiceAdmin::LocalServiceAdmin ( )

Constructor.

Constructor

virtual RTM::LocalServiceAdmin::~LocalServiceAdmin ( )
virtual

Virtual destractor.

Virtual destractor.

Member Function Documentation

bool RTM::LocalServiceAdmin::addLocalService ( ::RTM::LocalServiceBase service)

Set a SDO service provider.

TODO: Documentation

void RTM::LocalServiceAdmin::finalize ( )

Finalization ofLocalServiceAdmin.

TODO: Documentation

::RTM::LocalServiceBase* RTM::LocalServiceAdmin::getService ( const char *  id)

Get a pointer of a LocalService.

This operation returnes a pointer to the LocalService which has the specified id. If the specified id is NULL pointer or the specified id does not exist in the ServiceProfile list, NULL pointer will be returned.

Parameters
idID of a LocalService
Returns
a pointer which has the specified id
bool RTM::LocalServiceAdmin::getServiceProfile ( std::string  name,
::RTM::LocalServiceProfile prof 
)

Get LocalServiceProfile of an LocalService.

This operation returns LocalServiceProfile of a LocalService which has the specified id. If the specified id is NULL pointer or the specified id does not exist in the ServiceProfile list, false will be returned.

Parameters
idID of an LocalService
Returns
LocalServiceProfile which has the specified id
::RTM::LocalServiceProfileList RTM::LocalServiceAdmin::getServiceProfiles ( )

Getting LocalServiceProfileList.

TODO: Documentation

void RTM::LocalServiceAdmin::init ( coil::Properties props)

Initialization of LocalServiceAdmin.

TODO: Documentation

bool RTM::LocalServiceAdmin::removeLocalService ( const std::string  name)

Remove a LocalService.

TODO: Documentation


The documentation for this class was generated from the following file: