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 | Static Public Attributes | Private Attributes | Static Private Attributes | List of all members
idEvent Class Reference

#include <Event.h>

Public Member Functions

 ~idEvent ()
 
void Free (void)
 
void Schedule (idClass *object, const idTypeInfo *cls, int time)
 
byteGetData (void)
 

Static Public Member Functions

static idEventAlloc (const idEventDef *evdef, int numargs, va_list args)
 
static void CopyArgs (const idEventDef *evdef, int numargs, va_list args, int data[D_EVENT_MAXARGS])
 
static void CancelEvents (const idClass *obj, const idEventDef *evdef=NULL)
 
static void ClearEventList (void)
 
static void ServiceEvents (void)
 
static void Init (void)
 
static void Shutdown (void)
 
static void Save (idSaveGame *savefile)
 
static void Restore (idRestoreGame *savefile)
 
static void SaveTrace (idSaveGame *savefile, const trace_t &trace)
 
static void RestoreTrace (idRestoreGame *savefile, trace_t &trace)
 

Static Public Attributes

static bool initialized = false
 

Private Attributes

const idEventDefeventdef
 
bytedata
 
int time
 
idClassobject
 
const idTypeInfotypeinfo
 
idLinkList< idEventeventNode
 

Static Private Attributes

static idDynamicBlockAlloc
< byte, 16 *1024, 256 > 
eventDataAllocator
 

Detailed Description

Definition at line 88 of file Event.h.

Constructor & Destructor Documentation

idEvent::~idEvent ( )

Definition at line 232 of file Event.cpp.

Member Function Documentation

idEvent * idEvent::Alloc ( const idEventDef evdef,
int  numargs,
va_list  args 
)
static

Definition at line 241 of file Event.cpp.

void idEvent::CancelEvents ( const idClass obj,
const idEventDef evdef = NULL 
)
static

Definition at line 437 of file Event.cpp.

void idEvent::ClearEventList ( void  )
static

Definition at line 471 of file Event.cpp.

void idEvent::CopyArgs ( const idEventDef evdef,
int  numargs,
va_list  args,
int  data[D_EVENT_MAXARGS] 
)
static

Definition at line 337 of file Event.cpp.

void idEvent::Free ( void  )

Definition at line 365 of file Event.cpp.

ID_INLINE byte * idEvent::GetData ( void  )

Definition at line 135 of file Event.h.

void idEvent::Init ( void  )
static

Definition at line 693 of file Event.cpp.

void idEvent::Restore ( idRestoreGame savefile)
static

Definition at line 829 of file Event.cpp.

void idEvent::RestoreTrace ( idRestoreGame savefile,
trace_t trace 
)
static

Definition at line 970 of file Event.cpp.

void idEvent::Save ( idSaveGame savefile)
static

Definition at line 748 of file Event.cpp.

void idEvent::SaveTrace ( idSaveGame savefile,
const trace_t trace 
)
static

Definition at line 994 of file Event.cpp.

void idEvent::Schedule ( idClass object,
const idTypeInfo cls,
int  time 
)

Definition at line 385 of file Event.cpp.

void idEvent::ServiceEvents ( void  )
static

Definition at line 493 of file Event.cpp.

void idEvent::Shutdown ( void  )
static

Definition at line 727 of file Event.cpp.

Member Data Documentation

byte* idEvent::data
private

Definition at line 91 of file Event.h.

idDynamicBlockAlloc< byte, 16 *1024, 256 > idEvent::eventDataAllocator
staticprivate

Definition at line 98 of file Event.h.

const idEventDef* idEvent::eventdef
private

Definition at line 90 of file Event.h.

idLinkList<idEvent> idEvent::eventNode
private

Definition at line 96 of file Event.h.

bool idEvent::initialized = false
static

Definition at line 102 of file Event.h.

idClass* idEvent::object
private

Definition at line 93 of file Event.h.

int idEvent::time
private

Definition at line 92 of file Event.h.

const idTypeInfo* idEvent::typeinfo
private

Definition at line 94 of file Event.h.


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