| ECC1C 145-944-00

Public Member Functions | Public Attributes | List of all members
Registry

## Public Member Functions
void | registerCommand (const uint8 commandName, BaseParser *binder)
BaseParser * | getCommand (const uint8 commandName)

## Public Attributes
BaseParser * | commands [256]

## Detailed Description

Here's the registry for all valid commands

## Member Function Documentation

## ◆ getCommand()

BaseParser * getCommand | ( | const uint8 | commandName | ) |
| inline

Get the command for the given name

References Registry::commands.

Referenced by CommandParser::parseCommand().

## ◆ registerCommand()

void registerCommand | ( | const uint8 | commandName,
|  | BaseParser * | binder
| ) |  |
| inline

Register a new command handler

References Registry::commands.

## Member Data Documentation

## ◆ commands

BaseParser* commands[256]

All the possible commands

Referenced by Registry::getCommand(), and Registry::registerCommand().