#include <commandbase.h>
Generic command interface.
Public Member Functions | |
MAXON_METHOD Result< COMMANDSTATE > | GetState (CommandDataRef &data) const |
MAXON_METHOD Result< COMMANDRESULT > | Execute (CommandDataRef &data) const |
Private Member Functions | |
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. |