mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
NOTE:
This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!
Diff: mbed-connector-interface/ObjectInstanceManager.h
- Revision:
- 45:db754b994deb
- Parent:
- 27:b8aaf7dc7023
--- a/mbed-connector-interface/ObjectInstanceManager.h Wed Jun 15 19:40:08 2016 +0000 +++ b/mbed-connector-interface/ObjectInstanceManager.h Wed Jun 15 20:51:13 2016 +0000 @@ -77,11 +77,17 @@ Get our Object List */ NamedPointerList getObjectList(); + + /** + Get the instance number of the just-created ResourceInstance + */ + int getLastCreatedInstanceNumber(); protected: Logger *m_logger; void *m_ep; NamedPointerList m_object_list; + int m_instance_number; private: // Generic Static and Dynamic Resource Instances/Objects