Code written by Paul Rabbat, Angel Daruna, Jarel Hawkins, and Cordel Williams

Dependencies:   4DGL-uLCD-SE EthernetInterface HTTPClient NTPClient PinDetect SDFileSystem mbed-rpc mbed-rtos mbed wave_player

Fork of ECE4180_FinalProject by Angel Daruna

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RPCObjectManager.h Source File

RPCObjectManager.h

00001 #ifndef RPCOBJECTMANAGER
00002 #define RPCOBJECTMANAGER
00003 
00004 #include <list>
00005 
00006 class RPCObjectManager
00007 {
00008     public :
00009         
00010         static RPCObjectManager& instance();
00011         
00012         void store_object(char *obj_name);
00013         void remove_object(char *obj_name);
00014         bool lookup_object(char *obj_name);
00015         
00016         std::list<char*>::iterator begin();
00017         std::list<char*>::iterator end();
00018 
00019         bool is_empty();
00020         
00021     private :
00022     
00023         RPCObjectManager();
00024         ~RPCObjectManager();
00025         
00026         std::list<char*> objects;
00027 };
00028 #endif
00029