Filter that uniquely defines ONE axis of one control of one input belonging to one device.
More...
#include <input_data.hpp>
|
bool | operator== (const InputFilter &other) const |
| Compares two input filters for equality.
|
|
bool | operator< (const InputFilter &other) const |
| A less than operator, mainly used for sorting and the equality operator.
|
|
| operator bool () const |
| Provides explicit truthy-falsey mapping for this struct.
|
|
Filter that uniquely defines ONE axis of one control of one input belonging to one device.
◆ operator bool()
ToyMaker::InputFilter::operator bool |
( |
| ) |
const |
|
inline |
Provides explicit truthy-falsey mapping for this struct.
- Return values
-
true | If this object describes a valid input; |
false | If this object does not describe a valid input |
- See also
- InputSourceDescription::operator bool()
◆ operator<()
bool ToyMaker::InputFilter::operator< |
( |
const InputFilter & | other | ) |
const |
|
inline |
A less than operator, mainly used for sorting and the equality operator.
- Parameters
-
other | The filter this one is being compared to. |
- Return values
-
true | If this filter is "less than" |
false | If this filter is not "less than" |
◆ operator==()
bool ToyMaker::InputFilter::operator== |
( |
const InputFilter & | other | ) |
const |
|
inline |
Compares two input filters for equality.
Mainly used in special containers (like maps), and for sorting algorithms.
- Parameters
-
other | The input filter this one is being compared to. |
- Return values
-
true | If the filters are the same. |
false | If the filters are not the same. |
◆ mAxisFilter
AxisFilter ToyMaker::InputFilter::mAxisFilter { 0x0 } |
The axis of the control (and its value type) being filtered for.
- See also
- mControl
The documentation for this struct was generated from the following file: