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:
- 125:979332edc1c2
- Parent:
- 60:76728655fa12
- Child:
- 134:58e7537a8c5f
diff -r 6e9d10b1277a -r 979332edc1c2 Resource.cpp --- a/Resource.cpp Fri Mar 21 03:18:46 2014 +0000 +++ b/Resource.cpp Mon Mar 24 19:29:30 2014 +0000 @@ -93,6 +93,9 @@ this->m_io = io; } + // get the base I/O + void *Resource::getIO() { return this->m_io; } + // set the internal resource linkage void Resource::setCallbackPointer(void *cb) { this->m_cb = cb; } void *Resource::getCallbackPointer() { return this->m_cb; }