#include <DLTools.H>
Public Member Functions | |
| ObjectFactory () | |
| virtual ObjectType * | Create () |
| virtual void | Destroy (ObjectType *objptr) |
| virtual void | SetCreate (ObjectType *(*increate)()) |
| virtual void | SetDestroy (void(*indestroy)(ObjectType *)) |
| virtual | ~ObjectFactory () |
Public Attributes | |
| virtual ObjectType *(*)() | CreatePtr () |
| virtual void(*)(ObjectType *) | DestroyPtr () |
Protected Attributes | |
| ObjectType *(* | _create )() |
| void(* | _destroy )(ObjectType *) |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Definition at line 26 of file DLTools.H.
References ObjectFactory< ObjectType >::_create.
Referenced by DynamicObjectLib< ObjectType >::CreateObject().
|
inlinevirtual |
Definition at line 29 of file DLTools.H.
Referenced by DynamicObjectLib< ObjectType >::DestroyObject().
|
inlinevirtual |
Definition at line 30 of file DLTools.H.
References ObjectFactory< ObjectType >::_create.
Referenced by DynamicObjectLib< ObjectType >::CreateObject(), and DynamicObjectLib< ObjectType >::Unload().
|
inlinevirtual |
Definition at line 31 of file DLTools.H.
References ObjectFactory< ObjectType >::_destroy.
Referenced by DynamicObjectLib< ObjectType >::DestroyObject(), and DynamicObjectLib< ObjectType >::Unload().
|
protected |
Definition at line 21 of file DLTools.H.
Referenced by ObjectFactory< ObjectType >::Create(), and ObjectFactory< ObjectType >::SetCreate().
|
protected |
Definition at line 22 of file DLTools.H.
Referenced by ObjectFactory< ObjectType >::SetDestroy().
|
inline |
Definition at line 27 of file DLTools.H.
Referenced by DynamicObjectLib< ObjectType >::CreateObject().
|
inline |
Definition at line 28 of file DLTools.H.
Referenced by DynamicObjectLib< ObjectType >::DestroyObject().