use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/NamedPointer.h
- 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;