#include <SOMEObject.h>
Inheritance diagram for SOME::Object:
Public Methods | |
Object (const SOME::ClassCatalog& cat) | |
Create a Object which will hold an object of the class represented by the SOME::ClassCatalog when construct is called. More... | |
virtual BaseClass* | get () const |
Returns the pointer Object contains. More... | |
void | destroy () const |
Delete the memory held by Object. More... |
There is no automatic deletion of the object, you must call the destroy method to release that memory. It is instanciated with your plugin's base class and the ClassInfo for the plugin. The construct members are used to call the constructor for the plugin class. Object (through its base class) overloads all operators necessary for it to work exactly as a pointer to the BaseClass.
Definition at line 159 of file SOMEObject.h.
|
Create a Object which will hold an object of the class represented by the SOME::ClassCatalog when construct is called.
Definition at line 167 of file SOMEObject.h. |
|
Delete the memory held by Object.
Definition at line 181 of file SOMEObject.h. |
|
Returns the pointer Object contains.
Reimplemented from SOME::ObjectBase. Definition at line 173 of file SOMEObject.h. |