Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DmTftLibrary eeprom SX1280Lib filesystem mbed
Fork of MSNV2-Terminal_V1-5 by
messages/DataMessagePart.hpp@37:b565750d9978, 2018-10-16 (annotated)
- Committer:
- patrick_duc
- Date:
- Tue Oct 16 11:28:33 2018 +0000
- Branch:
- Integration
- Revision:
- 37:b565750d9978
- Child:
- 39:13e66d087ae9
Suite d'integration
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| patrick_duc | 37:b565750d9978 | 1 | #ifndef __DATAMESSAGEPART_HPP__ |
| patrick_duc | 37:b565750d9978 | 2 | #define __DATAMESSAGEPART_HPP__ |
| patrick_duc | 37:b565750d9978 | 3 | |
| patrick_duc | 37:b565750d9978 | 4 | #include <string> |
| patrick_duc | 37:b565750d9978 | 5 | |
| patrick_duc | 37:b565750d9978 | 6 | #include "Context.h" |
| patrick_duc | 37:b565750d9978 | 7 | |
| patrick_duc | 37:b565750d9978 | 8 | |
| patrick_duc | 37:b565750d9978 | 9 | namespace misnet { |
| patrick_duc | 37:b565750d9978 | 10 | class DataMessagePart; |
| patrick_duc | 37:b565750d9978 | 11 | } |
| patrick_duc | 37:b565750d9978 | 12 | |
| patrick_duc | 37:b565750d9978 | 13 | class misnet::DataMessagePart { |
| patrick_duc | 37:b565750d9978 | 14 | public: |
| patrick_duc | 37:b565750d9978 | 15 | virtual ~DataMessagePart() { |
| patrick_duc | 37:b565750d9978 | 16 | DEBUG("Building DataMessagePart..."); |
| patrick_duc | 37:b565750d9978 | 17 | } |
| patrick_duc | 37:b565750d9978 | 18 | |
| patrick_duc | 37:b565750d9978 | 19 | virtual void serialize(std::string & result) = 0; // Updates the argument string to represents the data to be sent to gateway |
| patrick_duc | 37:b565750d9978 | 20 | }; |
| patrick_duc | 37:b565750d9978 | 21 | |
| patrick_duc | 37:b565750d9978 | 22 | #endif // __DATAMESSAGEPART_HPP__ |
