|
| ~Settings () |
| Destructor More...
|
|
| Settings (const Settings &other) |
| Copy constructor More...
|
|
Settings & | operator= (const Settings &other) |
| Assignment operator More...
|
|
| Settings (Settings &&other) noexcept |
| Move constructor More...
|
|
Settings & | operator= (Settings &&other) noexcept |
| Move assignment operator More...
|
|
| Settings ()=default |
| Default constructor More...
|
|
void | set (const std::string &fullPath, const std::string &value) |
| Set a value from string by specifying the path More...
|
|
std::string | getString (const std::string &fullPath) const |
| Get a value as string by specifying the path More...
|
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Bidirectional >::value, int >::type = 0> |
const Settings::Bidirectional & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::BlueBalance >::value, int >::type = 0> |
const Settings::BlueBalance & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Brightness >::value, int >::type = 0> |
const Settings::Brightness & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::ExposureTime >::value, int >::type = 0> |
const Settings::ExposureTime & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters >::value, int >::type = 0> |
const Settings::Filters & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Contrast >::value, int >::type = 0> |
const Settings::Filters::Contrast & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Contrast::Enabled >::value, int >::type = 0> |
const Settings::Filters::Contrast::Enabled & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Contrast::Threshold >::value, int >::type = 0> |
const Settings::Filters::Contrast::Threshold & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Gaussian >::value, int >::type = 0> |
const Settings::Filters::Gaussian & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Gaussian::Enabled >::value, int >::type = 0> |
const Settings::Filters::Gaussian::Enabled & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Gaussian::Sigma >::value, int >::type = 0> |
const Settings::Filters::Gaussian::Sigma & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Outlier >::value, int >::type = 0> |
const Settings::Filters::Outlier & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Outlier::Enabled >::value, int >::type = 0> |
const Settings::Filters::Outlier::Enabled & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Outlier::Threshold >::value, int >::type = 0> |
const Settings::Filters::Outlier::Threshold & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Reflection >::value, int >::type = 0> |
const Settings::Filters::Reflection & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Reflection::Enabled >::value, int >::type = 0> |
const Settings::Filters::Reflection::Enabled & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Saturated >::value, int >::type = 0> |
const Settings::Filters::Saturated & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Filters::Saturated::Enabled >::value, int >::type = 0> |
const Settings::Filters::Saturated::Enabled & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Gain >::value, int >::type = 0> |
const Settings::Gain & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::Iris >::value, int >::type = 0> |
const Settings::Iris & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, Settings::RedBalance >::value, int >::type = 0> |
const Settings::RedBalance & | get () const |
|
template<size_t i, typename std::enable_if< i==0, int >::type = 0> |
const Settings::Bidirectional & | get () const |
|
template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
const Settings::BlueBalance & | get () const |
|
template<size_t i, typename std::enable_if< i==2, int >::type = 0> |
const Settings::Brightness & | get () const |
|
template<size_t i, typename std::enable_if< i==3, int >::type = 0> |
const Settings::ExposureTime & | get () const |
|
template<size_t i, typename std::enable_if< i==4, int >::type = 0> |
const Settings::Filters & | get () const |
|
template<size_t i, typename std::enable_if< i==5, int >::type = 0> |
const Settings::Gain & | get () const |
|
template<size_t i, typename std::enable_if< i==6, int >::type = 0> |
const Settings::Iris & | get () const |
|
template<size_t i, typename std::enable_if< i==7, int >::type = 0> |
const Settings::RedBalance & | get () const |
|
| Settings (const Bidirectional &bidirectional, const BlueBalance &blueBalance, const Brightness &brightness, const ExposureTime &exposureTime, const Filters &filters, const Gain &gain, const Iris &iris, const RedBalance &redBalance) |
| Constructor More...
|
|
Settings & | set (const Bidirectional &value) |
| Set Bidirectional More...
|
|
const Bidirectional & | bidirectional () const |
| Get Bidirectional More...
|
|
Settings & | set (const BlueBalance &value) |
| Set BlueBalance More...
|
|
const BlueBalance & | blueBalance () const |
| Get BlueBalance More...
|
|
Settings & | set (const Brightness &value) |
| Set Brightness More...
|
|
const Brightness & | brightness () const |
| Get Brightness More...
|
|
Settings & | set (const ExposureTime &value) |
| Set ExposureTime More...
|
|
const ExposureTime & | exposureTime () const |
| Get ExposureTime More...
|
|
Settings & | set (const Filters &value) |
| Set Filters More...
|
|
const Filters & | filters () const |
| Get Filters More...
|
|
Settings & | set (const Filters::Contrast &value) |
| Set Filters::Contrast More...
|
|
Settings & | set (const Filters::Contrast::Enabled &value) |
| Set Filters::Contrast::Enabled More...
|
|
Settings & | set (const Filters::Contrast::Threshold &value) |
| Set Filters::Contrast::Threshold More...
|
|
Settings & | set (const Filters::Gaussian &value) |
| Set Filters::Gaussian More...
|
|
Settings & | set (const Filters::Gaussian::Enabled &value) |
| Set Filters::Gaussian::Enabled More...
|
|
Settings & | set (const Filters::Gaussian::Sigma &value) |
| Set Filters::Gaussian::Sigma More...
|
|
Settings & | set (const Filters::Outlier &value) |
| Set Filters::Outlier More...
|
|
Settings & | set (const Filters::Outlier::Enabled &value) |
| Set Filters::Outlier::Enabled More...
|
|
Settings & | set (const Filters::Outlier::Threshold &value) |
| Set Filters::Outlier::Threshold More...
|
|
Settings & | set (const Filters::Reflection &value) |
| Set Filters::Reflection More...
|
|
Settings & | set (const Filters::Reflection::Enabled &value) |
| Set Filters::Reflection::Enabled More...
|
|
Settings & | set (const Filters::Saturated &value) |
| Set Filters::Saturated More...
|
|
Settings & | set (const Filters::Saturated::Enabled &value) |
| Set Filters::Saturated::Enabled More...
|
|
Settings & | set (const Gain &value) |
| Set Gain More...
|
|
const Gain & | gain () const |
| Get Gain More...
|
|
Settings & | set (const Iris &value) |
| Set Iris More...
|
|
const Iris & | iris () const |
| Get Iris More...
|
|
Settings & | set (const RedBalance &value) |
| Set RedBalance More...
|
|
const RedBalance & | redBalance () const |
| Get RedBalance More...
|
|
template<typename F > |
void | forEach (const F &f) const |
| Run the given function on each direct member with the value of the member as parameter More...
|
|
template<typename F > |
void | forEach (const F &f) |
| Run the given function on each direct member with the value of the member as parameter More...
|
|
template<typename F > |
void | traverseValues (const F &f) const |
| Traverse the entire tree using the given function with the value of the member as parameter More...
|
|
template<typename F > |
void | traverseValues (const F &f) |
| Traverse all members using the given function with the value of the member as parameter More...
|
|
std::string | toString () const |
| Get the value as string More...
|
|
void | setFromString (const std::string &value) |
| Set from the given string More...
|
|
bool | operator== (const Settings &other) const |
| Equality operator More...
|
|
bool | operator!= (const Settings &other) const |
| Inequality operator More...
|
|
| Settings (const std::string &fileName) |
| Construct object by loading from file More...
|
|
void | save (const std::string &fileName) const |
| Save to the given file More...
|
|
void | load (const std::string &fileName) |
| Load from the given file More...
|
|