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: BaseClass.cpp
- Revision:
- 192:54b758a8eaaa
- Parent:
- 155:582462821bd7
--- a/BaseClass.cpp Wed Sep 24 19:12:35 2014 +0000 +++ b/BaseClass.cpp Fri Sep 26 05:16:07 2014 +0000 @@ -20,8 +20,8 @@ #include "BaseClass.h" // default constructor - BaseClass::BaseClass(ErrorHandler *error_handler,void *endpoint) { - this->m_error_handler = error_handler; + BaseClass::BaseClass(Logger *logger,void *endpoint) { + this->m_logger = logger; this->m_endpoint = endpoint; } @@ -29,8 +29,8 @@ BaseClass::~BaseClass() { } - // ErrorHandler accessor - ErrorHandler *BaseClass::logger() { return this->m_error_handler; } + // Logger accessor + Logger *BaseClass::logger() { return this->m_logger; } // Endpoint accessor void *BaseClass::getEndpoint() { return this->m_endpoint; }