iv::InputBindingQuery Class Reference
#include <InputBindingQuery.hpp>
Public Member Functions | |
| InputBindingQuery (Instance *inst) | |
| ~InputBindingQuery () | |
| Instance * | instance () const |
| bool | IsBound (InputId inputId, Input::DeviceKey device_key) |
| bool | IsHoverBound (InputId inputId, Input::DeviceKey device_key) |
| template<class Callable > | |
| void | ForeachBinding (InputId inputId, Callable callable) |
| template<class Callable > | |
| void | ForeachHoverBinding (InputId inputId, Callable callable) |
Public Attributes | |
| ClientMarker | cm |
Detailed Description
Definition at line 9 of file InputBindingQuery.hpp.
Constructor & Destructor Documentation
◆ InputBindingQuery()
| iv::InputBindingQuery::InputBindingQuery | ( | Instance * | inst | ) |
Definition at line 6 of file InputBindingQuery.cpp.
◆ ~InputBindingQuery()
| iv::InputBindingQuery::~InputBindingQuery | ( | ) |
Definition at line 13 of file InputBindingQuery.cpp.
Member Function Documentation
◆ instance()
| Instance * iv::InputBindingQuery::instance | ( | ) | const |
Definition at line 17 of file InputBindingQuery.cpp.
◆ IsBound()
| bool iv::InputBindingQuery::IsBound | ( | InputId | inputId, |
| Input::DeviceKey | device_key | ||
| ) |
Definition at line 22 of file InputBindingQuery.cpp.
◆ IsHoverBound()
| bool iv::InputBindingQuery::IsHoverBound | ( | InputId | inputId, |
| Input::DeviceKey | device_key | ||
| ) |
Definition at line 30 of file InputBindingQuery.cpp.
◆ ForeachBinding()
template<class Callable >
|
inline |
void Callable::operator()( Input::Key key, int device_id ); If something is bound to all devices, the device_id will be negative.
Definition at line 26 of file InputBindingQuery.hpp.
◆ ForeachHoverBinding()
template<class Callable >
|
inline |
void Callable::operator()( Input::Key key, int device_id = -1 );
Definition at line 37 of file InputBindingQuery.hpp.
Member Data Documentation
◆ cm
| ClientMarker iv::InputBindingQuery::cm |
Definition at line 12 of file InputBindingQuery.hpp.
The documentation for this class was generated from the following files:
- ivorium_systems/InputSystem/InputBindingSystem/InputBindingQuery.hpp
- ivorium_systems/InputSystem/InputBindingSystem/InputBindingQuery.cpp

