![]() |
Zivid C++ API 2.12.0+6afd4961-1
|
Flag if camera is connected in software. This bool is true when the Status value is connected. 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 | |
| Connected ()=default | |
| Default constructor. | |
| constexpr | Connected (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 Connected &other) const |
| Comparison operator. | |
| bool | operator!= (const Connected &other) const |
| Comparison operator. | |
Static Public Member Functions | |
| static std::set< bool > | validValues () |
| All valid values of Connected. | |
Static Public Attributes | |
| static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
| The type of this node. | |
| static constexpr const char * | path { "Connected" } |
| The full path for this value. | |
| static constexpr const char * | name { "Connected" } |
| The name of this value. | |
| static constexpr const char * | description |
| The description for this value. | |
| static const Connected | yes |
| On/enabled. | |
| static const Connected | no |
| Off/disabled. | |
Friends | |
| struct | DataModel::Detail::Befriend< Connected > |
| std::ostream & | operator<< (std::ostream &stream, const Connected &value) |
| Operator to serialize the value to a stream. | |
Flag if camera is connected in software. This bool is true when the Status value is connected. 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::Connected::toString | ( | ) | const |
Get the value as string.
All valid values of Connected.
| bool Zivid::CameraState::Connected::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.