Member function command handlers. More...
#include <GtpEngine.h>

Public Types | |
| typedef void(ENGINE::* | Method )(GtpCommand &) |
| Signature of the member function. | |
Public Member Functions | |
| GtpCallback (ENGINE *instance, typename GtpCallback< ENGINE >::Method method) | |
| ~GtpCallback () throw () | |
| void | operator() (GtpCommand &) |
| Execute the member function. | |
Private Attributes | |
| ENGINE * | m_instance |
| Method | m_method |
Member function command handlers.
For registering member functions in GtpEngine::Register().
Definition at line 504 of file GtpEngine.h.
| typedef void(ENGINE::* Method)(GtpCommand &) |
Signature of the member function.
Definition at line 509 of file GtpEngine.h.
| GtpCallback | ( | ENGINE * | instance, | |
| typename GtpCallback< ENGINE >::Method | method | |||
| ) |
Definition at line 526 of file GtpEngine.h.
| ~GtpCallback | ( | ) | throw () |
Definition at line 534 of file GtpEngine.h.
References GtpCallback< ENGINE >::m_instance.
| void operator() | ( | GtpCommand & | cmd | ) | [virtual] |
Execute the member function.
Implements GtpCallbackBase.
Definition at line 542 of file GtpEngine.h.
References GtpCallback< ENGINE >::m_instance, and GtpCallback< ENGINE >::m_method.
ENGINE* m_instance [private] |
Definition at line 520 of file GtpEngine.h.
Referenced by GtpCallback< ENGINE >::operator()(), and GtpCallback< ENGINE >::~GtpCallback().
Definition at line 522 of file GtpEngine.h.
Referenced by GtpCallback< ENGINE >::operator()().