mbed Connector Interface simplification API on top of mbed-client

Fork of mbedConnectorInterfaceV3 by Doug Anson

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!

Revision:
45:db754b994deb
Parent:
27:b8aaf7dc7023
--- a/mbed-connector-interface/NamedPointer.h	Wed Jun 15 19:40:08 2016 +0000
+++ b/mbed-connector-interface/NamedPointer.h	Wed Jun 15 20:51:13 2016 +0000
@@ -29,7 +29,7 @@
 class NamedPointer {
 public:
     // constructor
-    NamedPointer(string name,void *ptr);
+    NamedPointer(string name,void *ptr,int index);
     
     // copy constructor
     NamedPointer(const NamedPointer &np);
@@ -46,8 +46,12 @@
     // Get the associated list
     void *list();
     
+    // Get our associated index
+    int index();
+    
 private:
     string   m_name;
+    int      m_index;
     void    *m_ptr; 
     void    *m_list;