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@39:13e66d087ae9, 2018-10-19 (annotated)
- Committer:
- patrick_duc
- Date:
- Fri Oct 19 15:08:35 2018 +0000
- Branch:
- Integration
- Revision:
- 39:13e66d087ae9
- Parent:
- 37:b565750d9978
Suite d'int?gration (ne compile pas encore).
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 | 39:13e66d087ae9 | 15 | DataMessagePart() { |
| patrick_duc | 39:13e66d087ae9 | 16 | } |
| patrick_duc | 39:13e66d087ae9 | 17 | |
| patrick_duc | 37:b565750d9978 | 18 | virtual ~DataMessagePart() { |
| patrick_duc | 37:b565750d9978 | 19 | } |
| patrick_duc | 37:b565750d9978 | 20 | |
| patrick_duc | 37:b565750d9978 | 21 | virtual void serialize(std::string & result) = 0; // Updates the argument string to represents the data to be sent to gateway |
| patrick_duc | 37:b565750d9978 | 22 | }; |
| patrick_duc | 37:b565750d9978 | 23 | |
| patrick_duc | 37:b565750d9978 | 24 | #endif // __DATAMESSAGEPART_HPP__ |
