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

#include <Class.h>

Inheritance diagram for idClass:
idEntity idForce idPhysics idThread idActivator idAnimatedEntity idBeam idBrittleFracture idCamera idCombatNode idCursor3D idDamagable idDebris idEarthQuake idEntityFx idExplodable idForceField idFuncAASObstacle idFuncAASPortal idFuncPortal idFuncRadioChatter idFuncSmoke idItem idItemRemover idLight idLiquid idLocationEntity idLocationSeparatorEntity idMoveable idMover idMover_Binary idMover_Periodic idMultiModelAF idPathCorner idPhantomObjects idPlayerStart idProjectile idSecurityCamera idShaking idSound idSpawnableEntity idSplinePath idSpring idStaticEntity idTarget idTarget_EndLevel idTextEntity idTrigger idVacuumEntity idVacuumSeparatorEntity idWorldspawn idForce_Constant idForce_Drag idForce_Field idForce_Spring idPhysics_Base idPhysics_Static idPhysics_StaticMulti

Public Member Functions

 ABSTRACT_PROTOTYPE (idClass)
 
voidoperator new (size_t)
 
voidoperator new (size_t s, int, int, char *, int)
 
void operator delete (void *)
 
void operator delete (void *, int, int, char *, int)
 
virtual ~idClass ()
 
void Spawn (void)
 
void CallSpawn (void)
 
bool IsType (const idTypeInfo &c) const
 
const char * GetClassname (void) const
 
const char * GetSuperclass (void) const
 
void FindUninitializedMemory (void)
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
bool RespondsTo (const idEventDef &ev) const
 
bool PostEventMS (const idEventDef *ev, int time)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool PostEventSec (const idEventDef *ev, float time)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool ProcessEvent (const idEventDef *ev)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool ProcessEventArgPtr (const idEventDef *ev, int *data)
 
void CancelEvents (const idEventDef *ev)
 
void Event_Remove (void)
 

Static Public Member Functions

static void Init (void)
 
static void Shutdown (void)
 
static idTypeInfoGetClass (const char *name)
 
static void DisplayInfo_f (const idCmdArgs &args)
 
static void ListClasses_f (const idCmdArgs &args)
 
static idClassCreateInstance (const char *name)
 
static int GetNumTypes (void)
 
static int GetTypeNumBits (void)
 
static idTypeInfoGetType (int num)
 

Private Member Functions

classSpawnFunc_t CallSpawnFunc (idTypeInfo *cls)
 
bool PostEventArgs (const idEventDef *ev, int time, int numargs,...)
 
bool ProcessEventArgs (const idEventDef *ev, int numargs,...)
 
void Event_SafeRemove (void)
 

Static Private Attributes

static bool initialized = false
 
static idList< idTypeInfo * > types
 
static idList< idTypeInfo * > typenums
 
static int typeNumBits = 0
 
static int memused = 0
 
static int numobjects = 0
 

Detailed Description

Definition at line 174 of file Class.h.

Constructor & Destructor Documentation

idClass::~idClass ( )
virtual

Definition at line 316 of file Class.cpp.

Member Function Documentation

idClass::ABSTRACT_PROTOTYPE ( idClass  )
void idClass::CallSpawn ( void  )

Definition at line 252 of file Class.cpp.

classSpawnFunc_t idClass::CallSpawnFunc ( idTypeInfo cls)
private

Definition at line 264 of file Class.cpp.

void idClass::CancelEvents ( const idEventDef ev)

Definition at line 619 of file Class.cpp.

idClass * idClass::CreateInstance ( const char *  name)
static

Definition at line 354 of file Class.cpp.

void idClass::DisplayInfo_f ( const idCmdArgs args)
static

Definition at line 325 of file Class.cpp.

void idClass::Event_Remove ( void  )

Definition at line 1056 of file Class.cpp.

void idClass::Event_SafeRemove ( void  )
private

Definition at line 1065 of file Class.cpp.

void idClass::FindUninitializedMemory ( void  )

Definition at line 286 of file Class.cpp.

idTypeInfo * idClass::GetClass ( const char *  name)
static

Definition at line 530 of file Class.cpp.

const char * idClass::GetClassname ( void  ) const

Definition at line 593 of file Class.cpp.

static int idClass::GetNumTypes ( void  )
inlinestatic

Definition at line 245 of file Class.h.

const char * idClass::GetSuperclass ( void  ) const

Definition at line 607 of file Class.cpp.

idTypeInfo * idClass::GetType ( int  num)
static

Definition at line 570 of file Class.cpp.

static int idClass::GetTypeNumBits ( void  )
inlinestatic

Definition at line 246 of file Class.h.

void idClass::Init ( void  )
static

Definition at line 377 of file Class.cpp.

ID_INLINE bool idClass::IsType ( const idTypeInfo c) const

Definition at line 337 of file Class.h.

void idClass::ListClasses_f ( const idCmdArgs args)
static

Definition at line 334 of file Class.cpp.

void idClass::operator delete ( void ptr)

Definition at line 500 of file Class.cpp.

void idClass::operator delete ( void ptr,
int  ,
int  ,
char *  ,
int   
)

Definition at line 511 of file Class.cpp.

void * idClass::operator new ( size_t  s)

Definition at line 447 of file Class.cpp.

void * idClass::operator new ( size_t  s,
int  ,
int  ,
char *  ,
int   
)

Definition at line 469 of file Class.cpp.

bool idClass::PostEventArgs ( const idEventDef ev,
int  time,
int  numargs,
  ... 
)
private

Definition at line 628 of file Class.cpp.

bool idClass::PostEventMS ( const idEventDef ev,
int  time 
)

Definition at line 666 of file Class.cpp.

bool idClass::PostEventMS ( const idEventDef ev,
int  time,
idEventArg  arg1 
)

Definition at line 675 of file Class.cpp.

bool idClass::PostEventMS ( const idEventDef ev,
int  time,
idEventArg  arg1,
idEventArg  arg2 
)

Definition at line 684 of file Class.cpp.

bool idClass::PostEventMS ( const idEventDef ev,
int  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3 
)

Definition at line 693 of file Class.cpp.

bool idClass::PostEventMS ( const idEventDef ev,
int  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4 
)

Definition at line 702 of file Class.cpp.

bool idClass::PostEventMS ( const idEventDef ev,
int  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5 
)

Definition at line 711 of file Class.cpp.

bool idClass::PostEventMS ( const idEventDef ev,
int  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5,
idEventArg  arg6 
)

Definition at line 720 of file Class.cpp.

bool idClass::PostEventMS ( const idEventDef ev,
int  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5,
idEventArg  arg6,
idEventArg  arg7 
)

Definition at line 729 of file Class.cpp.

bool idClass::PostEventMS ( const idEventDef ev,
int  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5,
idEventArg  arg6,
idEventArg  arg7,
idEventArg  arg8 
)

Definition at line 738 of file Class.cpp.

bool idClass::PostEventSec ( const idEventDef ev,
float  time 
)

Definition at line 747 of file Class.cpp.

bool idClass::PostEventSec ( const idEventDef ev,
float  time,
idEventArg  arg1 
)

Definition at line 756 of file Class.cpp.

bool idClass::PostEventSec ( const idEventDef ev,
float  time,
idEventArg  arg1,
idEventArg  arg2 
)

Definition at line 765 of file Class.cpp.

bool idClass::PostEventSec ( const idEventDef ev,
float  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3 
)

Definition at line 774 of file Class.cpp.

bool idClass::PostEventSec ( const idEventDef ev,
float  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4 
)

Definition at line 783 of file Class.cpp.

bool idClass::PostEventSec ( const idEventDef ev,
float  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5 
)

Definition at line 792 of file Class.cpp.

bool idClass::PostEventSec ( const idEventDef ev,
float  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5,
idEventArg  arg6 
)

Definition at line 801 of file Class.cpp.

bool idClass::PostEventSec ( const idEventDef ev,
float  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5,
idEventArg  arg6,
idEventArg  arg7 
)

Definition at line 810 of file Class.cpp.

bool idClass::PostEventSec ( const idEventDef ev,
float  time,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5,
idEventArg  arg6,
idEventArg  arg7,
idEventArg  arg8 
)

Definition at line 819 of file Class.cpp.

bool idClass::ProcessEvent ( const idEventDef ev)

Definition at line 858 of file Class.cpp.

bool idClass::ProcessEvent ( const idEventDef ev,
idEventArg  arg1 
)

Definition at line 867 of file Class.cpp.

bool idClass::ProcessEvent ( const idEventDef ev,
idEventArg  arg1,
idEventArg  arg2 
)

Definition at line 876 of file Class.cpp.

bool idClass::ProcessEvent ( const idEventDef ev,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3 
)

Definition at line 885 of file Class.cpp.

bool idClass::ProcessEvent ( const idEventDef ev,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4 
)

Definition at line 894 of file Class.cpp.

bool idClass::ProcessEvent ( const idEventDef ev,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5 
)

Definition at line 903 of file Class.cpp.

bool idClass::ProcessEvent ( const idEventDef ev,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5,
idEventArg  arg6 
)

Definition at line 912 of file Class.cpp.

bool idClass::ProcessEvent ( const idEventDef ev,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5,
idEventArg  arg6,
idEventArg  arg7 
)

Definition at line 921 of file Class.cpp.

bool idClass::ProcessEvent ( const idEventDef ev,
idEventArg  arg1,
idEventArg  arg2,
idEventArg  arg3,
idEventArg  arg4,
idEventArg  arg5,
idEventArg  arg6,
idEventArg  arg7,
idEventArg  arg8 
)

Definition at line 930 of file Class.cpp.

bool idClass::ProcessEventArgPtr ( const idEventDef ev,
int data 
)

Definition at line 939 of file Class.cpp.

bool idClass::ProcessEventArgs ( const idEventDef ev,
int  numargs,
  ... 
)
private

Definition at line 828 of file Class.cpp.

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

Definition at line 349 of file Class.h.

void idClass::Restore ( idRestoreGame savefile)
inline

Definition at line 199 of file Class.h.

void idClass::Save ( idSaveGame savefile) const
inline

Definition at line 198 of file Class.h.

void idClass::Shutdown ( void  )
static

Definition at line 426 of file Class.cpp.

void idClass::Spawn ( void  )

Definition at line 306 of file Class.cpp.

Member Data Documentation

bool idClass::initialized = false
staticprivate

Definition at line 257 of file Class.h.

int idClass::memused = 0
staticprivate

Definition at line 261 of file Class.h.

int idClass::numobjects = 0
staticprivate

Definition at line 262 of file Class.h.

int idClass::typeNumBits = 0
staticprivate

Definition at line 260 of file Class.h.

idList< idTypeInfo * > idClass::typenums
staticprivate

Definition at line 259 of file Class.h.

END_CLASS idList< idTypeInfo * > idClass::types
staticprivate

Definition at line 258 of file Class.h.


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