JeVois
1.20
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/Component/ValidValuesSpec.H>
StepRange-based valid values spec, bounds are included.
Definition at line 138 of file ValidValuesSpec.H.
Public Member Functions | |
ValidValuesSpecStepRange ()=delete | |
No default constructor, always need to provide a range. More... | |
ValidValuesSpecStepRange (StepRange< T > const &valid_range) | |
Construct from a StepRange of valid values (convention: bounds are inclusive) More... | |
virtual | ~ValidValuesSpecStepRange () |
Destructor. More... | |
virtual bool | checkValueValidity (T const &val) const |
Check whether a proposed value is valid, returns true iff value is in our range (bounds included) More... | |
virtual const std::string | str () const |
Convert to a readable string: StepRange:[MIN-STEP-MAX] where MIN, STEP and MAX are replaced by actual values. More... | |
Public Member Functions inherited from jevois::ValidValuesSpecBase< T > | |
ValidValuesSpecBase () | |
Construct, for the base class this is a no-op. More... | |
virtual | ~ValidValuesSpecBase () |
Destructor. More... | |
Protected Attributes | |
const StepRange< T > | itsValidStepRange |
Our step-range of valid values. More... | |
|
delete |
No default constructor, always need to provide a range.
|
explicit |
Construct from a StepRange of valid values (convention: bounds are inclusive)
|
virtual |
Destructor.
|
virtual |
Check whether a proposed value is valid, returns true iff value is in our range (bounds included)
Implements jevois::ValidValuesSpecBase< T >.
|
virtual |
Convert to a readable string: StepRange:[MIN-STEP-MAX] where MIN, STEP and MAX are replaced by actual values.
Implements jevois::ValidValuesSpecBase< T >.
|
protected |
Our step-range of valid values.
Definition at line 157 of file ValidValuesSpec.H.