doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
idTypeInfo Class Reference

#include <Class.h>

Public Member Functions

 idTypeInfo (const char *classname, const char *superclass, idEventFunc< idClass > *eventCallbacks, idClass *(*CreateInstance)(void), void(idClass::*Spawn)(void), void(idClass::*Save)(idSaveGame *savefile) const, void(idClass::*Restore)(idRestoreGame *savefile))
 
 ~idTypeInfo ()
 
void Init (void)
 
void Shutdown (void)
 
bool IsType (const idTypeInfo &superclass) const
 
bool RespondsTo (const idEventDef &ev) const
 

Public Attributes

const char * classname
 
const char * superclass
 
idClass *(* CreateInstance )(void)
 
void(idClass::* Spawn )(void)
 
void(idClass::* Save )(idSaveGame *savefile) const
 
void(idClass::* Restore )(idRestoreGame *savefile)
 
idEventFunc< idClass > * eventCallbacks
 
eventCallback_teventMap
 
idTypeInfosuper
 
idTypeInfonext
 
bool freeEventMap
 
int typeNum
 
int lastChild
 
idHierarchy< idTypeInfonode
 

Detailed Description

Definition at line 271 of file Class.h.

Constructor & Destructor Documentation

idTypeInfo::idTypeInfo ( const char *  classname,
const char *  superclass,
idEventFunc< idClass > *  eventCallbacks,
idClass *(*)(void CreateInstance,
void(idClass::*)(void Spawn,
void(idClass::*)(idSaveGame *savefile) const  Save,
void(idClass::*)(idRestoreGame *savefile)  Restore 
)

Definition at line 65 of file Class.cpp.

idTypeInfo::~idTypeInfo ( )

Definition at line 112 of file Class.cpp.

Member Function Documentation

void idTypeInfo::Init ( void  )

Definition at line 124 of file Class.cpp.

ID_INLINE bool idTypeInfo::IsType ( const idTypeInfo superclass) const

Definition at line 310 of file Class.h.

ID_INLINE bool idTypeInfo::RespondsTo ( const idEventDef ev) const

Definition at line 319 of file Class.h.

void idTypeInfo::Shutdown ( void  )

Definition at line 210 of file Class.cpp.

Member Data Documentation

const char* idTypeInfo::classname

Definition at line 273 of file Class.h.

idClass*( * idTypeInfo::CreateInstance)(void)

Definition at line 275 of file Class.h.

idEventFunc<idClass>* idTypeInfo::eventCallbacks

Definition at line 280 of file Class.h.

eventCallback_t* idTypeInfo::eventMap

Definition at line 281 of file Class.h.

bool idTypeInfo::freeEventMap

Definition at line 284 of file Class.h.

int idTypeInfo::lastChild

Definition at line 286 of file Class.h.

idTypeInfo* idTypeInfo::next

Definition at line 283 of file Class.h.

idHierarchy<idTypeInfo> idTypeInfo::node

Definition at line 288 of file Class.h.

void( idClass::* idTypeInfo::Restore)(idRestoreGame *savefile)

Definition at line 278 of file Class.h.

void( idClass::* idTypeInfo::Save)(idSaveGame *savefile) const

Definition at line 277 of file Class.h.

void( idClass::* idTypeInfo::Spawn)(void)

Definition at line 276 of file Class.h.

idTypeInfo* idTypeInfo::super

Definition at line 282 of file Class.h.

const char* idTypeInfo::superclass

Definition at line 274 of file Class.h.

int idTypeInfo::typeNum

Definition at line 285 of file Class.h.


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