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: MBEDio.h
- Revision:
- 135:7f3f963cd159
- Parent:
- 125:979332edc1c2
- Child:
- 192:54b758a8eaaa
diff -r 58e7537a8c5f -r 7f3f963cd159 MBEDio.h --- a/MBEDio.h Fri Mar 28 16:24:12 2014 +0000 +++ b/MBEDio.h Fri Mar 28 17:49:10 2014 +0000 @@ -19,20 +19,16 @@ #ifndef _MBED_IO_H_ #define _MBED_IO_H_ - // ErrorHandler support - #include "ErrorHandler.h" + // BaseClass support + #include "BaseClass.h" // Resource support #include "Resource.h" - class MBEDio { - protected: - ErrorHandler *m_error_handler; - Resource *m_resource; - + class MBEDio : public BaseClass { public: MBEDio(ErrorHandler *error_handler,Resource *resource); - ~MBEDio(); + virtual ~MBEDio(); float floatValue(); int intValue(); @@ -41,7 +37,6 @@ virtual void update() = 0; Resource *resource(); - ErrorHandler *logger(); }; #endif // _MBED_IO_H_ \ No newline at end of file