|
My Project
|
default factory for creating object Class T should add following macro to its header in order to use this factory class ATTRIBUTE_SUPPORT_CREATE_FACTORY(CWeatherEffect); or T should have Create() method manually defined. More...
#include <ObjectFactory.h>
Public Types | |
| typedef T | classType |
Public Types inherited from ParaEngine::IObject | |
| typedef ParaEngine::weak_ptr< IObject > | WeakPtr_type |
Public Member Functions | |
| virtual IAttributeFields * | Create () |
| see class reference if classType::Create is not defined. More... | |
Public Member Functions inherited from ParaEngine::IObject | |
| virtual void | Clone (IObject *obj) const |
| Clone the object's contains to a pointer. More... | |
| virtual IObject * | Clone () const |
| Clone the object's contains and return a pointer to the newly created object. More... | |
| virtual bool | Equals (const IObject *obj) const |
| Compare the object with another object. More... | |
| virtual const IType * | GetType () const |
| virtual std::string | ToString () const |
| WeakPtr_type & | GetWeakReference () |
| get weak reference object. More... | |
| virtual int | ProcessObjectEvent (const ObjectEvent &event) |
| this function is only used to backward compatibility of ParaObject:AddEvent() function. More... | |
Public Member Functions inherited from ParaEngine::CRefCounted | |
| void | addref () const |
| add reference count of the object. More... | |
| bool | delref () const |
| decrease reference count of the object. More... | |
| int | GetRefCount () const |
| get the reference count | |
| virtual int | Release () |
| CRefCounted * | AddToAutoReleasePool () |
| addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More... | |
Additional Inherited Members | |
Protected Attributes inherited from ParaEngine::IObject | |
| WeakPtr_type | m_weak_reference |
Protected Attributes inherited from ParaEngine::CRefCounted | |
| int | m_refcount |
default factory for creating object Class T should add following macro to its header in order to use this factory class ATTRIBUTE_SUPPORT_CREATE_FACTORY(CWeatherEffect); or T should have Create() method manually defined.
|
inlinevirtual |
see class reference if classType::Create is not defined.
Implements ParaEngine::CObjectFactory.
1.8.12