|
| Factory (const string &name) |
|
virtual void | free (Abstract *obj)=0 |
| Free an object for reuse.
|
|
virtual void | free (void *obj)=0 |
| Free an object for reuse.
|
|
virtual Abstract * | getInstance ()=0 |
| Get a pointer to instance of objects served by this factory.
|
|
virtual void | clear ()=0 |
| Clear/delete all objects owned by this factory.
|
|
virtual void | reset ()=0 |
| Reset this factory.
|
|
void | setFastDelete () |
|
void | setMaxIncrementCount (int maxCount) |
|
int | getMaxIncrementCount () const |
|
int | getCurrentSize () const |
|
int | getCurrentCount () const |
|
void | setName (const string &newName) |
| Set the name of the object.
|
|
const string & | getName () const |
| Get the name of the object.
|
|
bool | isName (const string &aName) const |
| Determine whether name equals given name.
|
|
|
static void | Free (void *obj) |
| Free an object for reuse.
|
|
| BFactory (const string &name) |
|
| Named (const string &aName=" ") |
| Only derived class are Named.
|
|
int | fMaxCount |
|
int | fCurCount |
|
int | fUseCount |
|
int | fFastDel |
|
int | fInstCount |
|
int | fFreeCount |
|
string | _name |
|
static double | fgTotal =0 |
|
template<class Abstract>
class Factory< Abstract >
Definition at line 54 of file Factory.h.
The documentation for this class was generated from the following file: