112# pragma warning(push)
113# pragma warning(disable : 4251)
129 static constexpr const char *path{
"" };
132 static constexpr const char *name{
"CameraState" };
135 static constexpr const char *description{
136 R
"description(Information about camera connection state, temperatures, etc.)description"
139 static constexpr size_t version{ 2 };
149 static constexpr std::array<uint8_t, 3> binaryId{
'c',
's',
't' };
163 static constexpr const char *path{
"Available" };
166 static constexpr const char *name{
"Available" };
169 static constexpr const char *description{
170 R
"description(Flag if camera is physically connected to the computer, but not connected in software. When the camera is in this state, you can call connect().)description"
181 return {
false,
true };
199 explicit operator bool()
const
207 return m_value == other.m_value;
213 return m_value != other.m_value;
223 void setFromString(
const std::string &value);
225 bool m_value{
false };
227 friend struct DataModel::Detail::Befriend<
Available>;
240 static constexpr const char *path{
"Connected" };
243 static constexpr const char *name{
"Connected" };
246 static constexpr const char *description{
247 R
"description(Flag if camera is connected in software)description"
258 return {
false,
true };
276 explicit operator bool()
const
284 return m_value == other.m_value;
290 return m_value != other.m_value;
300 void setFromString(
const std::string &value);
302 bool m_value{
false };
304 friend struct DataModel::Detail::Befriend<
Connected>;
317 static constexpr const char *path{
"Temperature" };
320 static constexpr const char *name{
"Temperature" };
323 static constexpr const char *description{ R
"description(Current temperature(s))description" };
335 static constexpr const char *path{
"Temperature/DMD" };
338 static constexpr const char *name{
"DMD" };
341 static constexpr const char *description{ R
"description(DMD temperature)description" };
349 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
356 explicit constexpr DMD(
double value)
369 return m_value == other.m_value;
375 return m_value != other.m_value;
381 return m_value < other.m_value;
387 return m_value > other.m_value;
393 return m_value <= other.m_value;
399 return m_value >= other.m_value;
409 void setFromString(
const std::string &value);
411 double m_value{ 0.0 };
413 friend struct DataModel::Detail::Befriend<
DMD>;
426 static constexpr const char *path{
"Temperature/General" };
429 static constexpr const char *name{
"General" };
432 static constexpr const char *description{ R
"description(General temperature)description" };
440 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
460 return m_value == other.m_value;
466 return m_value != other.m_value;
472 return m_value < other.m_value;
478 return m_value > other.m_value;
484 return m_value <= other.m_value;
490 return m_value >= other.m_value;
500 void setFromString(
const std::string &value);
502 double m_value{ 0.0 };
504 friend struct DataModel::Detail::Befriend<
General>;
517 static constexpr const char *path{
"Temperature/LED" };
520 static constexpr const char *name{
"LED" };
523 static constexpr const char *description{ R
"description(LED temperature)description" };
531 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
538 explicit constexpr LED(
double value)
551 return m_value == other.m_value;
557 return m_value != other.m_value;
563 return m_value < other.m_value;
569 return m_value > other.m_value;
575 return m_value <= other.m_value;
581 return m_value >= other.m_value;
591 void setFromString(
const std::string &value);
593 double m_value{ 0.0 };
595 friend struct DataModel::Detail::Befriend<
LED>;
608 static constexpr const char *path{
"Temperature/Lens" };
611 static constexpr const char *name{
"Lens" };
614 static constexpr const char *description{ R
"description(Lens temperature)description" };
622 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
629 explicit constexpr Lens(
double value)
642 return m_value == other.m_value;
648 return m_value != other.m_value;
654 return m_value < other.m_value;
660 return m_value > other.m_value;
666 return m_value <= other.m_value;
672 return m_value >= other.m_value;
682 void setFromString(
const std::string &value);
684 double m_value{ 0.0 };
686 friend struct DataModel::Detail::Befriend<
Lens>;
699 static constexpr const char *path{
"Temperature/PCB" };
702 static constexpr const char *name{
"PCB" };
705 static constexpr const char *description{ R
"description(PCB temperature)description" };
713 return { std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max() };
720 explicit constexpr PCB(
double value)
733 return m_value == other.m_value;
739 return m_value != other.m_value;
745 return m_value < other.m_value;
751 return m_value > other.m_value;
757 return m_value <= other.m_value;
763 return m_value >= other.m_value;
773 void setFromString(
const std::string &value);
775 double m_value{ 0.0 };
777 friend struct DataModel::Detail::Befriend<
PCB>;
808 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
809 typename std::enable_if<
810 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::
814 template<typename... Args>
818 using namespace Zivid::Detail::TypeTraits;
821 AllArgsDecayedAreUnique<Args...>::value,
822 "Found duplicate types among the arguments passed to Temperature(...). "
823 "Types should be listed at most once.");
825 set(std::forward<Args>(args)...);
843 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
845 template<typename... Args>
849 using namespace Zivid::Detail::TypeTraits;
851 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
853 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
856 AllArgsDecayedAreUnique<Args...>::value,
857 "Found duplicate types among the arguments passed to set(...). "
858 "Types should be listed at most once.");
860 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
879 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
881 template<typename... Args>
885 using namespace Zivid::Detail::TypeTraits;
887 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
889 AllArgsAreDescendantNodes::value,
890 "All arguments passed to copyWith(...) must be descendant nodes.");
893 AllArgsDecayedAreUnique<Args...>::value,
894 "Found duplicate types among the arguments passed to copyWith(...). "
895 "Types should be listed at most once.");
898 copy.
set(std::forward<Args>(args)...);
999 typename std::enable_if<std::is_same<T, CameraState::Temperature::DMD>::value,
int>::type = 0>
1007 typename std::enable_if<std::is_same<T, CameraState::Temperature::General>::value,
int>::type = 0>
1015 typename std::enable_if<std::is_same<T, CameraState::Temperature::LED>::value,
int>::type = 0>
1023 typename std::enable_if<std::is_same<T, CameraState::Temperature::Lens>::value,
int>::type = 0>
1031 typename std::enable_if<std::is_same<T, CameraState::Temperature::PCB>::value,
int>::type = 0>
1037 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1043 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
1049 template<size_t i, typename std::enable_if<i == 2, int>::type = 0>
1055 template<size_t i, typename std::enable_if<i == 3, int>::type = 0>
1061 template<size_t i, typename std::enable_if<i == 4, int>::type = 0>
1068 template<
typename F>
1079 template<
typename F>
1105 void setFromString(
const std::string &value);
1107 void setFromString(
const std::string &fullPath,
const std::string &value);
1109 std::string getString(
const std::string &fullPath)
const;
1117 friend struct DataModel::Detail::Befriend<
Temperature>;
1157 typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0,
1158 typename std::enable_if<
1159 Zivid::Detail::TypeTraits::AllArgsAreInTuple<
Descendants,
typename std::decay<Args>::type...>::value,
1162 template<typename... Args>
1166 using namespace Zivid::Detail::TypeTraits;
1169 AllArgsDecayedAreUnique<Args...>::value,
1170 "Found duplicate types among the arguments passed to CameraState(...). "
1171 "Types should be listed at most once.");
1173 set(std::forward<Args>(args)...);
1194 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 2,
int>::type = 0>
1196 template<typename... Args>
1200 using namespace Zivid::Detail::TypeTraits;
1202 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1204 AllArgsAreDescendantNodes::value,
"All arguments passed to set(...) must be descendant nodes.");
1207 AllArgsDecayedAreUnique<Args...>::value,
1208 "Found duplicate types among the arguments passed to set(...). "
1209 "Types should be listed at most once.");
1211 Zivid::DataModel::Detail::invokeSetWithEachArgument(*
this, std::forward<Args>(args)...);
1233 template<
typename... Args,
typename std::enable_if<
sizeof...(Args) >= 1,
int>::type = 0>
1235 template<typename... Args>
1239 using namespace Zivid::Detail::TypeTraits;
1241 using AllArgsAreDescendantNodes = AllArgsAreInTuple<Descendants, typename std::decay<Args>::type...>;
1243 AllArgsAreDescendantNodes::value,
"All arguments passed to copyWith(...) must be descendant nodes.");
1246 AllArgsDecayedAreUnique<Args...>::value,
1247 "Found duplicate types among the arguments passed to copyWith(...). "
1248 "Types should be listed at most once.");
1251 copy.
set(std::forward<Args>(args)...);
1270 m_available = value;
1289 m_connected = value;
1296 return m_temperature;
1302 return m_temperature;
1308 m_temperature = value;
1315 m_temperature.
set(value);
1322 m_temperature.
set(value);
1329 m_temperature.
set(value);
1336 m_temperature.
set(value);
1343 m_temperature.
set(value);
1347 template<typename T, typename std::enable_if<std::is_same<T, CameraState::Available>::value,
int>::type = 0>
1353 template<typename T, typename std::enable_if<std::is_same<T, CameraState::Connected>::value,
int>::type = 0>
1359 template<typename T, typename std::enable_if<std::is_same<T, CameraState::Temperature>::value,
int>::type = 0>
1362 return m_temperature;
1367 typename std::enable_if<std::is_same<T, CameraState::Temperature::DMD>::value,
int>::type = 0>
1375 typename std::enable_if<std::is_same<T, CameraState::Temperature::General>::value,
int>::type = 0>
1383 typename std::enable_if<std::is_same<T, CameraState::Temperature::LED>::value,
int>::type = 0>
1391 typename std::enable_if<std::is_same<T, CameraState::Temperature::Lens>::value,
int>::type = 0>
1399 typename std::enable_if<std::is_same<T, CameraState::Temperature::PCB>::value,
int>::type = 0>
1405 template<size_t i, typename std::enable_if<i == 0, int>::type = 0>
1411 template<size_t i, typename std::enable_if<i == 1, int>::type = 0>
1417 template<size_t i, typename std::enable_if<i == 2, int>::type = 0>
1420 return m_temperature;
1424 template<
typename F>
1433 template<
typename F>
1457 void save(
const std::string &fileName)
const;
1460 void load(
const std::string &fileName);
1463 void setFromString(
const std::string &value);
1465 void setFromString(
const std::string &fullPath,
const std::string &value);
1467 std::string getString(
const std::string &fullPath)
const;
1473 friend struct DataModel::Detail::Befriend<
CameraState>;
1487 struct CameraState::Version<2>
1496# pragma warning(pop)
1500# if !(defined(_MSC_VER) && (_MSC_VER <= 1900))
1505 struct tuple_size<
Zivid::CameraState::Temperature> : integral_constant<size_t, 5>
1509 struct tuple_element<i,
Zivid::CameraState::Temperature>
1511 static_assert(i < tuple_size<Zivid::CameraState::Temperature>::value,
"Index must be less than 5");
1514 =
decltype(declval<Zivid::CameraState::Temperature>().get<i>());
1518 struct tuple_size<
Zivid::CameraState> : integral_constant<size_t, 3>
1522 struct tuple_element<i,
Zivid::CameraState>
1524 static_assert(i < tuple_size<Zivid::CameraState>::value,
"Index must be less than 3");
1527 =
decltype(declval<Zivid::CameraState>().get<i>());
1536#if defined(__has_include) && !defined(NO_DOC)
1537# if __has_include("Zivid/CameraStateInternal.h") && __has_include("Zivid/DataModelNodeMetaData.h")
1538# include "Zivid/CameraStateInternal.h"
#define ZIVID_CORE_EXPORT
Definition: CoreExport.h:101
Flag if camera is physically connected to the computer, but not connected in software....
Definition: CameraState.h:157
static std::set< bool > validValues()
All valid values of Available
Definition: CameraState.h:179
static const Available no
Off/disabled.
Definition: CameraState.h:176
bool operator==(const Available &other) const
Comparison operator
Definition: CameraState.h:205
std::string toString() const
Get the value as string
bool ValueType
The type of the underlying value
Definition: CameraState.h:174
static const Available yes
On/enabled.
Definition: CameraState.h:175
friend std::ostream & operator<<(std::ostream &stream, const Available &value)
Operator to serialize the value to a stream
Definition: CameraState.h:217
bool operator!=(const Available &other) const
Comparison operator
Definition: CameraState.h:211
constexpr Available(bool value)
Constructor
Definition: CameraState.h:188
bool value() const
Get the value
Available()=default
Default constructor
Flag if camera is connected in software
Definition: CameraState.h:234
Connected()=default
Default constructor
static const Connected yes
On/enabled.
Definition: CameraState.h:252
static const Connected no
Off/disabled.
Definition: CameraState.h:253
bool operator!=(const Connected &other) const
Comparison operator
Definition: CameraState.h:288
constexpr Connected(bool value)
Constructor
Definition: CameraState.h:265
bool value() const
Get the value
std::string toString() const
Get the value as string
friend std::ostream & operator<<(std::ostream &stream, const Connected &value)
Operator to serialize the value to a stream
Definition: CameraState.h:294
static std::set< bool > validValues()
All valid values of Connected
Definition: CameraState.h:256
bool operator==(const Connected &other) const
Comparison operator
Definition: CameraState.h:282
bool ValueType
The type of the underlying value
Definition: CameraState.h:251
DMD temperature
Definition: CameraState.h:329
bool operator>(const DMD &other) const
Comparison operator
Definition: CameraState.h:385
std::string toString() const
Get the value as string
double value() const
Get the value
bool operator!=(const DMD &other) const
Comparison operator
Definition: CameraState.h:373
bool operator<(const DMD &other) const
Comparison operator
Definition: CameraState.h:379
bool operator>=(const DMD &other) const
Comparison operator
Definition: CameraState.h:397
double ValueType
The type of the underlying value
Definition: CameraState.h:344
bool operator<=(const DMD &other) const
Comparison operator
Definition: CameraState.h:391
friend std::ostream & operator<<(std::ostream &stream, const DMD &value)
Operator to serialize the value to a stream
Definition: CameraState.h:403
constexpr DMD(double value)
Constructor
Definition: CameraState.h:356
bool operator==(const DMD &other) const
Comparison operator
Definition: CameraState.h:367
static constexpr Range< double > validRange()
The range of valid values for DMD
Definition: CameraState.h:347
DMD()=default
Default constructor
General temperature
Definition: CameraState.h:420
double ValueType
The type of the underlying value
Definition: CameraState.h:435
std::string toString() const
Get the value as string
double value() const
Get the value
bool operator<(const General &other) const
Comparison operator
Definition: CameraState.h:470
constexpr General(double value)
Constructor
Definition: CameraState.h:447
static constexpr Range< double > validRange()
The range of valid values for General
Definition: CameraState.h:438
bool operator==(const General &other) const
Comparison operator
Definition: CameraState.h:458
General()=default
Default constructor
bool operator<=(const General &other) const
Comparison operator
Definition: CameraState.h:482
bool operator!=(const General &other) const
Comparison operator
Definition: CameraState.h:464
bool operator>(const General &other) const
Comparison operator
Definition: CameraState.h:476
friend std::ostream & operator<<(std::ostream &stream, const General &value)
Operator to serialize the value to a stream
Definition: CameraState.h:494
bool operator>=(const General &other) const
Comparison operator
Definition: CameraState.h:488
LED temperature
Definition: CameraState.h:511
bool operator<=(const LED &other) const
Comparison operator
Definition: CameraState.h:573
std::string toString() const
Get the value as string
bool operator<(const LED &other) const
Comparison operator
Definition: CameraState.h:561
double value() const
Get the value
LED()=default
Default constructor
constexpr LED(double value)
Constructor
Definition: CameraState.h:538
friend std::ostream & operator<<(std::ostream &stream, const LED &value)
Operator to serialize the value to a stream
Definition: CameraState.h:585
bool operator!=(const LED &other) const
Comparison operator
Definition: CameraState.h:555
bool operator==(const LED &other) const
Comparison operator
Definition: CameraState.h:549
bool operator>=(const LED &other) const
Comparison operator
Definition: CameraState.h:579
bool operator>(const LED &other) const
Comparison operator
Definition: CameraState.h:567
static constexpr Range< double > validRange()
The range of valid values for LED
Definition: CameraState.h:529
double ValueType
The type of the underlying value
Definition: CameraState.h:526
Lens temperature
Definition: CameraState.h:602
double ValueType
The type of the underlying value
Definition: CameraState.h:617
bool operator==(const Lens &other) const
Comparison operator
Definition: CameraState.h:640
Lens()=default
Default constructor
bool operator<=(const Lens &other) const
Comparison operator
Definition: CameraState.h:664
double value() const
Get the value
bool operator>(const Lens &other) const
Comparison operator
Definition: CameraState.h:658
bool operator!=(const Lens &other) const
Comparison operator
Definition: CameraState.h:646
bool operator>=(const Lens &other) const
Comparison operator
Definition: CameraState.h:670
std::string toString() const
Get the value as string
constexpr Lens(double value)
Constructor
Definition: CameraState.h:629
static constexpr Range< double > validRange()
The range of valid values for Lens
Definition: CameraState.h:620
bool operator<(const Lens &other) const
Comparison operator
Definition: CameraState.h:652
friend std::ostream & operator<<(std::ostream &stream, const Lens &value)
Operator to serialize the value to a stream
Definition: CameraState.h:676
PCB temperature
Definition: CameraState.h:693
bool operator!=(const PCB &other) const
Comparison operator
Definition: CameraState.h:737
constexpr PCB(double value)
Constructor
Definition: CameraState.h:720
static constexpr Range< double > validRange()
The range of valid values for PCB
Definition: CameraState.h:711
bool operator>=(const PCB &other) const
Comparison operator
Definition: CameraState.h:761
PCB()=default
Default constructor
bool operator<=(const PCB &other) const
Comparison operator
Definition: CameraState.h:755
friend std::ostream & operator<<(std::ostream &stream, const PCB &value)
Operator to serialize the value to a stream
Definition: CameraState.h:767
bool operator==(const PCB &other) const
Comparison operator
Definition: CameraState.h:731
double value() const
Get the value
bool operator>(const PCB &other) const
Comparison operator
Definition: CameraState.h:749
double ValueType
The type of the underlying value
Definition: CameraState.h:708
std::string toString() const
Get the value as string
bool operator<(const PCB &other) const
Comparison operator
Definition: CameraState.h:743
Current temperature(s)
Definition: CameraState.h:311
DMD & dmd()
Get DMD
Definition: CameraState.h:909
Temperature & set(const General &value)
Set General
Definition: CameraState.h:934
const PCB & pcb() const
Get PCB
Definition: CameraState.h:979
const CameraState::Temperature::Lens & get() const
Definition: CameraState.h:1024
Temperature & set(const Lens &value)
Set Lens
Definition: CameraState.h:972
const CameraState::Temperature::DMD & get() const
Definition: CameraState.h:1000
const CameraState::Temperature::PCB & get() const
Definition: CameraState.h:1032
const CameraState::Temperature::General & get() const
Definition: CameraState.h:1008
Temperature & set(const PCB &value)
Set PCB
Definition: CameraState.h:991
const General & general() const
Get General
Definition: CameraState.h:922
bool operator!=(const Temperature &other) const
Inequality operator
const LED & led() const
Get LED
Definition: CameraState.h:941
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter
Definition: CameraState.h:1069
Temperature(Args &&...args)
Constructor taking variadic number of arguments
Definition: CameraState.h:816
friend std::ostream & operator<<(std::ostream &stream, const Temperature &value)
Operator to send the value as string to a stream
Definition: CameraState.h:1099
std::tuple< CameraState::Temperature::DMD, CameraState::Temperature::General, CameraState::Temperature::LED, CameraState::Temperature::Lens, CameraState::Temperature::PCB > Descendants
Definition: CameraState.h:785
Temperature & set(const LED &value)
Set LED
Definition: CameraState.h:953
std::string toString() const
Get the value as string
LED & led()
Get LED
Definition: CameraState.h:947
bool operator==(const Temperature &other) const
Equality operator
const Lens & lens() const
Get Lens
Definition: CameraState.h:960
Temperature copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition: CameraState.h:883
General & general()
Get General
Definition: CameraState.h:928
void set(Args &&...args)
Set multiple arguments
Definition: CameraState.h:847
const DMD & dmd() const
Get DMD
Definition: CameraState.h:903
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter
Definition: CameraState.h:1080
const CameraState::Temperature::LED & get() const
Definition: CameraState.h:1016
Lens & lens()
Get Lens
Definition: CameraState.h:966
Temperature()
Default constructor
Temperature & set(const DMD &value)
Set DMD
Definition: CameraState.h:915
PCB & pcb()
Get PCB
Definition: CameraState.h:985
Information about camera connection state, temperatures, etc.
Definition: CameraState.h:123
const Temperature & temperature() const
Get Temperature
Definition: CameraState.h:1294
CameraState copyWith(Args &&...args) const
Returns a copy of this object with the given argument(s) set to the new value(s)
Definition: CameraState.h:1237
const CameraState::Temperature::Lens & get() const
Definition: CameraState.h:1392
void load(const std::string &fileName)
Load from the given file
CameraState(const std::string &fileName)
Construct CameraState by loading from file
CameraState & set(const Temperature &value)
Set Temperature
Definition: CameraState.h:1306
const CameraState::Connected & get() const
Definition: CameraState.h:1354
Temperature & temperature()
Get Temperature
Definition: CameraState.h:1300
const CameraState::Temperature::General & get() const
Definition: CameraState.h:1376
std::string toString() const
Get the value as string
const CameraState::Available & get() const
Definition: CameraState.h:1348
std::tuple< CameraState::Available, CameraState::Connected, CameraState::Temperature, CameraState::Temperature::DMD, CameraState::Temperature::General, CameraState::Temperature::LED, CameraState::Temperature::Lens, CameraState::Temperature::PCB > Descendants
Definition: CameraState.h:1128
void forEach(const F &f)
Run the given function on each direct member with the value of the member as parameter
Definition: CameraState.h:1434
void save(const std::string &fileName) const
Save to the given file
const CameraState::Temperature::PCB & get() const
Definition: CameraState.h:1400
CameraState & set(const Temperature::PCB &value)
Set Temperature::PCB
Definition: CameraState.h:1341
const CameraState::Temperature::LED & get() const
Definition: CameraState.h:1384
CameraState & set(const Temperature::General &value)
Set Temperature::General
Definition: CameraState.h:1320
friend std::ostream & operator<<(std::ostream &stream, const CameraState &value)
Operator to send the value as string to a stream
Definition: CameraState.h:1451
bool operator!=(const CameraState &other) const
Inequality operator
const Available & isAvailable() const
Get Available
Definition: CameraState.h:1256
Connected & isConnected()
Get Connected
Definition: CameraState.h:1281
CameraState & set(const Temperature::Lens &value)
Set Temperature::Lens
Definition: CameraState.h:1334
CameraState & set(const Available &value)
Set Available
Definition: CameraState.h:1268
CameraState & set(const Temperature::DMD &value)
Set Temperature::DMD
Definition: CameraState.h:1313
bool operator==(const CameraState &other) const
Equality operator
CameraState()
Default constructor
CameraState & set(const Connected &value)
Set Connected
Definition: CameraState.h:1287
CameraState(Args &&...args)
Constructor taking variadic number of arguments
Definition: CameraState.h:1164
const CameraState::Temperature & get() const
Definition: CameraState.h:1360
void forEach(const F &f) const
Run the given function on each direct member with the value of the member as parameter
Definition: CameraState.h:1425
void set(Args &&...args)
Set multiple arguments
Definition: CameraState.h:1198
CameraState & set(const Temperature::LED &value)
Set Temperature::LED
Definition: CameraState.h:1327
const CameraState::Temperature::DMD & get() const
Definition: CameraState.h:1368
const Connected & isConnected() const
Get Connected
Definition: CameraState.h:1275
Available & isAvailable()
Get Available
Definition: CameraState.h:1262
Class describing a range of values for a given type T
Definition: Range.h:118
NodeType
Definition: NodeType.h:100
The main Zivid namespace. All Zivid code is found here
Definition: Application.h:99