Changeset 25 in flair-dev for trunk/include/FlairCore
- Timestamp:
- Jun 23, 2016, 10:18:10 AM (9 years ago)
- Location:
- trunk/include/FlairCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairCore/ConnectedSocket.h
r14 r25 100 100 101 101 //!! See Socket.h for a more generic implementation of network/host endianness 102 // conversion102 // conversion 103 103 virtual uint16_t NetworkToHost16(uint16_t data) = 0; 104 104 virtual uint16_t HostToNetwork16(uint16_t data) = 0; -
trunk/include/FlairCore/IODevice.h
r13 r25 114 114 virtual DataType const &GetOutputDataType() const; 115 115 116 protected: 117 /*! 118 * \brief Process the childs of type IODevice, and log if needed 119 * 120 * This method must be called after computing datas; 121 * generally at the end of the reimplemented UpdateFrom or after acquiring 122 *datas in case of a sensor. \n 123 * It will call UpdateFrom methods of each child of type IODevice, 124 * and log all datas (this IODevice and its childs) 125 * if logging is enabled (see SetDataToLog(), AddDeviceToLog(), 126 * FrameworkManager::StartLog and FrameworkManager::AddDeviceToLog). \n 127 * If a thread is waiting on this IODevice (see Thread::WaitUpdate), it will be 128 *resumed. 129 * 130 * \param data data to process 131 */ 132 void ProcessUpdate(io_data *data); 116 Time lastUpdate; 117 protected: 118 /*! 119 * \brief Process the childs of type IODevice, and log if needed 120 * 121 * This method must be called after computing datas; 122 * generally at the end of the reimplemented UpdateFrom or after acquiring datas in case of a sensor. \n 123 * It will call UpdateFrom methods of each child of type IODevice, 124 * and log all datas (this IODevice and its childs) 125 * if logging is enabled (see SetDataToLog(), AddDeviceToLog(), 126 * FrameworkManager::StartLog and FrameworkManager::AddDeviceToLog). \n 127 * If a thread is waiting on this IODevice (see Thread::WaitUpdate), it will be resumed. 128 * 129 * \param data data to process 130 */ 131 void ProcessUpdate(io_data* data); 133 132 134 133 private:
Note:
See TracChangeset
for help on using the changeset viewer.