UFO: Alien Invasion
GAMECmdListener Class Reference
Inheritance diagram for GAMECmdListener:
Inheritance graph
Collaboration diagram for GAMECmdListener:
Collaboration graph

Public Member Functions

 ~GAMECmdListener ()
 
void onAdd (const char *cmdName)
 
void onRemove (const char *cmdName)
 
void onGameModeChange ()
 
- Public Member Functions inherited from CmdListener
virtual ~CmdListener ()
 
virtual void onAdd (const char *cmdName)=0
 
virtual void onRemove (const char *cmdName)=0
 

Private Types

typedef std::set< const char * > GameCmds
 

Private Attributes

GameCmds _cmds
 

Detailed Description

Definition at line 105 of file cl_game.cpp.

Member Typedef Documentation

◆ GameCmds

typedef std::set<const char* > GAMECmdListener::GameCmds
private

Definition at line 108 of file cl_game.cpp.

Constructor & Destructor Documentation

◆ ~GAMECmdListener()

GAMECmdListener::~GAMECmdListener ( )
inline

Definition at line 111 of file cl_game.cpp.

References _cmds.

Member Function Documentation

◆ onAdd()

void GAMECmdListener::onAdd ( const char *  cmdName)
inlinevirtual

Implements CmdListener.

Definition at line 116 of file cl_game.cpp.

References _cmds, and GAME_GetCurrentType().

◆ onGameModeChange()

void GAMECmdListener::onGameModeChange ( )
inline

◆ onRemove()

void GAMECmdListener::onRemove ( const char *  cmdName)
inlinevirtual

Implements CmdListener.

Definition at line 124 of file cl_game.cpp.

References _cmds.

Field Documentation

◆ _cmds

GameCmds GAMECmdListener::_cmds
private

Definition at line 109 of file cl_game.cpp.

Referenced by onAdd(), onGameModeChange(), onRemove(), and ~GAMECmdListener().


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