JeVois
1.19
JeVois Smart Embedded Machine Vision Toolkit
|
Share this page: |
|
|
|
 |
 |
|
Go to the documentation of this file.
27 template <
class T>
class ParameterCore;
36 ParameterCategory(std::string
const & name_ =
"General Options", std::string
const & description_ =
"");
58 std::string
const &
name()
const;
96 template <
template <
typename>
class ValidValuesSpec>
144 std::shared_ptr<ValidValuesSpecBase<T> > itsValidValuesSpec;
145 void checkDefaultValue();
151 #include <jevois/Component/details/ParameterDefImpl.H>
ParameterCategory itsCategory
Our category.
virtual const std::string defaultValueString() const =0
Default value in string representation.
std::string description
An optional short description of the category.
virtual const std::string validValuesString() const
Valid values in string representation.
const std::string & description() const
Description of what the parameter does.
virtual const std::string validValuesString() const =0
Valid values in string representation.
A category to which multiple ParameterDef definitions can belong.
const std::string & name() const
The parameter name (without the leading "--")
A generic range class with a step.
ParameterDefBase(std::string const &name, std::string const &description, ParameterCategory const &category=ParameterCategory())
Construct a ParameterDefBase.
const T defaultValue() const
Get the default value that was specified for this Parameter definition.
virtual ~ParameterDefBase()
Destructor.
ParameterDef(std::string const &name, std::string const &description, T const &defaultValue, ParameterCategory const &category)
Construct a ParameterDef with no given valid values, valid values are whatever T can take.
A changeable parameter for a Component, core class.
virtual const std::string defaultValueString() const
Default value in string representation.
ParameterCategory(std::string const &name_="General Options", std::string const &description_="")
Constructor.
std::string name
The name of the category.
std::string itsName
Our name.
std::string itsDescription
Our description string.
const ParameterCategory & category() const
The Parameter category.
Base class for a Parameter definition.