![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <GUIConsoleCommandParser.h>
Public Member Functions | |
GUIConsoleCommandParser (PlatformContext &context) | |
bool | processCommand (const string &commandString) override |
If we need a parser , just override this. | |
![]() | |
CommandParser () noexcept=default | |
virtual | ~CommandParser ()=default |
virtual bool | processCommand (const string &commandString)=0 |
If we need a parser , just override this. | |
![]() | |
PlatformContextComponent (PlatformContext &context) noexcept | |
virtual | ~PlatformContextComponent ()=default |
PlatformContext & | context () noexcept |
const PlatformContext & | context () const noexcept |
![]() | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable (NonCopyable &&)=default | |
NonCopyable & | operator= (NonCopyable &&)=default |
Private Types | |
using | CommandMap = hashMap< U64, DELEGATE_STD< void, string > > |
Private Member Functions | |
void | handleSayCommand (const string &args) |
void | handleQuitCommand (const string &args) |
void | handleHelpCommand (const string &args) |
void | handleEditParamCommand (const string &args) |
void | handlePlaySoundCommand (const string &args) |
void | handleNavMeshCommand (const string &args) |
void | handleShaderRecompileCommand (const string &args) |
void | handleFOVCommand (const string &args) |
void | handleInvalidCommand (const string &args) |
Private Attributes | |
hashMap< U64, const char * > | _commandHelp |
Help text for every command. | |
Handle< AudioDescriptor > | _sound {INVALID_HANDLE<AudioDescriptor>} |
used for sound playback | |
Additional Inherited Members | |
![]() | |
NonCopyable ()=default | |
~NonCopyable ()=default | |
![]() | |
hashMap< U64, DELEGATE< void, string > > | _commands |
![]() | |
PlatformContext & | _context |
Definition at line 46 of file GUIConsoleCommandParser.h.
|
private |
Definition at line 53 of file GUIConsoleCommandParser.h.
Divide::GUIConsoleCommandParser::GUIConsoleCommandParser | ( | PlatformContext & | context | ) |
Definition at line 24 of file GUIConsoleCommandParser.cpp.
|
private |
Definition at line 111 of file GUIConsoleCommandParser.cpp.
|
private |
Definition at line 194 of file GUIConsoleCommandParser.cpp.
|
private |
Definition at line 93 of file GUIConsoleCommandParser.cpp.
|
private |
Definition at line 205 of file GUIConsoleCommandParser.cpp.
|
private |
Definition at line 154 of file GUIConsoleCommandParser.cpp.
|
private |
Definition at line 120 of file GUIConsoleCommandParser.cpp.
|
private |
Definition at line 84 of file GUIConsoleCommandParser.cpp.
|
private |
Definition at line 80 of file GUIConsoleCommandParser.cpp.
|
private |
Definition at line 190 of file GUIConsoleCommandParser.cpp.
|
overridevirtual |
If we need a parser , just override this.
Implements Divide::CommandParser.
Definition at line 49 of file GUIConsoleCommandParser.cpp.
Help text for every command.
Definition at line 67 of file GUIConsoleCommandParser.h.
|
private |
used for sound playback
Definition at line 69 of file GUIConsoleCommandParser.h.