OpenRTM-aist
1.2.1
|
#include <LocalServiceAdmin.h>
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::LocalServiceBase * | getService (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... | |
RTM::LocalServiceAdmin::LocalServiceAdmin | ( | ) |
Constructor.
Constructor
|
virtual |
Virtual destractor.
Virtual destractor.
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.
id | ID of a LocalService |
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.
id | ID of an LocalService |
::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