15 #ifndef VISIONTRANSFER_STANDARDPARAMETERS_H 16 #define VISIONTRANSFER_STANDARDPARAMETERS_H 18 #if VISIONTRANSFER_CPLUSPLUS_VERSION >= 201103L 26 #include "visiontransfer/common.h" 46 #ifndef DOXYGEN_SHOULD_SKIP_THIS 48 static ParameterInfo fromInt(
const std::string& name,
bool writeable,
49 int value,
int min = -1,
int max = -1,
int inc = -1);
50 static ParameterInfo fromDouble(
const std::string& name,
bool writeable,
51 double value,
double min = -1,
double max = -1,
double inc = -1);
52 static ParameterInfo fromBool(
const std::string& name,
bool writeable,
bool value);
58 std::string getName()
const;
62 ParameterType getType()
const;
66 bool isWriteable()
const;
70 template<
typename T> T getValue()
const;
74 template<
typename T> T getMin()
const;
78 template<
typename T> T getMax()
const;
82 template<
typename T> T getInc()
const;