Output event base.
More...
#include <GREM/events/InputManager.hpp>
◆ getTimestamp()
Get the timestamp of the event.
- Returns
- the time when the event occured.
◆ getOutputIndex()
Get the affected output number.
- Returns
- the output number that the event affected.
- See also
- isAction()
◆ isAction()
template<enumeration Action>
requires (!same_as<Action,
Input> && !same_as<Action,
OutputIndex>)
| GREM_ALWAYS_INLINE bool grem::events::InputManager::OutputEventBase::isAction |
( |
Action | action | ) |
const |
|
inlinenodiscardnoexcept |
Check if the affected output is a certain "action" of any enum type, which is interpreted as corresponding to the output number equal to its underlying value.
- Parameters
-
- See also
- getOutputIndex()
◆ getState()
Get the raw total absolute value of the output after the event took place.
- Returns
- the absolute state of the output after the event.
◆ getDelta()
Get the raw total relative value that was applied to the output by the event.
- Returns
- the relative state of the output applied by the event.
The documentation for this class was generated from the following file: