template class CCL::CommandDispatcher

Template class for command dispatcher.

#include <commanddispatch.h>

template <class T>
class CommandDispatcher
{
public:
    // methods

    bool dispatchCommand (const CommandMsg& msg);

    bool dispatchCommand (
        const CommandMsg& msg,
        CommandDispatchEntry <T> dispatchTable []
    );

    bool dispatchCommandWithAliases (const CommandMsg& msg);
};