#include <ConsoleRuleMethodIAdapter.h>

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