Collage  1.0.1
Object-Oriented C++ Network Library
Public Member Functions | List of all members
co::ObjectFactory Class Reference

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

#include <objectFactory.h>

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: