ConsoleRuleMethodIAdapterEx2< T > Class Template Reference

#include <ConsoleRuleMethodIAdapter.h>

Inheritance diagram for ConsoleRuleMethodIAdapterEx2< T >:

ConsoleRule

List of all members.

Public Member Functions

 ConsoleRuleMethodIAdapterEx2 (T *inst, void(T::*call)(std::vector< ConsoleRuleValue > &, unsigned int), const char *name, const std::vector< ConsoleRuleParam > &params, unsigned int userData)
virtual ~ConsoleRuleMethodIAdapterEx2 ()
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 > &, unsigned int)


Detailed Description

template<class T>
class ConsoleRuleMethodIAdapterEx2< T >

Definition at line 105 of file ConsoleRuleMethodIAdapter.h.


Constructor & Destructor Documentation

template<class T>
ConsoleRuleMethodIAdapterEx2< T >::ConsoleRuleMethodIAdapterEx2 ( T *  inst,
void(T::*)(std::vector< ConsoleRuleValue > &, unsigned int)  call,
const char *  name,
const std::vector< ConsoleRuleParam > &  params,
unsigned int  userData 
) [inline]

Definition at line 108 of file ConsoleRuleMethodIAdapter.h.

References Console::addRule(), and Console::instance().

template<class T>
virtual ConsoleRuleMethodIAdapterEx2< T >::~ConsoleRuleMethodIAdapterEx2 (  )  [inline, virtual]

Definition at line 116 of file ConsoleRuleMethodIAdapter.h.

References Console::instance(), and Console::removeRule().


Member Function Documentation

template<class T>
virtual void ConsoleRuleMethodIAdapterEx2< T >::runRule ( Console console,
const char *  wholeLine,
std::vector< ConsoleRuleValue > &  values 
) [inline, virtual]

Implements ConsoleRule.

Definition at line 121 of file ConsoleRuleMethodIAdapter.h.

References ConsoleRuleMethodIAdapterEx2< T >::call_, ConsoleRuleMethodIAdapterEx2< T >::inst_, and ConsoleRule::userData_.


Member Data Documentation

template<class T>
std::string ConsoleRuleMethodIAdapterEx2< T >::name_ [protected]

Reimplemented from ConsoleRule.

Definition at line 127 of file ConsoleRuleMethodIAdapter.h.

template<class T>
T* ConsoleRuleMethodIAdapterEx2< T >::inst_ [protected]

Definition at line 131 of file ConsoleRuleMethodIAdapter.h.

Referenced by ConsoleRuleMethodIAdapterEx2< T >::runRule().

template<class T>
void(T::* ConsoleRuleMethodIAdapterEx2< T >::call_)(std::vector< ConsoleRuleValue > &, unsigned int) [protected]

Referenced by ConsoleRuleMethodIAdapterEx2< T >::runRule().


The documentation for this class was generated from the following file:
Generated on Mon Feb 16 15:15:01 2009 for Scorched3D by  doxygen 1.5.3