CSAD
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
csad::ClassManager Class Referenceabstract

ClassManager - the Manager interface classes. More...

Public Member Functions

virtual void addConst (const char *name, int c)=0
 Assigns the name of the constant value.
 
virtual const char * className (void *type)=0
 Returns the name of the specified type.
 
virtual BaseObjectcreateObject (char *className, ParametersList *list)=0
 Creates object of the specified class and passes the parameter list.
 
_FORCEINLINE BaseObjectcreateObject (const char *className, ParametersList *list)
 Creates object of the specified class and passes the parameter list.
 
virtual int getConst (char *name)=0
 Returns a constant value of its name.
 
_FORCEINLINE int getConst (const char *name)
 Returns a constant value of its name.
 
virtual ObjectInfo * regClass (char *classNam, void *type, tfSTDCALL_p_FUNC_p creator)=0
 

Detailed Description

ClassManager - the Manager interface classes.

See Also
csad: core

Member Function Documentation

virtual ObjectInfo* csad::ClassManager::regClass ( char *  classNam,
void *  type,
tfSTDCALL_p_FUNC_p  creator 
)
pure virtual

register class

Parameters
classNam- the class name
type- type of class
creator- the method contains the algorithm object creation