diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-09 12:38:18 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-09 12:38:18 +0100 |
commit | 84b90467e8e9dcaafaf75738f4bf9840365424b9 (patch) | |
tree | 7e79c272a8de465df63f742f0e894c462d0e61ae /PluginControlInterface/include/ControlSender.h | |
parent | 8d3ad577f57e0a45ef9c0e2f1ce99957445f0eb8 (diff) | |
download | audiomanager-84b90467e8e9dcaafaf75738f4bf9840365424b9.tar.gz |
* adoption of RoutinInterfaceAsync to testHMI
* adoption of projekttypes.h to HMI
* comment out wrapper dlt messages because too much pollution
Diffstat (limited to 'PluginControlInterface/include/ControlSender.h')
-rw-r--r-- | PluginControlInterface/include/ControlSender.h | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/PluginControlInterface/include/ControlSender.h b/PluginControlInterface/include/ControlSender.h index 834c432..d21856b 100644 --- a/PluginControlInterface/include/ControlSender.h +++ b/PluginControlInterface/include/ControlSender.h @@ -82,13 +82,34 @@ public: private: ControlReceiveInterface * mControlReceiveInterface; - struct handleStack + struct handleStatus { - bool ok; + bool status; am_Handle_s handle; }; - std::list<handleStack> mListOpenHandles; - am_mainConnectionID_t mCurrentID; + + struct mainConnectionSet + { + am_mainConnectionID_t connectionID; + std::vector<handleStatus> listHandleStaus; + }; + + class findHandle + { + am_Handle_s mHandle; + public: + explicit findHandle(am_Handle_s handle) : + mHandle(handle) + { + } + bool operator()(handleStatus* handle) const + { + return (handle->handle.handle == mHandle.handle); + } + }; + + std::vector<mainConnectionSet> mListOpenConnections; + ; }; #endif /* CONTROLSENDER_H_ */ |