|
| CameraInfo () |
| Default constructor.
|
|
| CameraInfo (const std::string &fileName) |
| Construct CameraInfo by loading from file.
|
|
template<typename... Args> |
| CameraInfo (Args &&...args) |
| Constructor taking variadic number of arguments.
|
|
template<typename... Args> |
void | set (Args &&...args) |
| Set multiple arguments.
|
|
template<typename... Args> |
CameraInfo | copyWith (Args &&...args) const |
| Returns a copy of this object with the given argument(s) set to the new value(s)
|
|
const FirmwareVersion & | firmwareVersion () const |
| Get FirmwareVersion.
|
|
FirmwareVersion & | firmwareVersion () |
| Get FirmwareVersion.
|
|
CameraInfo & | set (const FirmwareVersion &value) |
| Set FirmwareVersion.
|
|
const HardwareRevision & | hardwareRevision () const |
| Get HardwareRevision.
|
|
HardwareRevision & | hardwareRevision () |
| Get HardwareRevision.
|
|
CameraInfo & | set (const HardwareRevision &value) |
| Set HardwareRevision.
|
|
const Model & | model () const |
| Get Model.
|
|
Model & | model () |
| Get Model.
|
|
CameraInfo & | set (const Model &value) |
| Set Model.
|
|
const ModelName & | modelName () const |
| Get ModelName.
|
|
ModelName & | modelName () |
| Get ModelName.
|
|
CameraInfo & | set (const ModelName &value) |
| Set ModelName.
|
|
const Revision & | revision () const |
| Get Revision.
|
|
Revision & | revision () |
| Get Revision.
|
|
CameraInfo & | set (const Revision &value) |
| Set Revision.
|
|
CameraInfo & | set (const Revision::Major &value) |
| Set Revision::Major.
|
|
CameraInfo & | set (const Revision::Minor &value) |
| Set Revision::Minor.
|
|
const SerialNumber & | serialNumber () const |
| Get SerialNumber.
|
|
SerialNumber & | serialNumber () |
| Get SerialNumber.
|
|
CameraInfo & | set (const SerialNumber &value) |
| Set SerialNumber.
|
|
const UserData & | userData () const |
| Get UserData.
|
|
UserData & | userData () |
| Get UserData.
|
|
CameraInfo & | set (const UserData &value) |
| Set UserData.
|
|
CameraInfo & | set (const UserData::MaxSizeBytes &value) |
| Set UserData::MaxSizeBytes.
|
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::FirmwareVersion >::value, int >::type = 0> |
const CameraInfo::FirmwareVersion & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::HardwareRevision >::value, int >::type = 0> |
const CameraInfo::HardwareRevision & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::Model >::value, int >::type = 0> |
const CameraInfo::Model & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::ModelName >::value, int >::type = 0> |
const CameraInfo::ModelName & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::Revision >::value, int >::type = 0> |
const CameraInfo::Revision & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::Revision::Major >::value, int >::type = 0> |
const CameraInfo::Revision::Major & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::Revision::Minor >::value, int >::type = 0> |
const CameraInfo::Revision::Minor & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::SerialNumber >::value, int >::type = 0> |
const CameraInfo::SerialNumber & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::UserData >::value, int >::type = 0> |
const CameraInfo::UserData & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, CameraInfo::UserData::MaxSizeBytes >::value, int >::type = 0> |
const CameraInfo::UserData::MaxSizeBytes & | get () const |
|
template<size_t i, typename std::enable_if< i==0, int >::type = 0> |
const CameraInfo::FirmwareVersion & | get () const |
|
template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
const CameraInfo::HardwareRevision & | get () const |
|
template<size_t i, typename std::enable_if< i==2, int >::type = 0> |
const CameraInfo::Model & | get () const |
|
template<size_t i, typename std::enable_if< i==3, int >::type = 0> |
const CameraInfo::ModelName & | get () const |
|
template<size_t i, typename std::enable_if< i==4, int >::type = 0> |
const CameraInfo::Revision & | get () const |
|
template<size_t i, typename std::enable_if< i==5, int >::type = 0> |
const CameraInfo::SerialNumber & | get () const |
|
template<size_t i, typename std::enable_if< i==6, int >::type = 0> |
const CameraInfo::UserData & | 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 CameraInfo &other) const |
| Equality operator.
|
|
bool | operator!= (const CameraInfo &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 model, serial number etc.