Changeset 76 in flair-dev for trunk/include
- Timestamp:
- Sep 12, 2018, 5:43:31 PM (6 years ago)
- Location:
- trunk/include
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairCore/AhrsData.h
r50 r76 161 161 private: 162 162 /*! 163 * \brief Copydatas163 * \brief Raw read datas 164 164 * 165 165 * Reimplemented from io_data. \n 166 * See io_data:: CopyDatas.166 * See io_data::RawRead. 167 167 * 168 168 * \param dst destination buffer 169 169 */ 170 void CopyDatas(char *dst) const;170 void RawRead(char *dst) const; 171 171 172 172 void Queue(char **dst, const void *src, size_t size) const; -
trunk/include/FlairCore/FrameworkManager.h
r68 r76 77 77 * \param rcv_buf_size receive buffer size 78 78 */ 79 void SetupConnection(std::string address, uint16_t port,Time watchdogTimeout=(Time)1 000000000,79 void SetupConnection(std::string address, uint16_t port,Time watchdogTimeout=(Time)1500000000, 80 80 size_t rcv_buf_size = 10000); 81 81 -
trunk/include/FlairCore/GeoCoordinate.h
r13 r76 96 96 private: 97 97 /*! 98 * \brief Copydatas98 * \brief Raw read datas 99 99 * 100 100 * Reimplemented from io_data. \n 101 * See io_data:: CopyDatas.101 * See io_data::RawRead. 102 102 * 103 103 * \param dst destination buffer 104 104 */ 105 void CopyDatas(char *ptr) const;105 void RawRead(char *ptr) const; 106 106 107 107 double latitude; -
trunk/include/FlairCore/GpsData.h
r50 r76 244 244 245 245 Type const &GetDataType() const { return dataType; } 246 247 /*! 248 * \brief Raw read datas 249 * 250 * Reimplemented from io_data. \n 251 * See io_data::RawRead. 252 * 253 * \param dst destination buffer 254 */ 255 void RawRead(char *dst) const; 246 256 247 257 private: 248 /*!249 * \brief Copy datas250 *251 * Reimplemented from io_data. \n252 * See io_data::CopyDatas.253 *254 * \param dst destination buffer255 */256 void CopyDatas(char *dst) const;257 258 258 void Queue(char **dst, const void *src, size_t size) const; 259 259 Type dataType; -
trunk/include/FlairCore/ImuData.h
r50 r76 186 186 private: 187 187 /*! 188 * \brief Copydatas188 * \brief Raw read datas 189 189 * 190 190 * Reimplemented from io_data. \n 191 * See io_data:: CopyDatas.191 * See io_data::RawRead. 192 192 * 193 193 * \param dst destination buffer 194 194 */ 195 void CopyDatas(char *dst) const;195 void RawRead(char *dst) const; 196 196 197 197 /*! -
trunk/include/FlairCore/Matrix.h
r68 r76 194 194 195 195 Type const &GetDataType() const { return dataType; }; 196 void CopyDatas(char *dst) const; 196 197 /*! 198 * \brief Raw read datas 199 * 200 * Reimplemented from io_data. \n 201 * See io_data::RawRead. 202 * 203 * \param dst destination buffer 204 */ 205 void RawRead(char *dst) const; 206 207 /*! 208 * \brief Raw write datas 209 * 210 * Copy the source to the internal datas. Source must be of the corresponding size. 211 * 212 * \param src source buffer 213 */ 214 void RawWrite(char *src); 215 197 216 private: 198 /*!199 * \brief Copy datas200 *201 * Reimplemented from io_data. \n202 * See io_data::CopyDatas.203 *204 * \param dst destination buffer205 */206 //void CopyDatas(char *dst) const;207 208 217 class Matrix_impl *pimpl_; 209 218 Type dataType; -
trunk/include/FlairCore/Vector3Ddata.h
r50 r76 78 78 * 79 79 * Reimplemented from io_data. \n 80 * See io_data:: CopyDatas.80 * See io_data::RawRead. 81 81 * 82 82 * \param dst destination buffer -
trunk/include/FlairCore/cvimage.h
r47 r76 108 108 private: 109 109 /*! 110 * \brief Copydatas110 * \brief Raw read datas 111 111 * 112 112 * Reimplemented from io_data. \n 113 * See io_data:: CopyDatas.113 * See io_data::RawRead. 114 114 * 115 115 * \param dst destination buffer 116 116 */ 117 void CopyDatas(char *dst) const;117 void RawRead(char *dst) const; 118 118 119 119 bool allocate_data; -
trunk/include/FlairCore/cvmatrix.h
r50 r76 209 209 * 210 210 * Reimplemented from io_data. \n 211 * See io_data:: CopyDatas.211 * See io_data::RawRead. 212 212 * 213 213 * \param dst destination buffer -
trunk/include/FlairCore/io_data.h
r68 r76 176 176 177 177 virtual DataType const &GetDataType() const = 0; 178 179 /*! 180 * \brief Raw write datas 181 * 182 * Copy the source to the internal datas. Source must be of the corresponding size. 183 * 184 * \param src source buffer 185 */ 186 virtual void RawWrite(char *src) {};//todo put pure virtual 187 188 /*! 189 * \brief Raw read datas 190 * 191 * This method is automatically called by IODevice::ProcessUpdate to log 192 * io_data datas. \n 193 * This method must be reimplemented, in order to copy the datas to the logs. 194 * Copy the internal datas to destination. Destination must be of the corresponding size. 195 * 196 * \param dst destination buffer 197 */ 198 virtual void RawRead(char *dst) const = 0; 199 178 200 179 201 protected: … … 208 230 209 231 private: 210 /*!211 * \brief Copy datas212 *213 * This method is automatically called by IODevice::ProcessUpdate to log214 *io_data datas. \n215 * This method must be reimplemented, in order to copy the datas to the logs.216 * Copied datas must be of size io_data::Size.217 *218 * \param dst destination buffer219 */220 virtual void CopyDatas(char *dst) const = 0;221 222 232 io_data_impl *pimpl_; 223 233 }; -
trunk/include/FlairFilter/Pid.h
r13 r76 58 58 */ 59 59 void Reset(void); 60 61 /*! 62 * \brief Get intergral part 63 * 64 * \return current integral part 65 */ 66 float GetIntegral(void) const; 67 60 68 61 69 /*! -
trunk/include/FlairSensorActuator/TargetController.h
r68 r76 82 82 // axis stuff 83 83 unsigned int axisNumber; 84 core::Matrix *axis = NULL;84 core::Matrix *axis = nullptr; 85 85 virtual void AcquireAxisData(core::Matrix &axis) = 0; // responsible for 86 86 // getting the axis … … 90 90 // button stuff 91 91 unsigned int buttonNumber; 92 core::Matrix *button = NULL;92 core::Matrix *button = nullptr; 93 93 virtual void AcquireButtonData(core::Matrix &button) = 0; // responsible for 94 94 // getting the -
trunk/include/FlairSensorActuator/TargetEthController.h
r68 r76 77 77 core::TcpSocket *listeningSocket; 78 78 int listeningPort; 79 core::TcpSocket *controlSocket = NULL;79 core::TcpSocket *controlSocket = nullptr; 80 80 core::UdpSocket *dataSocket; 81 std::string *axisName = NULL;82 std::string *buttonName = NULL;81 std::string *axisName = nullptr; 82 std::string *buttonName = nullptr; 83 83 size_t dataFrameSize; 84 84 char *dataFrameBuffer; -
trunk/include/FlairVisionFilter/OpticalFlowData.h
r44 r76 129 129 130 130 OpticalFlowData::Type const &GetDataType() const {return dataType;} 131 132 /*! 133 * \brief Raw read datas 134 * 135 * Reimplemented from io_data. \n 136 * See io_data::RawRead. 137 * 138 * \param dst destination buffer 139 */ 140 void RawRead(char *dst) const; 131 141 132 142 private: … … 137 147 char *found_features; 138 148 uint32_t *features_error; 139 void CopyDatas(char* dst) const;140 149 Type dataType; 141 150 };
Note:
See TracChangeset
for help on using the changeset viewer.