|
| CameraState () |
| Default constructor.
|
|
| CameraState (const std::string &fileName) |
| Construct CameraState by loading from file.
|
|
std::string | serialize () const |
| Serialize to a string.
|
|
template<typename... Args> |
| CameraState (Args &&...args) |
| Constructor taking variadic number of arguments.
|
|
template<typename... Args> |
void | set (Args &&...args) |
| Set multiple arguments.
|
|
template<typename... Args> |
CameraState | copyWith (Args &&...args) const |
| Returns a copy of this object with the given argument(s) set to the new value(s)
|
|
const Available & | isAvailable () const |
| Get Available.
|
|
Available & | isAvailable () |
| Get Available.
|
|
CameraState & | set (const Available &value) |
| Set Available.
|
|
const Connected & | isConnected () const |
| Get Connected.
|
|
Connected & | isConnected () |
| Get Connected.
|
|
CameraState & | set (const Connected &value) |
| Set Connected.
|
|
const InaccessibleReason & | inaccessibleReason () const |
| Get InaccessibleReason.
|
|
InaccessibleReason & | inaccessibleReason () |
| Get InaccessibleReason.
|
|
CameraState & | set (const InaccessibleReason &value) |
| Set InaccessibleReason.
|
|
const Network & | network () const |
| Get Network.
|
|
Network & | network () |
| Get Network.
|
|
CameraState & | set (const Network &value) |
| Set Network.
|
|
CameraState & | set (const Network::IPV4 &value) |
| Set Network::IPV4.
|
|
CameraState & | set (const Network::IPV4::Address &value) |
| Set Network::IPV4::Address.
|
|
const Status & | status () const |
| Get Status.
|
|
Status & | status () |
| Get Status.
|
|
CameraState & | set (const Status &value) |
| Set Status.
|
|
const Temperature & | temperature () const |
| Get Temperature.
|
|
Temperature & | temperature () |
| Get Temperature.
|
|
CameraState & | set (const Temperature &value) |
| Set Temperature.
|
|
CameraState & | set (const Temperature::DMD &value) |
| Set Temperature::DMD.
|
|
CameraState & | set (const Temperature::General &value) |
| Set Temperature::General.
|
|
CameraState & | set (const Temperature::LED &value) |
| Set Temperature::LED.
|
|
CameraState & | set (const Temperature::Lens &value) |
| Set Temperature::Lens.
|
|
CameraState & | set (const Temperature::PCB &value) |
| Set Temperature::PCB.
|
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Available >::value, int >::type = 0> |
const CameraState::Available & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Connected >::value, int >::type = 0> |
const CameraState::Connected & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::InaccessibleReason >::value, int >::type = 0> |
const CameraState::InaccessibleReason & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Network >::value, int >::type = 0> |
const CameraState::Network & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Network::IPV4 >::value, int >::type = 0> |
const CameraState::Network::IPV4 & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Network::IPV4::Address >::value, int >::type = 0> |
const CameraState::Network::IPV4::Address & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Status >::value, int >::type = 0> |
const CameraState::Status & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Temperature >::value, int >::type = 0> |
const CameraState::Temperature & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Temperature::DMD >::value, int >::type = 0> |
const CameraState::Temperature::DMD & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Temperature::General >::value, int >::type = 0> |
const CameraState::Temperature::General & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Temperature::LED >::value, int >::type = 0> |
const CameraState::Temperature::LED & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Temperature::Lens >::value, int >::type = 0> |
const CameraState::Temperature::Lens & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraState::Temperature::PCB >::value, int >::type = 0> |
const CameraState::Temperature::PCB & | get () const |
|
template<size_t i, typename std::enable_if< i==0, int >::type = 0> |
const CameraState::Available & | get () const |
|
template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
const CameraState::Connected & | get () const |
|
template<size_t i, typename std::enable_if< i==2, int >::type = 0> |
const CameraState::InaccessibleReason & | get () const |
|
template<size_t i, typename std::enable_if< i==3, int >::type = 0> |
const CameraState::Network & | get () const |
|
template<size_t i, typename std::enable_if< i==4, int >::type = 0> |
const CameraState::Status & | get () const |
|
template<size_t i, typename std::enable_if< i==5, int >::type = 0> |
const CameraState::Temperature & | get () const |
|
template<typename F > |
void | forEach (const F &f) const |
| Run the given function on each direct member with the value of the member as parameter.
|
|
template<typename F > |
void | forEach (const F &f) |
| Run the given function on each direct member with the value of the member as parameter.
|
|
bool | operator== (const CameraState &other) const |
| Equality operator.
|
|
bool | operator!= (const CameraState &other) const |
| Inequality operator.
|
|
std::string | toString () const |
| Get the value as string.
|
|
void | save (const std::string &fileName) const |
| Save to the given file.
|
|
void | load (const std::string &fileName) |
| Load from the given file.
|
|
Information about camera connection state, temperatures, etc.