18 #ifndef EQFABRIC_RANGE_H 19 #define EQFABRIC_RANGE_H 24 #include <lunchbox/bitOperation.h> 44 Range(
const float start_,
const float end_)
81 bool hasData()
const {
return (
end -
start) > 0.f; }
83 void apply(
const Range& rhs)
87 start += rhs.
start * w;
105 os <<
"range [ " << range.
start <<
" " << range.
end <<
" ]";
111 #endif // EQFABRIC_RANGE_H Range(const float start_, const float end_)
Construct a new range with default values.
void merge(const Range &rhs)
Merge the two ranges (form the union).
bool operator==(const Range &rhs) const
Defines export visibility macros for library EqualizerFabric.
static EQFABRIC_API const Range ALL
A full database range.
float start
The start position.
bool operator!=(const Range &rhs) const
The Equalizer client library.
std::ostream & operator<<(std::ostream &os, const AxisEvent &event)
Print the axis event to the given output stream.
float end
The end position.
Range()
Construct a new range covering all data.
A fractional database range with methods for manipulation.