template struct CCL::CommandDispatchEntry

Command dispatch table entry.

#include <commanddispatch.h>

template <class T>
struct CommandDispatchEntry
{
    // typedefs

    typedef bool (T::* CommandDispatchMethod)(CmdArgs);

    // fields

    CStringPtr category;
    CStringPtr name;
    CommandDispatchMethod method;
    int flags;
    CStringPtr arguments;

    // methods

    bool call (T* obj, CmdArgs args);
};