Webserver only w/o any other functions, single thread. Running on STM32F013+W5500
Dependencies: NTPClient W5500Interface Watchdog device_configuration eeprom_flash mbed-rpc-nucleo mbed-rtos mbed
Fork of F103-Serial-to-Ethernet by
RPCObjectManager.h@47:d92d2c5b8073, 2016-08-19 (annotated)
- Committer:
- olympux
- Date:
- Fri Aug 19 20:17:00 2016 +0000
- Revision:
- 47:d92d2c5b8073
- Parent:
- 40:c966abbe2d62
forked to create a new repo for webserver on F103+W5500. No other functions
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
olympux | 40:c966abbe2d62 | 1 | #ifndef RPCOBJECTMANAGER |
olympux | 40:c966abbe2d62 | 2 | #define RPCOBJECTMANAGER |
olympux | 40:c966abbe2d62 | 3 | |
olympux | 40:c966abbe2d62 | 4 | #include <list> |
olympux | 40:c966abbe2d62 | 5 | |
olympux | 40:c966abbe2d62 | 6 | class RPCObjectManager |
olympux | 40:c966abbe2d62 | 7 | { |
olympux | 40:c966abbe2d62 | 8 | public : |
olympux | 40:c966abbe2d62 | 9 | |
olympux | 40:c966abbe2d62 | 10 | static RPCObjectManager& instance(); |
olympux | 40:c966abbe2d62 | 11 | |
olympux | 40:c966abbe2d62 | 12 | void store_object(char *obj_name); |
olympux | 40:c966abbe2d62 | 13 | void remove_object(char *obj_name); |
olympux | 40:c966abbe2d62 | 14 | bool lookup_object(char *obj_name); |
olympux | 40:c966abbe2d62 | 15 | |
olympux | 40:c966abbe2d62 | 16 | std::list<char*>::iterator begin(); |
olympux | 40:c966abbe2d62 | 17 | std::list<char*>::iterator end(); |
olympux | 40:c966abbe2d62 | 18 | |
olympux | 40:c966abbe2d62 | 19 | bool is_empty(); |
olympux | 40:c966abbe2d62 | 20 | |
olympux | 40:c966abbe2d62 | 21 | private : |
olympux | 40:c966abbe2d62 | 22 | |
olympux | 40:c966abbe2d62 | 23 | RPCObjectManager(); |
olympux | 40:c966abbe2d62 | 24 | ~RPCObjectManager(); |
olympux | 40:c966abbe2d62 | 25 | |
olympux | 40:c966abbe2d62 | 26 | std::list<char*> objects; |
olympux | 40:c966abbe2d62 | 27 | }; |
olympux | 40:c966abbe2d62 | 28 | #endif |
olympux | 40:c966abbe2d62 | 29 |