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: Resource.cpp
- Revision:
- 26:791d22d43cb4
- Parent:
- 19:0e62467605e9
- Child:
- 40:eae89a487d86
--- a/Resource.cpp Thu Feb 27 04:05:31 2014 +0000 +++ b/Resource.cpp Thu Feb 27 06:04:52 2014 +0000 @@ -29,21 +29,8 @@ this->plumb(endpoint_name,name); } - // copy constructor - Resource::Resource(const Resource &resource) { - this->m_error_handler = resource.m_error_handler; - memset(this->m_name,0,RESOURCE_NAME_LEN+1); - memset(this->m_value,0,RESOURCE_VALUE_LEN+1); - this->setCallbackPointer(resource.m_cb); - this->setName((char *)resource.m_name); - this->setValue((char *)resource.m_value); - this->plumb((char *)resource.m_endpoint_name,(char *)resource.m_name); - this->setCallbackPointer(resource.m_cb); - } - // default destructor Resource::~Resource() { - } // get the error handler