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: MBEDToIOCResourceMap.h
- Revision:
- 135:7f3f963cd159
- Parent:
- 47:fa96ddc36f04
- Child:
- 192:54b758a8eaaa
--- a/MBEDToIOCResourceMap.h Fri Mar 28 16:24:12 2014 +0000 +++ b/MBEDToIOCResourceMap.h Fri Mar 28 17:49:10 2014 +0000 @@ -19,18 +19,17 @@ #ifndef _MBEDTOIOCRESOURCEMAP_H_ #define _MBEDTOIOCRESOURCEMAP_H_ -#include "ErrorHandler.h" +#include "BaseClass.h" #include "MapEntry.h" -class MBEDToIOCResourceMap { +class MBEDToIOCResourceMap : public BaseClass { private: - ErrorHandler *m_error_handler; MapEntry *m_map[NUM_MAPPINGS]; int m_count; public: MBEDToIOCResourceMap(ErrorHandler *error_handler); - ~MBEDToIOCResourceMap(); + virtual ~MBEDToIOCResourceMap(); char *iocNameToEndpointName(char *ioc_name); char *endpointNameToIOCName(char *mbed_name); @@ -38,7 +37,6 @@ private: void createMap(); char *convertFromNickName(char *ioc_name); - ErrorHandler *logger(); }; #endif // _MBEDTOIOCRESOURCEMAP_H_ \ No newline at end of file