#include <CommandInfoObject.h>

Public Types | |
| typedef void(T::* | CommandFunction )(const std::string &argument) |
| The type of the function to bind on. | |
Public Member Functions | |
| CommandInfoObject (const char *name, CommandFunction command, bool needobject=false, bool needlock=false, bool fullname=false) | |
| Construct a CommandInfoObject, using CommandObject to bind the specified function to the specified name. | |
| bool | needObject () const |
| Whether this command requires an object. | |
| bool | needLock () const |
| Whether this command requires a lock. | |
The difference is that this template allows specifying additional information. As such, this template provides only functionality to retreive that information.
Definition at line 40 of file CommandInfoObject.h.
| typedef void(T::* CommandInfoObject< T >::CommandFunction)(const std::string &argument) |
The type of the function to bind on.
Reimplemented from CommandObject< T >.
Definition at line 43 of file CommandInfoObject.h.
| CommandInfoObject< T >::CommandInfoObject | ( | const char * | name, | |
| CommandFunction | command, | |||
| bool | needobject = false, |
|||
| bool | needlock = false, |
|||
| bool | fullname = false | |||
| ) | [inline] |
Construct a CommandInfoObject, using CommandObject to bind the specified function to the specified name.
Definition at line 60 of file CommandInfoObject.h.
| bool CommandInfoObject< T >::needObject | ( | ) | const [inline] |
| bool CommandInfoObject< T >::needLock | ( | ) | const [inline] |
1.5.3