Analog gain in the camera.
More...
#include <Zivid/Settings.h>
|
using | ValueType = double |
| The type of the underlying value.
|
|
|
| Gain ()=default |
| Default constructor.
|
|
constexpr | Gain (double value) |
| Constructor.
|
|
double | value () const |
| Get the value.
|
|
bool | hasValue () const |
| Check if the value is set.
|
|
void | reset () |
| Reset the node to unset state.
|
|
std::string | toString () const |
| Get the value as string.
|
|
bool | operator== (const Gain &other) const |
| Comparison operator.
|
|
bool | operator!= (const Gain &other) const |
| Comparison operator.
|
|
bool | operator< (const Gain &other) const |
| Comparison operator.
|
|
bool | operator> (const Gain &other) const |
| Comparison operator.
|
|
bool | operator<= (const Gain &other) const |
| Comparison operator.
|
|
bool | operator>= (const Gain &other) const |
| Comparison operator.
|
|
Analog gain in the camera.
◆ ValueType
The type of the underlying value.
◆ Gain() [1/2]
Zivid::Settings::Acquisition::Gain::Gain |
( |
| ) |
|
|
default |
◆ Gain() [2/2]
Zivid::Settings::Acquisition::Gain::Gain |
( |
double | value | ) |
|
|
inlineexplicitconstexpr |
◆ hasValue()
bool Zivid::Settings::Acquisition::Gain::hasValue |
( |
| ) |
const |
Check if the value is set.
◆ operator!=()
bool Zivid::Settings::Acquisition::Gain::operator!= |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator<()
bool Zivid::Settings::Acquisition::Gain::operator< |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator<=()
bool Zivid::Settings::Acquisition::Gain::operator<= |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator==()
bool Zivid::Settings::Acquisition::Gain::operator== |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator>()
bool Zivid::Settings::Acquisition::Gain::operator> |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator>=()
bool Zivid::Settings::Acquisition::Gain::operator>= |
( |
const Gain & | other | ) |
const |
|
inline |
◆ reset()
void Zivid::Settings::Acquisition::Gain::reset |
( |
| ) |
|
Reset the node to unset state.
◆ toString()
std::string Zivid::Settings::Acquisition::Gain::toString |
( |
| ) |
const |
◆ validRange()
static constexpr Range< double > Zivid::Settings::Acquisition::Gain::validRange |
( |
| ) |
|
|
inlinestaticconstexpr |
The range of valid values for Gain.
◆ value()
double Zivid::Settings::Acquisition::Gain::value |
( |
| ) |
const |
Get the value.
If this object does not contain a value (see hasValue) then this method throws an exception.
◆ DataModel::Detail::Befriend< Gain >
friend struct DataModel::Detail::Befriend< Gain > |
|
friend |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const Gain & | value ) |
|
friend |
Operator to serialize the value to a stream.
◆ description
const char* Zivid::Settings::Acquisition::Gain::description { R"description(Analog gain in the camera.)description" } |
|
staticconstexpr |
The description for this value.
◆ name
const char* Zivid::Settings::Acquisition::Gain::name { "Gain" } |
|
staticconstexpr |
◆ nodeType
◆ path
const char* Zivid::Settings::Acquisition::Gain::path { "Acquisition/Gain" } |
|
staticconstexpr |
The full path for this value.
The documentation for this class was generated from the following file: