IKernelObjectFactory Class Referenceabstract
Kernel object factory, creates all kernel objects. More...
Inheritance diagram for IKernelObjectFactory:
Public Member Functions | |
virtual OpenViBE::IObject * | createObject (const OpenViBE::CIdentifier &rClassIdentifier)=0 |
Creates a new kernel object givent its class identifier. More... | |
virtual OpenViBE::boolean | releaseObject (OpenViBE::IObject *pObject)=0 |
Releases an object created by this factory. More... | |
Public Member Functions inherited from IObject | |
virtual OpenViBE::CIdentifier | getClassIdentifier (void) const =0 |
Returns the final class identifier of the concrete class. More... | |
virtual OpenViBE::boolean | isDerivedFromClass (const OpenViBE::CIdentifier &rClassIdentifier) const |
Checks if this object is compatible with a class identifier. More... | |
virtual OpenViBE::boolean | acceptVisitor (OpenViBE::IObjectVisitor &rObjectVisitor) |
Requests this object to accept a visitor. More... | |
Detailed Description
Kernel object factory, creates all kernel objects.
- Date
- 2006-09-26
This class allows to create kernel objects as needed.
- Todo:
- should it be removed ?
Member Function Documentation
|
pure virtual |
Creates a new kernel object givent its class identifier.
- Parameters
-
rClassIdentifier [in] : the class identifier of the object to create
- Returns
- a pointer on the created object in case of success.
-
NULL
in case of error.
|
pure virtual |
Releases an object created by this factory.
- Parameters
-
pObject [in] : the object to release
- Returns
- true in case of success.
- false in case of error.
- Note
- The factory should have created the object in order to release it.
Generated on Tue Jun 26 2012 15:25:54 for Documentation by 1.7.4