|
JeVois
1.23
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/Component/ValidValuesSpec.H>
Range-based valid values spec, bounds are included.
Definition at line 113 of file ValidValuesSpec.H.


Public Member Functions | |
| ValidValuesSpecRange ()=delete | |
| No default constructor, always need to provide a range. | |
| ValidValuesSpecRange (Range< T > const &valid_range) | |
| Construct from a Range of valid values (convention: bounds are inclusive) | |
| virtual | ~ValidValuesSpecRange () |
| Destructor. | |
| virtual bool | checkValueValidity (T const &val) const |
| Check whether a proposed value is valid, returns true iff value is in our range (bounds included) | |
| virtual std::string const | str () const |
| Convert to a readable string: Range:[MIN-MAX] where MIN and MAX are replaced by the actual range bounds. | |
Public Member Functions inherited from jevois::ValidValuesSpecBase< T > | |
| ValidValuesSpecBase () | |
| Construct, for the base class this is a no-op. | |
| virtual | ~ValidValuesSpecBase () |
| Destructor. | |
Protected Attributes | |
| Range< T > const | itsValidRange |
| Our range of valid values. | |
|
delete |
No default constructor, always need to provide a range.
|
explicit |
Construct from a Range 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: Range:[MIN-MAX] where MIN and MAX are replaced by the actual range bounds.
Implements jevois::ValidValuesSpecBase< T >.
|
protected |
Our range of valid values.
Definition at line 132 of file ValidValuesSpec.H.