The factory class used to create and destroy graph objects.
Use the Graph::IFactoryRegistry base interface for managing registered node classes.
|
virtual Bool | Init ()=0 |
| Initialize the factory. More...
|
|
virtual Bool | DeInit ()=0 |
| Deinitialize the factory. More...
|
|
virtual Bool | SetRoot (IRoot *root)=0 |
| Set the graph root object. More...
|
|
virtual const IRoot * | GetRoot () const =0 |
| Get the graph root object. More...
|
|
virtual IMultiTouchable * | CreateMultiTouchable (ITouchableTarget *touchableTarget)=0 |
| Create the multi-touchable object. More...
|
|
virtual Bool | DestroyMultiTouchable (IMultiTouchable *&multiTouchable)=0 |
| Destroy the multi-touchable object. More...
|
|
virtual INode * | CreateNode (const INode::ClassInfo &classInfo) const =0 |
| Create a single node by its class info. More...
|
|
virtual INode * | CreateNode (const String &className) const =0 |
| Create a single node by its class name. More...
|
|
virtual INode * | CreateNode (const String &className, const IAttributes *attributes, const IAttributes *parameters) const =0 |
| Create a single node by its class name, with given attributes and optional parameters. More...
|
|
virtual INode * | CreateNode (const String &className, const String &baseResourcePath, const IAttributes *attributes, const IAttributes *parameters) const =0 |
| Create a single node by its class name, with given base resource path, attributes and optional parameters. More...
|
|
virtual INode * | CreateGraph (const Resource::IGraph *graphResource, const IAttributes *params) const =0 |
| Create a node graph from a given graph resource. More...
|
|
virtual INode * | CreateGraph (const Resource::IGraphNode *graphResourceNode, const IAttributes *params) const =0 |
| Create a node graph from a given graph resource node. More...
|
|
virtual Bool | DestroyGraph (INode *&rootNode) const =0 |
| Recursively destroy a node graph, starting at the given root node. More...
|
|
virtual Bool | DeserializeNodeAttributes (INode *node, const IAttributes *attributes, const IAttributes *parameters)=0 |
| Deserialize a given node from a set of attributes and optional parameters. More...
|
|
virtual Bool | DeserializeNodeAttributes (INode *node, const String &baseResourcePath, const IAttributes *attributes, const IAttributes *parameters)=0 |
| Deserialize a given node from a set of attributes and optional parameters, with a given base resource path. More...
|
|
virtual IController * | CreateController (const IController::ClassInfo &classInfo, INode *owner) const =0 |
| Create a node controller by its class info. More...
|
|
virtual IController * | CreateController (const String &className, INode *owner) const =0 |
| Create a node controller by its class name. More...
|
|
virtual IController * | CreateController (const String &className, INode *owner, const IAttributes *attributes, const IAttributes *parameters) const =0 |
| Create a node controller by its class name, with given attributes and optional parameters. More...
|
|
virtual IController * | CreateController (const String &className, INode *owner, const String &baseResourcePath, const IAttributes *attributes, const IAttributes *parameters) const =0 |
| Create a node controller by its class name, with given base resource path, attributes and optional parameters. More...
|
|
virtual Bool | DestroyController (IController *&controller) const =0 |
| Destroy a given node controller. More...
|
|
virtual Bool | DeserializeControllerAttributes (IController *controller, const IAttributes *attributes, const IAttributes *parameters)=0 |
| Deserialize a given controller from a set of attributes and optional parameters. More...
|
|
virtual Bool | DeserializeControllerAttributes (IController *controller, const String &baseResourcePath, const IAttributes *attributes, const IAttributes *parameters)=0 |
| Deserialize a given controller from a set of attributes and optional parameters. More...
|
|
virtual Bool | RegisterNodeClass (const INode::ClassInfo &classInfo)=0 |
| Register a node class. More...
|
|
virtual Bool | UnregisterNodeClass (const INode::ClassInfo &classInfo)=0 |
| Unregister a node class. More...
|
|
virtual SInt32 | GetRegisteredNodeClassInfoIndex (const INode::ClassInfo &classInfo) const =0 |
| Get the index of a registered node class, by its class info structure. More...
|
|
virtual SInt32 | GetRegisteredNodeClassInfoIndex (const String &className) const =0 |
| Get the index of a registered node class, by its class name. More...
|
|
virtual UInt32 | GetNumberOfRegisteredNodeClassInfos () const =0 |
| Get the total number of registered node classes. More...
|
|
virtual const INode::ClassInfo * | GetRegisteredNodeClassInfo (UInt32 index) const =0 |
| Get the class info structure of a registered node class at a given index. More...
|
|
virtual Bool | RegisterControllerClass (const IController::ClassInfo &classInfo)=0 |
| Register a controller class. More...
|
|
virtual Bool | UnregisterControllerClass (const IController::ClassInfo &classInfo)=0 |
| Unregister a controller class. More...
|
|
virtual SInt32 | GetRegisteredControllerClassInfoIndex (const IController::ClassInfo &classInfo) const =0 |
| Get the index of a registered controller class, by its class info structure. More...
|
|
virtual SInt32 | GetRegisteredControllerClassInfoIndex (const String &className) const =0 |
| Get the index of a registered controller class, by its class name. More...
|
|
virtual UInt32 | GetNumberOfRegisteredControllerClassInfos () const =0 |
| Get the total number of registered controller classes. More...
|
|
virtual const IController::ClassInfo * | GetRegisteredControllerClassInfo (UInt32 index) const =0 |
| Get the class info structure of a registered controller class at a given index. More...
|
|