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

#include <Event.h>

Public Member Functions

 idEventDef (const char *command, const char *formatspec=NULL, char returnType=0)
 
const char * GetName (void) const
 
const char * GetArgFormat (void) const
 
unsigned int GetFormatspecIndex (void) const
 
char GetReturnType (void) const
 
int GetEventNum (void) const
 
int GetNumArgs (void) const
 
size_t GetArgSize (void) const
 
int GetArgOffset (int arg) const
 

Static Public Member Functions

static int NumEventCommands (void)
 
static const idEventDefGetEventCommand (int eventnum)
 
static const idEventDefFindEvent (const char *name)
 

Private Attributes

const char * name
 
const char * formatspec
 
unsigned int formatspecIndex
 
int returnType
 
int numargs
 
size_t argsize
 
int argOffset [D_EVENT_MAXARGS]
 
int eventnum
 
const idEventDefnext
 

Static Private Attributes

static idEventDefeventDefList [MAX_EVENTS]
 
static int numEventDefs = 0
 

Detailed Description

Definition at line 53 of file Event.h.

Constructor & Destructor Documentation

idEventDef::idEventDef ( const char *  command,
const char *  formatspec = NULL,
char  returnType = 0 
)

Definition at line 60 of file Event.cpp.

Member Function Documentation

const idEventDef * idEventDef::FindEvent ( const char *  name)
static

Definition at line 192 of file Event.cpp.

ID_INLINE const char * idEventDef::GetArgFormat ( void  ) const

Definition at line 153 of file Event.h.

ID_INLINE int idEventDef::GetArgOffset ( int  arg) const

Definition at line 198 of file Event.h.

ID_INLINE size_t idEventDef::GetArgSize ( void  ) const

Definition at line 189 of file Event.h.

const idEventDef * idEventDef::GetEventCommand ( int  eventnum)
static

Definition at line 183 of file Event.cpp.

ID_INLINE int idEventDef::GetEventNum ( void  ) const

Definition at line 208 of file Event.h.

ID_INLINE unsigned int idEventDef::GetFormatspecIndex ( void  ) const

Definition at line 162 of file Event.h.

ID_INLINE const char * idEventDef::GetName ( void  ) const

Definition at line 144 of file Event.h.

ID_INLINE int idEventDef::GetNumArgs ( void  ) const

Definition at line 180 of file Event.h.

ID_INLINE char idEventDef::GetReturnType ( void  ) const

Definition at line 171 of file Event.h.

int idEventDef::NumEventCommands ( void  )
static

Definition at line 174 of file Event.cpp.

Member Data Documentation

int idEventDef::argOffset[D_EVENT_MAXARGS]
private

Definition at line 61 of file Event.h.

size_t idEventDef::argsize
private

Definition at line 60 of file Event.h.

idEventDef * idEventDef::eventDefList
staticprivate

Definition at line 65 of file Event.h.

int idEventDef::eventnum
private

Definition at line 62 of file Event.h.

const char* idEventDef::formatspec
private

Definition at line 56 of file Event.h.

unsigned int idEventDef::formatspecIndex
private

Definition at line 57 of file Event.h.

const char* idEventDef::name
private

Definition at line 55 of file Event.h.

const idEventDef* idEventDef::next
private

Definition at line 63 of file Event.h.

int idEventDef::numargs
private

Definition at line 59 of file Event.h.

int idEventDef::numEventDefs = 0
staticprivate

Definition at line 66 of file Event.h.

int idEventDef::returnType
private

Definition at line 58 of file Event.h.


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