Changeset 121 in flair-src for trunk/lib/FlairSensorActuator/src/Camera.h
- Timestamp:
- 12/22/16 17:32:58 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/Camera.h
r15 r121 19 19 20 20 namespace flair { 21 namespace gui { 22 class GroupBox; 23 class Tab; 24 class TabWidget; 25 class Picture; 26 class GridLayout; 27 } 21 namespace gui { 22 class GroupBox; 23 class Tab; 24 class TabWidget; 25 class Picture; 26 class GridLayout; 27 } 28 namespace core { 29 class Buffer; 30 } 28 31 } 29 32 … … 122 125 123 126 core::DataType const &GetOutputDataType() const; 124 127 128 /*! 129 \enum LogFormat 130 \brief log formats 131 */ 132 enum class LogFormat { 133 NONE, /*!< by default, no logging */ 134 RAW, /*!< raw format */ 135 JPG, /*!< jpg format */ 136 }; 137 138 /*! 139 * \brief Set log format 140 * 141 * Set the log format. \n 142 * Logging of the camera will be disabled if this method is not called. \n 143 * Calling this method enables logging of camera. 144 * 145 * \param LogFormat log format 146 */ 147 void SetLogFormat(LogFormat logFormat); 148 void ProcessUpdate(core::io_data* data); 125 149 protected: 126 150 /*! … … 138 162 gui::GroupBox *setup_groupbox; 139 163 gui::GridLayout *setup_layout; 164 LogFormat logFormat; 165 core::Buffer *jpgBuffer; 140 166 }; 141 167 } // end namespace sensor
Note:
See TracChangeset
for help on using the changeset viewer.