Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: ResourceFactory.h
- Revision:
- 25:2a001b4f7024
- Parent:
- 21:cfdaee0a2b50
- Child:
- 26:791d22d43cb4
diff -r b45d4ef84a64 -r 2a001b4f7024 ResourceFactory.h --- a/ResourceFactory.h Thu Feb 27 00:23:20 2014 +0000 +++ b/ResourceFactory.h Thu Feb 27 04:05:31 2014 +0000 @@ -44,6 +44,8 @@ virtual void createResources(char *endpoint_name); char *getResourceValue(char *name); bool setResourceValue(char *name, char *value); + int numResources(); + Resource *getResource(int index); protected: virtual void createResource(char *endpoint_name,char *name,char *value,void *internals);