Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
29:9a99f076129a
Parent:
28:52b7ca6aacd6
Child:
87:e9d77e9f9eae
--- a/Light.h	Fri Feb 28 03:10:53 2014 +0000
+++ b/Light.h	Fri Feb 28 04:56:16 2014 +0000
@@ -25,6 +25,9 @@
 // ResourceFactory
 #include "ResourceFactory.h"
 
+// Philips Light Support
+#include "PhilipsLight.h"
+
 class Light {
     private:
         ErrorHandler      *m_error_handler;
@@ -37,6 +40,7 @@
         void              *m_switch_action;
         
         int                m_ioc_id;
+        PhilipsLight      *m_pl;
     
     public:
         Light(ErrorHandler *error_handler,Transport *transports[NUM_TRANSPORTS],int instance,void *endpoint);
@@ -61,7 +65,10 @@
         
     protected:
         void *getDimmerAction();
-        void *getSwitchAction();     
+        void *getSwitchAction(); 
+        
+    private:
+        PhilipsLight *pl();    
 };
 
 #endif // _LIGHT_H_
\ No newline at end of file