#include <IObjectManager.h>
Inheritance diagram for IObjectManager:
Public Methods | |
virtual | ~IObjectManager () |
virtual WDError | subscribe (IManagedObject *inObject, void *inTargetNode)=0 |
virtual void | release (IManagedObject *inObject)=0 |
virtual void * | getRoot ()=0 |
virtual void * | getChild (void *inNode, int inIndex)=0 |
virtual void | getType (void *inNode, char *outType, int inMaxLength)=0 |
virtual WDError | setAttribute (void *inNode, const char *inAttribute, const char *inValue)=0 |
virtual WDError | getAttribute (void *inNode, const char *inAttribute, char *outValue, int inMaxLength)=0 |
virtual WDError | saveToFile (const char *inFileName)=0 |
virtual void * | newChildNode (const char *inType, void *inParent)=0 |
virtual int | getChildCount (void *inNode)=0 |
virtual void * | getParentNode (void *inNode)=0 |
virtual void * | findNode (const char *nodeID, void *inRoot)=0 |
virtual int | getIndex (void *inNode)=0 |
virtual void | registerObject (void *inObject)=0 |
virtual void | notifyChanged (void *inNode)=0 |
virtual void | notifyChildAdded (void *inStartNode, void *inChildNode)=0 |
virtual void | notifyChildChanged (void *inStartNode, void *inChildNode)=0 |
Interface for the ObjectManager family. An ObjectManager acts as a gateway between the actual database and the ManagedObject. It also provides subscribing services for the observers.
|
|
|
Returns the node with the specified ID searching from the specified root
Implemented in ObjectManager. |
|
Returns an attribute of the specified data node
Implemented in ObjectManager. |
|
Returns the child of the specified node at the specified index.
Implemented in ObjectManager. |
|
Returns the number of child associated with the data node
Implemented in ObjectManager. |
|
Returns the index of the data node with regard to its parent
Implemented in ObjectManager. |
|
Returns the parent of the specified data node
Implemented in ObjectManager. |
|
Returns the root of the database Implemented in ObjectManager. |
|
Returns the type of the specified data node
Implemented in ObjectManager. |
|
Creates a new node in the database
Implemented in ObjectManager. |
|
Notifies the observers that the data node has changed
Implemented in ObjectManager. |
|
Notifies the observers that a child was added to the node or to a child of the node
Implemented in ObjectManager. |
|
Notifies the observers that a child to the node or to a child of the node has changed
Implemented in ObjectManager. |
|
Temporary hack - we need to have at least one ManagedObject of for each node loaded in memory all the time - and I don't feel like telling you why. Go ask Etienne instead... Implemented in ObjectManager. |
|
Removes an IManagedObject from the subscriber list
Implemented in ObjectManager. |
|
Saves the database to a file
Implemented in ObjectManager. |
|
Sets an attribute of the specified data node
Implemented in ObjectManager. |
|
Subscribes the observer to the data node
Implemented in ObjectManager. |