#include <commandbase.h>
Generic command interface.
公共成员函数 |
|
| MAXON_METHOD Result < COMMANDSTATE > | GetState (CommandDataRef &data) const |
| MAXON_METHOD Result < COMMANDRESULT > | Execute (CommandDataRef &data) const |
私有成员函数 |
|
| MAXON_INTERFACE ( CommandClassInterface , MAXON_REFERENCE_CONST , "net.maxon.command.interface.command") | |
|
private |
| MAXON_METHOD Result < COMMANDSTATE > GetState | ( | CommandDataRef & | data | ) | const |
Gets the command state, i.e. if it can be executed or not depending on a given data.
| [in,out] | data | The command data. |
| MAXON_METHOD Result < COMMANDRESULT > Execute | ( | CommandDataRef & | data | ) | const |
Executes the command.
| [in,out] | data | The command data. |