|
The registery interface is implemented by ArmarXManagers. More...
#include <ArmarXCore/core/ManagedIceObjectRegistryInterface.h>
Public Member Functions | |
virtual void | addObject (const ManagedIceObjectPtr &object, bool addWithOwnAdapter=true, const std::string &objectName="", bool useOwnScheduleThread=true)=0 |
Add a ManagedIceObject to the registry. More... | |
virtual std::vector< ManagedIceObjectPtr > | getManagedObjects ()=0 |
Retrieve pointers to all ManagedIceObject. More... | |
virtual void | removeObjectBlocking (const ManagedIceObjectPtr &object)=0 |
Removes an object from the registry. More... | |
virtual void | removeObjectBlocking (const std::string &objectName)=0 |
Removes an object from the manageregistry. More... | |
virtual void | removeObjectNonBlocking (const ManagedIceObjectPtr &object)=0 |
Removes an object from the registry. More... | |
virtual void | removeObjectNonBlocking (const std::string &objectName)=0 |
Removes an object from the registry. More... | |
The registery interface is implemented by ArmarXManagers.
It is mainly used to provide the ArmarXDummyManager for properties parsing.
Definition at line 48 of file ManagedIceObjectRegistryInterface.h.
|
pure virtual |
Add a ManagedIceObject to the registry.
Takes care of the ManagedIceObject lifcycle using and ArmarXObjectScheduler. addObject is thread-safe and can be called from any method in order to dynamically add ManagedIceObjects (as e.g. required for GUI).
object | object to add |
addWithOwnAdapter | If true this object will have it's own adapter |
objectName | Name that the object should have. if not empty overrides the currently set name. |
Implemented in ArmarXManager, and ArmarXDummyManager.
|
pure virtual |
Retrieve pointers to all ManagedIceObject.
Implemented in ArmarXManager, and ArmarXDummyManager.
|
pure virtual |
Removes an object from the registry.
This version waits until all calls to this component are finished and the has been completely removed.
object | object to remove |
Implemented in ArmarXManager, and ArmarXDummyManager.
|
pure virtual |
Removes an object from the manageregistry.
This version waits until all calls to this component are finished and the has been completely removed.
objectName | name of the object to remove |
Implemented in ArmarXManager, and ArmarXDummyManager.
|
pure virtual |
Removes an object from the registry.
This version returns immediatly and does not wait for all call to this to finish.
object | object to remove |
Implemented in ArmarXManager, and ArmarXDummyManager.
|
pure virtual |
Removes an object from the registry.
This version returns immediatly and does not wait for all call to this to finish.
objectName | name of the object to remove |
Implemented in ArmarXManager, and ArmarXDummyManager.