GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::events::InputManager::OutputPressed Struct Reference

Output was pressed. More...

#include <GREM/events/InputManager.hpp>

Inheritance diagram for grem::events::InputManager::OutputPressed:

Additional Inherited Members

Public Member Functions inherited from grem::events::InputManager::OutputEventBase
GREM_ALWAYS_INLINE TimePoint getTimestamp () const noexcept
 Get the timestamp of the event.
GREM_ALWAYS_INLINE OutputIndex getOutputIndex () const noexcept
 Get the affected output number.
template<enumeration Action>
requires (!same_as<Action, Input> && !same_as<Action, OutputIndex>)
GREM_ALWAYS_INLINE bool isAction (Action action) const noexcept
 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.
GREM_ALWAYS_INLINE ControlState getState () const noexcept
 Get the raw total absolute value of the output after the event took place.
GREM_ALWAYS_INLINE ControlDelta getDelta () const noexcept
 Get the raw total relative value that was applied to the output by the event.

Detailed Description

Output was pressed.


The documentation for this struct was generated from the following file: