![]() |
Zivid C++ API 2.12.0+6afd4961-1
|
Flag if camera is physically connected to the computer and is available for use, but not connected in software. This corresponds to the Status enums available or firmwareUpdateRequired. Zivid recommends to use the Status enum instead of this bool.
More...
#include <Zivid/CameraState.h>
Public Types | |
| using | ValueType = bool |
| The type of the underlying value. | |
Public Member Functions | |
| Available ()=default | |
| Default constructor. | |
| constexpr | Available (bool value) |
| Constructor. | |
| bool | value () const |
| Get the value. | |
| std::string | toString () const |
| Get the value as string. | |
| operator bool () const | |
| Convert to bool where appropriate. | |
| bool | operator== (const Available &other) const |
| Comparison operator. | |
| bool | operator!= (const Available &other) const |
| Comparison operator. | |
Static Public Member Functions | |
| static std::set< bool > | validValues () |
| All valid values of Available. | |
Static Public Attributes | |
| static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
| The type of this node. | |
| static constexpr const char * | path { "Available" } |
| The full path for this value. | |
| static constexpr const char * | name { "Available" } |
| The name of this value. | |
| static constexpr const char * | description |
| The description for this value. | |
| static const Available | yes |
| On/enabled. | |
| static const Available | no |
| Off/disabled. | |
Friends | |
| struct | DataModel::Detail::Befriend< Available > |
| std::ostream & | operator<< (std::ostream &stream, const Available &value) |
| Operator to serialize the value to a stream. | |
Flag if camera is physically connected to the computer and is available for use, but not connected in software. This corresponds to the Status enums available or firmwareUpdateRequired. Zivid recommends to use the Status enum instead of this bool.
The type of the underlying value.
|
default |
Default constructor.
Constructor.
|
inlineexplicit |
Convert to bool where appropriate.
Comparison operator.
Comparison operator.
| std::string Zivid::CameraState::Available::toString | ( | ) | const |
Get the value as string.
All valid values of Available.
| bool Zivid::CameraState::Available::value | ( | ) | const |
Get the value.
Operator to serialize the value to a stream.
The description for this value.
The name of this value.
|
staticconstexpr |
The type of this node.
The full path for this value.