#include "ActionsStack.hpp"
Public Member Functions | |
Action (unsigned long inId, ACCESSORIES_EVENT_TYPE inEvent, int inData = 0) | |
Public Attributes | |
unsigned long | Id |
ACCESSORIES_EVENT_TYPE | Event |
int | Data |
This class is an item of the ActionStack. An action is what can be done by the user to ask for a accessory movement. It can be a move, a stop... Other kind of actions can be added in ACCESSORIES_EVENT_TYPE if necessary.
Definition at line 11 of file ActionsStack.hpp.
Action::Action | ( | unsigned long | inId, |
ACCESSORIES_EVENT_TYPE | inEvent, | ||
int | inData = 0 |
||
) |
Default constructor
inId | Id of the accessory |
inEvent | Event type |
inData | Associated data for this event. Default is 0. |
Definition at line 9 of file ActionsStack.cpp.
int Action::Data |
Associated data.
Definition at line 19 of file ActionsStack.hpp.
ACCESSORIES_EVENT_TYPE Action::Event |
Event type.
Definition at line 17 of file ActionsStack.hpp.
unsigned long Action::Id |
Id of the accessory.
Definition at line 15 of file ActionsStack.hpp.