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: Light.h
- Revision:
- 28:52b7ca6aacd6
- Parent:
- 21:cfdaee0a2b50
- Child:
- 29:9a99f076129a
diff -r be7de89f3fa6 -r 52b7ca6aacd6 Light.h --- a/Light.h Thu Feb 27 06:28:33 2014 +0000 +++ b/Light.h Fri Feb 28 03:10:53 2014 +0000 @@ -35,6 +35,8 @@ void *m_dimmer_action; void *m_switch_action; + + int m_ioc_id; public: Light(ErrorHandler *error_handler,Transport *transports[NUM_TRANSPORTS],int instance,void *endpoint); @@ -54,6 +56,9 @@ virtual void off(); virtual void dim(int value); + void setIOCID(int id); + int getIOCID(); + protected: void *getDimmerAction(); void *getSwitchAction();