Collage  1.4.0
High-performance C++ library for developing object-oriented distributed applications.
co::ObjectFactory Class Reference

The interface to create objects, used by ObjectMap. More...

#include <objectFactory.h>

+ Collaboration diagram for co::ObjectFactory:

Public Member Functions

virtual co::ObjectcreateObject (const uint32_t)
 
virtual void destroyObject (co::Object *object, const uint32_t)
 Delete the given object of the given type. More...
 

Detailed Description

The interface to create objects, used by ObjectMap.

Definition at line 35 of file objectFactory.h.

Member Function Documentation

virtual co::Object* co::ObjectFactory::createObject ( const uint32_t  )
inlinevirtual
Returns
a new object instance of the given type.
Version
1.0
See also
ObjectType, Config::getObject(), Renderer::getObject()

Definition at line 49 of file objectFactory.h.

virtual void co::ObjectFactory::destroyObject ( co::Object object,
const uint32_t   
)
inlinevirtual

Delete the given object of the given type.

Version
1.0

Definition at line 53 of file objectFactory.h.


The documentation for this class was generated from the following file: