|
| | ~CameraState () |
| | Destructor More...
|
| |
| | CameraState (const CameraState &other) |
| | Copy constructor More...
|
| |
| CameraState & | operator= (const CameraState &other) |
| | Assignment operator More...
|
| |
| | CameraState (CameraState &&other) noexcept |
| | Move constructor More...
|
| |
| CameraState & | operator= (CameraState &&other) noexcept |
| | Move assignment operator More...
|
| |
| | CameraState ()=default |
| | Default constructor More...
|
| |
| void | set (const std::string &fullPath, const std::string &value) |
| | Set a value from string by specifying the path More...
|
| |
| std::string | getString (const std::string &fullPath) const |
| | Get a value as string by specifying the path More...
|
| |
| 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::Live >::value, int >::type = 0> |
| const CameraState::Live & | 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::Live & | get () const |
| |
| template<size_t i, typename std::enable_if< i==3, int >::type = 0> |
| const CameraState::Temperature & | get () const |
| |
| | CameraState (const Available &available, const Connected &connected, const Live &live, const Temperature &temperature) |
| | Constructor More...
|
| |
| CameraState & | set (const Available &value) |
| | Set Available More...
|
| |
| const Available & | isAvailable () const |
| | Get Available More...
|
| |
| CameraState & | set (const Connected &value) |
| | Set Connected More...
|
| |
| const Connected & | isConnected () const |
| | Get Connected More...
|
| |
| CameraState & | set (const Live &value) |
| | Set Live More...
|
| |
| const Live & | live () const |
| | Get Live More...
|
| |
| CameraState & | set (const Temperature &value) |
| | Set Temperature More...
|
| |
| const Temperature & | temperature () const |
| | Get Temperature More...
|
| |
| CameraState & | set (const Temperature::DMD &value) |
| | Set Temperature::DMD More...
|
| |
| CameraState & | set (const Temperature::General &value) |
| | Set Temperature::General More...
|
| |
| CameraState & | set (const Temperature::LED &value) |
| | Set Temperature::LED More...
|
| |
| CameraState & | set (const Temperature::Lens &value) |
| | Set Temperature::Lens More...
|
| |
| CameraState & | set (const Temperature::PCB &value) |
| | Set Temperature::PCB More...
|
| |
| 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 More...
|
| |
| template<typename F > |
| void | forEach (const F &f) |
| | Run the given function on each direct member with the value of the member as parameter More...
|
| |
| template<typename F > |
| void | traverseValues (const F &f) const |
| | Traverse the entire tree using the given function with the value of the member as parameter More...
|
| |
| template<typename F > |
| void | traverseValues (const F &f) |
| | Traverse all members using the given function with the value of the member as parameter More...
|
| |
| std::string | toString () const |
| | Get the value as string More...
|
| |
| void | setFromString (const std::string &value) |
| | Set from the given string More...
|
| |
| bool | operator== (const CameraState &other) const |
| | Equality operator More...
|
| |
| bool | operator!= (const CameraState &other) const |
| | Inequality operator More...
|
| |
| | CameraState (const std::string &fileName) |
| | Construct object by loading from file More...
|
| |
| void | save (const std::string &fileName) const |
| | Save to the given file More...
|
| |
| void | load (const std::string &fileName) |
| | Load from the given file More...
|
| |
Information about camera connection state, live mode, temperatures, etc.