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:
21:cfdaee0a2b50
Parent:
9:90fadae5489a
Child:
26:791d22d43cb4
--- a/Resource.h	Wed Feb 26 18:59:01 2014 +0000
+++ b/Resource.h	Wed Feb 26 21:29:18 2014 +0000
@@ -44,11 +44,13 @@
                 
         virtual void plumb(char *endpoint_name,char *name);
         virtual void extract(char *name);
+        
+        void *getCallbackPointer();
     
     protected:
         char *endpoint();
         void  setCallbackPointer(void *cb);
-        void *getCallbackPointer();
+        
         
     private:
         int  min(int value1, int value2);