15 #ifndef VISIONTRANSFER_STANDARDPARAMETERS_H 16 #define VISIONTRANSFER_STANDARDPARAMETERS_H 20 #include "visiontransfer/common.h" 40 #ifndef DOXYGEN_SHOULD_SKIP_THIS 42 static ParameterInfo fromInt(
const std::string& name,
bool writeable,
43 int value,
int min = -1,
int max = -1,
int inc = -1);
44 static ParameterInfo fromDouble(
const std::string& name,
bool writeable,
45 double value,
double min = -1,
double max = -1,
double inc = -1);
46 static ParameterInfo fromBool(
const std::string& name,
bool writeable,
bool value);
52 std::string getName()
const;
56 ParameterType getType()
const;
60 bool isWriteable()
const;
64 template<
typename T> T getValue()
const;
68 template<
typename T> T getMin()
const;
72 template<
typename T> T getMax()
const;
76 template<
typename T> T getInc()
const;