OpenRTM-aist-Python 2.0.0
|
Public Member Functions | |
def | __init__ (self) |
def | init (self, props) |
def | finalize (self) |
def | getServiceProfiles (self) |
def | getServiceProfile (self, name) |
def | getService (self, id) |
def | addLocalService (self, service) |
def | removeLocalService (self, name) |
def | isEnabled (self, id, enabled) |
def | notExisting (self, id) |
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.__init__ | ( | self | ) |
Constructor
Constructor
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.addLocalService | ( | self, | |
service | |||
) |
Set a SDO service provider
TODO: Documentation
bool addLocalService(::RTM::LocalServiceBase* service);
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.finalize | ( | self | ) |
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.getService | ( | self, | |
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 |
::RTM::LocalServiceBase* getService(const char* id);
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.getServiceProfile | ( | self, | |
name | |||
) |
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 |
bool getServiceProfile(std::string name, ::RTM::LocalServiceProfile& prof);
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.getServiceProfiles | ( | self | ) |
Getting LocalServiceProfileList
TODO: Documentation
::RTM::LocalServiceProfileList getServiceProfiles();
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.init | ( | self, | |
props | |||
) |
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.isEnabled | ( | self, | |
id, | |||
enabled | |||
) |
Check if specified ID is enabled bool isEnabled(const std::string& id, const coil::vstring& enabled);
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.notExisting | ( | self, | |
id | |||
) |
Check if specified ID is existing bool notExisting(const std::string& id);
def OpenRTM_aist.LocalServiceAdmin.LocalServiceAdmin.removeLocalService | ( | self, | |
name | |||
) |
Remove a LocalService
TODO: Documentation
bool removeLocalService(const std::string name);