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: EthernetNetIf RPCInterface mbed HTTPServer
CmdListObjects/TList.h@0:8b3857d4ce02, 2012-04-16 (annotated)
- Committer:
- botdream
- Date:
- Mon Apr 16 09:41:53 2012 +0000
- Revision:
- 0:8b3857d4ce02
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
botdream | 0:8b3857d4ce02 | 1 | //--------------------------------------------------------------------------------------------- |
botdream | 0:8b3857d4ce02 | 2 | #include "mbed.h" |
botdream | 0:8b3857d4ce02 | 3 | //--------------------------------------------------------------------------------------------- |
botdream | 0:8b3857d4ce02 | 4 | class TList |
botdream | 0:8b3857d4ce02 | 5 | { |
botdream | 0:8b3857d4ce02 | 6 | private: |
botdream | 0:8b3857d4ce02 | 7 | |
botdream | 0:8b3857d4ce02 | 8 | public: |
botdream | 0:8b3857d4ce02 | 9 | TList *nextobject; |
botdream | 0:8b3857d4ce02 | 10 | |
botdream | 0:8b3857d4ce02 | 11 | uint8_t cmdtype; |
botdream | 0:8b3857d4ce02 | 12 | void *cmdobject; |
botdream | 0:8b3857d4ce02 | 13 | |
botdream | 0:8b3857d4ce02 | 14 | TList(){}; |
botdream | 0:8b3857d4ce02 | 15 | }; |
botdream | 0:8b3857d4ce02 | 16 | //--------------------------------------------------------------------------------------------- |
botdream | 0:8b3857d4ce02 | 17 | // Global helper function |
botdream | 0:8b3857d4ce02 | 18 | //--------------------------------------------------------------------------------------------- |
botdream | 0:8b3857d4ce02 | 19 | uint8_t GetListCount(); |
botdream | 0:8b3857d4ce02 | 20 | TList *GetListFirstObject(); |
botdream | 0:8b3857d4ce02 | 21 | uint8_t DeleteListFirstObject(); |
botdream | 0:8b3857d4ce02 | 22 | TList *SetListNextObject(); |
botdream | 0:8b3857d4ce02 | 23 | //--------------------------------------------------------------------------------------------- |