![]() |
Public API Reference |
#include <objreg.h>
Inheritance diagram for csObjectRegistry:
Public Methods | |
virtual | ~csObjectRegistry () |
Client must explicitly call Clear(). More... | |
virtual void | Clear () |
Clear the object registry and release all references. More... | |
virtual bool | Register (iBase *obj, char const *tag=NULL) |
Register an object with this registry. More... | |
virtual void | Unregister (iBase *obj, char const *tag=NULL) |
Unregister an object with this registry. More... | |
virtual iBase * | Get (char const *tag) |
Get the registered object corresponding with the given tag. More... | |
virtual iBase * | Get (char const *tag, scfInterfaceID id, int version) |
Get the registered object corresponding with the given tag and implementing the specified interface. More... | |
virtual csPtr< iObjectRegistryIterator > | Get (scfInterfaceID id, int version) |
Get an iterator with all objects implementing the given interface. More... | |
virtual csPtr< iObjectRegistryIterator > | Get () |
Get an iterator with all objects in this object registry. More... |
Thread-safe!
Definition at line 33 of file csutil/objreg.h.
|
Client must explicitly call Clear().
|
|
Clear the object registry and release all references.
Implements iObjectRegistry. |
|
Get an iterator with all objects in this object registry.
Implements iObjectRegistry. |
|
Get an iterator with all objects implementing the given interface.
Implements iObjectRegistry. |
|
Get the registered object corresponding with the given tag and implementing the specified interface.
Implements iObjectRegistry. |
|
Get the registered object corresponding with the given tag. This function will increase the ref count of the returned object. Implements iObjectRegistry. |
|
Register an object with this registry.
Implements iObjectRegistry. |
|
Unregister an object with this registry.
Implements iObjectRegistry. |