Analog gain in the camera.
More...
#include <Zivid/Settings2D.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::Settings2D::Acquisition::Gain::Gain |
( |
| ) |
|
|
default |
◆ Gain() [2/2]
Zivid::Settings2D::Acquisition::Gain::Gain |
( |
double | value | ) |
|
|
inlineexplicitconstexpr |
◆ hasValue()
bool Zivid::Settings2D::Acquisition::Gain::hasValue |
( |
| ) |
const |
Check if the value is set.
◆ operator!=()
bool Zivid::Settings2D::Acquisition::Gain::operator!= |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator<()
bool Zivid::Settings2D::Acquisition::Gain::operator< |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator<=()
bool Zivid::Settings2D::Acquisition::Gain::operator<= |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator==()
bool Zivid::Settings2D::Acquisition::Gain::operator== |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator>()
bool Zivid::Settings2D::Acquisition::Gain::operator> |
( |
const Gain & | other | ) |
const |
|
inline |
◆ operator>=()
bool Zivid::Settings2D::Acquisition::Gain::operator>= |
( |
const Gain & | other | ) |
const |
|
inline |
◆ reset()
void Zivid::Settings2D::Acquisition::Gain::reset |
( |
| ) |
|
Reset the node to unset state.
◆ toString()
std::string Zivid::Settings2D::Acquisition::Gain::toString |
( |
| ) |
const |
◆ validRange()
static constexpr Range< double > Zivid::Settings2D::Acquisition::Gain::validRange |
( |
| ) |
|
|
inlinestaticconstexpr |
The range of valid values for Gain.
◆ value()
double Zivid::Settings2D::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::Settings2D::Acquisition::Gain::description { R"description(Analog gain in the camera.)description" } |
|
staticconstexpr |
The description for this value.
◆ name
const char* Zivid::Settings2D::Acquisition::Gain::name { "Gain" } |
|
staticconstexpr |
◆ nodeType
◆ path
const char* Zivid::Settings2D::Acquisition::Gain::path { "Acquisition/Gain" } |
|
staticconstexpr |
The full path for this value.
The documentation for this class was generated from the following file: