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:
135:7f3f963cd159
Parent:
21:cfdaee0a2b50
Child:
192:54b758a8eaaa
--- a/Action.cpp	Fri Mar 28 16:24:12 2014 +0000
+++ b/Action.cpp	Fri Mar 28 17:49:10 2014 +0000
@@ -19,13 +19,9 @@
  #include "Action.h"
  
  // default constructor
- Action::Action(ErrorHandler *error_handler) {
-    this->m_error_handler = error_handler;
+ Action::Action(ErrorHandler *error_handler) : BaseClass(error_handler,NULL) {
  }
  
  // destructor
  Action::~Action() {
  }
- 
- // get the error handler
- ErrorHandler *Action::logger() { return this->m_error_handler; }