CommandHandler Class Reference
#include <commandhandler.h>
List of all members.
Detailed Description
A class to parse and handle user commands.
Definition at line 37 of file commandhandler.h.
|
Public Member Functions |
| CommandHandler () |
| Constructor.
|
| ~CommandHandler () |
| Destructor.
|
void | handleCommand (const std::string &command, ChatTab *tab=localChatTab) |
| Parse and handle the given command.
|
Static Public Member Functions |
static char | parseBoolean (const std::string &value) |
Private Member Functions |
void | handleAnnounce (const std::string &args, ChatTab *tab) |
| Handle an announce command.
|
void | handleHelp (const std::string &args, ChatTab *tab) |
| Handle a help command.
|
void | handleWhere (const std::string &args, ChatTab *tab) |
| Handle a where command.
|
void | handleWho (const std::string &args, ChatTab *tab) |
| Handle a who command.
|
void | handleMsg (const std::string &args, ChatTab *tab) |
| Handle a msg command.
|
void | handleQuery (const std::string &args, ChatTab *tab) |
| Handle a msg tab request.
|
void | handleJoin (const std::string &args, ChatTab *tab) |
| Handle a join command.
|
void | handleListChannels (const std::string &args, ChatTab *tab) |
| Handle a listchannels command.
|
void | handleClear (const std::string &args, ChatTab *tab) |
| Handle a clear command.
|
void | handleParty (const std::string &args, ChatTab *tab) |
| Handle a party command.
|
void | handleMe (const std::string &args, ChatTab *tab) |
| Handle a me command.
|
void | handleRecord (const std::string &args, ChatTab *tab) |
| Handle a record command.
|
void | handleToggle (const std::string &args, ChatTab *tab) |
| Handle a toggle command.
|
void | handlePresent (const std::string &args, ChatTab *tab) |
| Handle a present command.
|
Constructor & Destructor Documentation
CommandHandler::CommandHandler |
( |
|
) |
|
CommandHandler::~CommandHandler |
( |
|
) |
[inline] |
Member Function Documentation
void CommandHandler::handleCommand |
( |
const std::string & |
command, |
|
|
ChatTab * |
tab = localChatTab | |
|
) |
| | |
char CommandHandler::parseBoolean |
( |
const std::string & |
value |
) |
[static] |
void CommandHandler::handleAnnounce |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleHelp |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleWhere |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleWho |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleMsg |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleQuery |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleJoin |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleListChannels |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleClear |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleParty |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleMe |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleRecord |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handleToggle |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
void CommandHandler::handlePresent |
( |
const std::string & |
args, |
|
|
ChatTab * |
tab | |
|
) |
| | [private] |
The documentation for this class was generated from the following files: