Public Member Functions | |
void | add (const char *cmd, bool allow_from_external_browser, LLCommandHandler *handler) |
bool | dispatch (const std::string &cmd, bool from_external_browser, const LLSD ¶ms, const LLSD &queryMap) |
Static Public Member Functions | |
static LLCommandHandlerRegistry & | instance () |
Private Attributes | |
std::map< std::string, LLCommandHandlerInfo > | mMap |
Definition at line 49 of file llcommandhandler.cpp.
LLCommandHandlerRegistry & LLCommandHandlerRegistry::instance | ( | ) | [static] |
Definition at line 61 of file llcommandhandler.cpp.
Referenced by LLCommandDispatcher::dispatch(), and LLCommandHandler::LLCommandHandler().
void LLCommandHandlerRegistry::add | ( | const char * | cmd, | |
bool | allow_from_external_browser, | |||
LLCommandHandler * | handler | |||
) |
Definition at line 70 of file llcommandhandler.cpp.
References LLCommandHandlerInfo::mAllowFromExternalBrowser, LLCommandHandlerInfo::mHandler, and mMap.
Referenced by LLCommandHandler::LLCommandHandler().
bool LLCommandHandlerRegistry::dispatch | ( | const std::string & | cmd, | |
bool | from_external_browser, | |||
const LLSD & | params, | |||
const LLSD & | queryMap | |||
) |
Definition at line 79 of file llcommandhandler.cpp.
References LLCommandHandler::handle(), LLCommandHandlerInfo::mAllowFromExternalBrowser, LLCommandHandlerInfo::mHandler, and mMap.
Referenced by LLCommandDispatcher::dispatch().
std::map<std::string, LLCommandHandlerInfo> LLCommandHandlerRegistry::mMap [private] |