Changeset 252 in flair-src for trunk/lib/FlairCore/src/io_data.h
- Timestamp:
- Jul 5, 2018, 5:57:08 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/io_data.h
r223 r252 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 };
Note:
See TracChangeset
for help on using the changeset viewer.