#include <ConsoleRuleMethodIAdapter.h>

Public Member Functions | |
| ConsoleRuleMethodIAdapterEx (T *inst, void(T::*call)(std::vector< ConsoleRuleValue > &), const char *name, const std::vector< ConsoleRuleParam > ¶ms) | |
| virtual | ~ConsoleRuleMethodIAdapterEx () |
| virtual void | runRule (Console *console, const char *wholeLine, std::vector< ConsoleRuleValue > &values) |
Protected Attributes | |
| std::string | name_ |
| T * | inst_ |
| void(T::* | call_ )(std::vector< ConsoleRuleValue > &) |
Definition at line 74 of file ConsoleRuleMethodIAdapter.h.
| ConsoleRuleMethodIAdapterEx< T >::ConsoleRuleMethodIAdapterEx | ( | T * | inst, | |
| void(T::*)(std::vector< ConsoleRuleValue > &) | call, | |||
| const char * | name, | |||
| const std::vector< ConsoleRuleParam > & | params | |||
| ) | [inline] |
Definition at line 77 of file ConsoleRuleMethodIAdapter.h.
References Console::addRule(), and Console::instance().
| virtual ConsoleRuleMethodIAdapterEx< T >::~ConsoleRuleMethodIAdapterEx | ( | ) | [inline, virtual] |
Definition at line 84 of file ConsoleRuleMethodIAdapter.h.
References Console::instance(), and Console::removeRule().
| virtual void ConsoleRuleMethodIAdapterEx< T >::runRule | ( | Console * | console, | |
| const char * | wholeLine, | |||
| std::vector< ConsoleRuleValue > & | values | |||
| ) | [inline, virtual] |
Implements ConsoleRule.
Definition at line 89 of file ConsoleRuleMethodIAdapter.h.
References ConsoleRuleMethodIAdapterEx< T >::call_, and ConsoleRuleMethodIAdapterEx< T >::inst_.
std::string ConsoleRuleMethodIAdapterEx< T >::name_ [protected] |
T* ConsoleRuleMethodIAdapterEx< T >::inst_ [protected] |
Definition at line 99 of file ConsoleRuleMethodIAdapter.h.
Referenced by ConsoleRuleMethodIAdapterEx< T >::runRule().
void(T::* ConsoleRuleMethodIAdapterEx< T >::call_)(std::vector< ConsoleRuleValue > &) [protected] |
Referenced by ConsoleRuleMethodIAdapterEx< T >::runRule().
1.5.3