LLCommandHandlerRegistry Class Reference

Collaboration diagram for LLCommandHandlerRegistry:

Collaboration graph
List of all members.

Public Member Functions

void add (const char *cmd, LLCommandHandler *handler)
bool dispatch (const std::string &cmd, const std::vector< std::string > &params)

Static Public Member Functions

static LLCommandHandlerRegistryinstance ()

Private Attributes

std::map< std::string, LLCommandHandler * > mMap

Detailed Description

Definition at line 44 of file llcommandhandler.cpp.

Member Function Documentation

void LLCommandHandlerRegistry::add ( const char *  cmd,
LLCommandHandler handler 

Definition at line 65 of file llcommandhandler.cpp.

References mMap.

Referenced by LLCommandHandler::LLCommandHandler().

bool LLCommandHandlerRegistry::dispatch ( const std::string &  cmd,
const std::vector< std::string > &  params 

Definition at line 70 of file llcommandhandler.cpp.

References LLCommandHandler::handle(), and mMap.

Referenced by LLCommandDispatcher::dispatch().

LLCommandHandlerRegistry & LLCommandHandlerRegistry::instance (  )  [static]

Definition at line 56 of file llcommandhandler.cpp.

Referenced by LLCommandDispatcher::dispatch(), and LLCommandHandler::LLCommandHandler().

Member Data Documentation

std::map<std::string, LLCommandHandler*> LLCommandHandlerRegistry::mMap [private]

Definition at line 52 of file llcommandhandler.cpp.

Referenced by add(), and dispatch().

The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:13 2010 for Second Life Viewer by  doxygen 1.4.7