StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
StiFactory< Concrete, Abstract > Class Template Reference
Inheritance diagram for StiFactory< Concrete, Abstract >:
Factory< Abstract > BFactory Named

Public Member Functions

void free (Abstract *obj)
 Free an object for reuse.
 
void free (void *obj)
 Free an object for reuse.
 
void clear ()
 Clear/delete all objects owned by this factory.
 
void reset ()
 Reset this factory.
 
Abstract * getInstance ()
 Get a pointer to instance of objects served by this factory.
 
- Public Member Functions inherited from Factory< Abstract >
 Factory (const string &name)
 
- Public Member Functions inherited from BFactory
void setFastDelete ()
 
void setMaxIncrementCount (int maxCount)
 
int getMaxIncrementCount () const
 
int getCurrentSize () const
 
int getCurrentCount () const
 
- Public Member Functions inherited from Named
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 Public Member Functions

static StiFactorymyInstance ()
 
- Static Public Member Functions inherited from BFactory
static void Free (void *obj)
 Free an object for reuse.
 

Additional Inherited Members

- Protected Member Functions inherited from BFactory
 BFactory (const string &name)
 
- Protected Member Functions inherited from Named
 Named (const string &aName=" ")
 Only derived class are Named.
 
- Protected Attributes inherited from BFactory
int fMaxCount
 
int fCurCount
 
int fUseCount
 
int fFastDel
 
int fInstCount
 
int fFreeCount
 
- Protected Attributes inherited from Named
string _name
 
- Static Protected Attributes inherited from BFactory
static double fgTotal =0
 

Detailed Description

template<class Concrete, class Abstract>
class StiFactory< Concrete, Abstract >

Definition at line 49 of file StiFactory.h.


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