Changeset 50 in flair-dev for trunk/include/FlairSensorActuator/SimuCamera.h
- Timestamp:
- 05/31/17 15:54:26 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairSensorActuator/SimuCamera.h
r13 r50 19 19 20 20 namespace flair { 21 namespace core { 22 class SharedMem; 23 } 24 namespace gui { 25 class SpinBox; 26 } 21 namespace core { 22 class SharedMem; 23 } 27 24 } 28 25 … … 39 36 * 40 37 * Construct a SimuCamera. Control part. 38 * It will be child of the FrameworkManager. 41 39 * 42 * \param parent parent43 40 * \param name name 44 41 * \param width width 45 42 * \param height height 46 43 * \param channels number of channels 47 * \param dev_id device id 44 * \param modelId Model id 45 * \param deviceId Camera id of the Model 48 46 * \param priority priority of the Thread 49 47 */ 50 SimuCamera( const core::FrameworkManager *parent,std::string name,51 uint16_t width, uint16_t height, uint8_t channels, uint32_t dev_id,48 SimuCamera(std::string name, 49 uint16_t width, uint16_t height, uint8_t channels, uint32_t modelId,uint32_t deviceId, 52 50 uint8_t priority); 53 51 … … 63 61 * \param height height 64 62 * \param channels number of channels 65 * \param dev_id device id 63 * \param modelId Model id 64 * \param deviceId Camera id of the Model 66 65 */ 67 66 SimuCamera(const core::IODevice *parent, std::string name, uint16_t width, 68 uint16_t height, uint8_t channels, uint32_t dev_id);67 uint16_t height, uint8_t channels, uint32_t modelId,uint32_t deviceId); 69 68 70 69 /*! … … 98 97 */ 99 98 void UpdateFrom(const core::io_data *data){}; 99 100 std::string ShMemName(uint32_t modelId,uint32_t deviceId); 100 101 101 gui::SpinBox *data_rate;102 102 size_t buf_size; 103 IplImage *img;103 char* shmemReadBuf; 104 104 }; 105 105 } // end namespace sensor
Note:
See TracChangeset
for help on using the changeset viewer.