oos::object_base_producer Class Referenceabstract
Base class for object producer classes. More...
#include <object_store.hpp>
Inherited by oos::object_producer< T >.
Public Member Functions | |
virtual object * | create () const =0 |
Create a new object. More... | |
virtual const char * | classname () const =0 |
Detailed Description
Base class for object producer classes.
When using the object_store to create object an instance of a class of this type is used to create the object. The interface provides a create and a classname method.
Member Function Documentation
|
pure virtual |
Returns the unique classname of the object prototype.
- Returns
- The classname of the object.
Implemented in oos::object_producer< T >.
|
pure virtual |
Create a new object.
This method creates a new object and returns it.
- Returns
- The created object.
Implemented in oos::object_producer< T >.
The documentation for this class was generated from the following file:
- object/object_store.hpp