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

Public Member Functions

virtual void Init (void)
 
virtual void Shutdown (void)
 
virtual void AddCommand (const char *cmdName, cmdFunction_t function, int flags, const char *description, argCompletion_t argCompletion=NULL)
 
virtual void RemoveCommand (const char *cmdName)
 
virtual void RemoveFlaggedCommands (int flags)
 
virtual void CommandCompletion (void(*callback)(const char *s))
 
virtual void ArgCompletion (const char *cmdString, void(*callback)(const char *s))
 
virtual void BufferCommandText (cmdExecution_t exec, const char *text)
 
virtual void ExecuteCommandBuffer (void)
 
virtual void ArgCompletion_FolderExtension (const idCmdArgs &args, void(*callback)(const char *s), const char *folder, bool stripFolder,...)
 
virtual void ArgCompletion_DeclName (const idCmdArgs &args, void(*callback)(const char *s), int type)
 
virtual void BufferCommandArgs (cmdExecution_t exec, const idCmdArgs &args)
 
virtual void SetupReloadEngine (const idCmdArgs &args)
 
virtual bool PostReloadEngine (void)
 
void SetWait (int numFrames)
 
commandDef_tGetCommands (void) const
 
- Public Member Functions inherited from idCmdSystem
virtual ~idCmdSystem (void)
 
template<int min, int max>
ID_STATIC_TEMPLATE ID_INLINE void ArgCompletion_Integer (const idCmdArgs &args, void(*callback)(const char *s))
 
template<const char ** strings>
ID_STATIC_TEMPLATE ID_INLINE void ArgCompletion_String (const idCmdArgs &args, void(*callback)(const char *s))
 
template<int type>
ID_STATIC_TEMPLATE ID_INLINE void ArgCompletion_Decl (const idCmdArgs &args, void(*callback)(const char *s))
 

Private Member Functions

void ExecuteTokenizedString (const idCmdArgs &args)
 
void ExecuteCommandText (const char *text)
 
void InsertCommandText (const char *text)
 
void AppendCommandText (const char *text)
 

Static Private Member Functions

static void ListByFlags (const idCmdArgs &args, cmdFlags_t flags)
 
static void List_f (const idCmdArgs &args)
 
static void SystemList_f (const idCmdArgs &args)
 
static void RendererList_f (const idCmdArgs &args)
 
static void SoundList_f (const idCmdArgs &args)
 
static void GameList_f (const idCmdArgs &args)
 
static void ToolList_f (const idCmdArgs &args)
 
static void Exec_f (const idCmdArgs &args)
 
static void Vstr_f (const idCmdArgs &args)
 
static void Echo_f (const idCmdArgs &args)
 
static void Parse_f (const idCmdArgs &args)
 
static void Wait_f (const idCmdArgs &args)
 
static void PrintMemInfo_f (const idCmdArgs &args)
 

Private Attributes

commandDef_tcommands
 
int wait
 
int textLength
 
byte textBuf [MAX_CMD_BUFFER]
 
idStr completionString
 
idStrList completionParms
 
idList< idCmdArgstokenizedCmds
 
idCmdArgs postReload
 

Static Private Attributes

static const int MAX_CMD_BUFFER = 0x10000
 

Additional Inherited Members

- Static Public Member Functions inherited from idCmdSystem
static void ArgCompletion_Boolean (const idCmdArgs &args, void(*callback)(const char *s))
 
template<int min, int max>
static void ArgCompletion_Integer (const idCmdArgs &args, void(*callback)(const char *s))
 
template<const char ** strings>
static void ArgCompletion_String (const idCmdArgs &args, void(*callback)(const char *s))
 
template<int type>
static void ArgCompletion_Decl (const idCmdArgs &args, void(*callback)(const char *s))
 
static void ArgCompletion_FileName (const idCmdArgs &args, void(*callback)(const char *s))
 
static void ArgCompletion_MapName (const idCmdArgs &args, void(*callback)(const char *s))
 
static void ArgCompletion_ModelName (const idCmdArgs &args, void(*callback)(const char *s))
 
static void ArgCompletion_SoundName (const idCmdArgs &args, void(*callback)(const char *s))
 
static void ArgCompletion_ImageName (const idCmdArgs &args, void(*callback)(const char *s))
 
static void ArgCompletion_VideoName (const idCmdArgs &args, void(*callback)(const char *s))
 
static void ArgCompletion_ConfigName (const idCmdArgs &args, void(*callback)(const char *s))
 
static void ArgCompletion_SaveGame (const idCmdArgs &args, void(*callback)(const char *s))
 
static void ArgCompletion_DemoName (const idCmdArgs &args, void(*callback)(const char *s))
 

Detailed Description

Definition at line 50 of file CmdSystem.cpp.

Member Function Documentation

void idCmdSystemLocal::AddCommand ( const char *  cmdName,
cmdFunction_t  function,
int  flags,
const char *  description,
argCompletion_t  argCompletion = NULL 
)
virtual

Implements idCmdSystem.

Definition at line 364 of file CmdSystem.cpp.

void idCmdSystemLocal::AppendCommandText ( const char *  text)
private

Definition at line 557 of file CmdSystem.cpp.

void idCmdSystemLocal::ArgCompletion ( const char *  cmdString,
void(*)(const char *s callback 
)
virtual

Implements idCmdSystem.

Definition at line 445 of file CmdSystem.cpp.

void idCmdSystemLocal::ArgCompletion_DeclName ( const idCmdArgs args,
void(*)(const char *s callback,
int  type 
)
virtual

Implements idCmdSystem.

Definition at line 749 of file CmdSystem.cpp.

void idCmdSystemLocal::ArgCompletion_FolderExtension ( const idCmdArgs args,
void(*)(const char *s callback,
const char *  folder,
bool  stripFolder,
  ... 
)
virtual

Implements idCmdSystem.

Definition at line 683 of file CmdSystem.cpp.

void idCmdSystemLocal::BufferCommandArgs ( cmdExecution_t  exec,
const idCmdArgs args 
)
virtual

Implements idCmdSystem.

Definition at line 600 of file CmdSystem.cpp.

void idCmdSystemLocal::BufferCommandText ( cmdExecution_t  exec,
const char *  text 
)
virtual

Implements idCmdSystem.

Definition at line 575 of file CmdSystem.cpp.

void idCmdSystemLocal::CommandCompletion ( void(*)(const char *s callback)
virtual

Implements idCmdSystem.

Definition at line 432 of file CmdSystem.cpp.

void idCmdSystemLocal::Echo_f ( const idCmdArgs args)
staticprivate

Definition at line 275 of file CmdSystem.cpp.

void idCmdSystemLocal::Exec_f ( const idCmdArgs args)
staticprivate

Definition at line 224 of file CmdSystem.cpp.

void idCmdSystemLocal::ExecuteCommandBuffer ( void  )
virtual

Implements idCmdSystem.

Definition at line 622 of file CmdSystem.cpp.

void idCmdSystemLocal::ExecuteCommandText ( const char *  text)
private

Definition at line 514 of file CmdSystem.cpp.

void idCmdSystemLocal::ExecuteTokenizedString ( const idCmdArgs args)
private

Definition at line 467 of file CmdSystem.cpp.

void idCmdSystemLocal::GameList_f ( const idCmdArgs args)
staticprivate

Definition at line 206 of file CmdSystem.cpp.

commandDef_t* idCmdSystemLocal::GetCommands ( void  ) const
inline

Definition at line 74 of file CmdSystem.cpp.

void idCmdSystemLocal::Init ( void  )
virtual

Implements idCmdSystem.

Definition at line 319 of file CmdSystem.cpp.

void idCmdSystemLocal::InsertCommandText ( const char *  text)
private

Definition at line 526 of file CmdSystem.cpp.

void idCmdSystemLocal::List_f ( const idCmdArgs args)
staticprivate

Definition at line 170 of file CmdSystem.cpp.

void idCmdSystemLocal::ListByFlags ( const idCmdArgs args,
cmdFlags_t  flags 
)
staticprivate

Definition at line 130 of file CmdSystem.cpp.

void idCmdSystemLocal::Parse_f ( const idCmdArgs args)
staticprivate

Definition at line 306 of file CmdSystem.cpp.

bool idCmdSystemLocal::PostReloadEngine ( void  )
virtual

Implements idCmdSystem.

Definition at line 776 of file CmdSystem.cpp.

static void idCmdSystemLocal::PrintMemInfo_f ( const idCmdArgs args)
staticprivate
void idCmdSystemLocal::RemoveCommand ( const char *  cmdName)
virtual

Implements idCmdSystem.

Definition at line 392 of file CmdSystem.cpp.

void idCmdSystemLocal::RemoveFlaggedCommands ( int  flags)
virtual

Implements idCmdSystem.

Definition at line 412 of file CmdSystem.cpp.

void idCmdSystemLocal::RendererList_f ( const idCmdArgs args)
staticprivate

Definition at line 188 of file CmdSystem.cpp.

void idCmdSystemLocal::SetupReloadEngine ( const idCmdArgs args)
virtual

Implements idCmdSystem.

Definition at line 766 of file CmdSystem.cpp.

void idCmdSystemLocal::SetWait ( int  numFrames)
inline

Definition at line 73 of file CmdSystem.cpp.

void idCmdSystemLocal::Shutdown ( void  )
virtual

Implements idCmdSystem.

Definition at line 343 of file CmdSystem.cpp.

void idCmdSystemLocal::SoundList_f ( const idCmdArgs args)
staticprivate

Definition at line 197 of file CmdSystem.cpp.

void idCmdSystemLocal::SystemList_f ( const idCmdArgs args)
staticprivate

Definition at line 179 of file CmdSystem.cpp.

void idCmdSystemLocal::ToolList_f ( const idCmdArgs args)
staticprivate

Definition at line 215 of file CmdSystem.cpp.

void idCmdSystemLocal::Vstr_f ( const idCmdArgs args)
staticprivate

Definition at line 255 of file CmdSystem.cpp.

void idCmdSystemLocal::Wait_f ( const idCmdArgs args)
staticprivate

Definition at line 291 of file CmdSystem.cpp.

Member Data Documentation

commandDef_t* idCmdSystemLocal::commands
private

Definition at line 79 of file CmdSystem.cpp.

idStrList idCmdSystemLocal::completionParms
private

Definition at line 86 of file CmdSystem.cpp.

idStr idCmdSystemLocal::completionString
private

Definition at line 85 of file CmdSystem.cpp.

const int idCmdSystemLocal::MAX_CMD_BUFFER = 0x10000
staticprivate

Definition at line 77 of file CmdSystem.cpp.

idCmdArgs idCmdSystemLocal::postReload
private

Definition at line 92 of file CmdSystem.cpp.

byte idCmdSystemLocal::textBuf[MAX_CMD_BUFFER]
private

Definition at line 83 of file CmdSystem.cpp.

int idCmdSystemLocal::textLength
private

Definition at line 82 of file CmdSystem.cpp.

idList<idCmdArgs> idCmdSystemLocal::tokenizedCmds
private

Definition at line 89 of file CmdSystem.cpp.

int idCmdSystemLocal::wait
private

Definition at line 81 of file CmdSystem.cpp.


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