claraty::Camera_Image_Properties::Property Struct Reference
#include <camera_image.h>
Public Types | |
| enum | Mode { INVALID, AUTO, MANUAL } |
Public Member Functions | |
| Property (float value=0.0, float min_val=0.0, float max_val=100.0, Mode mode=INVALID) | |
| bool | io (FDM_Map map) |
Public Attributes | |
| float | value |
| float | min_value |
| float | max_value |
| enum claraty::Camera_Image_Properties::Property::Mode | mode |
Detailed Description
Definition at line 43 of file camera_image.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
| claraty::Camera_Image_Properties::Property::Property | ( | float | value = 0.0, |
|
| float | min_val = 0.0, |
|||
| float | max_val = 100.0, |
|||
| Mode | mode = INVALID | |||
| ) |
Member Function Documentation
| bool claraty::Camera_Image_Properties::Property::io | ( | FDM_Map | map | ) |
Definition at line 55 of file camera_image.cc.
References claraty::FDM_Map::field(), max_value, min_value, and value.
00056 { 00057 bool ok = true; 00058 ok &= map.field("value", value); 00059 ok &= map.field("min_value", min_value); 00060 ok &= map.field("max_value", max_value); 00061 // switch (mode) { 00062 // case INVALID: 00063 // ok &= map.field("mode", mode); 00064 // break; 00065 // default: 00066 // ok &= map.field("mode", "INVALID"); 00067 // break; 00068 // } 00069 return ok; 00070 }
Here is the call graph for this function:

Member Data Documentation
| enum claraty::Camera_Image_Properties::Property::Mode claraty::Camera_Image_Properties::Property::mode |
The documentation for this struct was generated from the following files: