summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Linke <Christian.Linke@bmw.de>2016-06-17 02:58:38 -0700
committerChristian Linke <Christian.Linke@bmw.de>2016-06-17 02:59:34 -0700
commit8f5563bd07f6d71b8358c9e9e84ea6551b60a734 (patch)
tree7c570a66fa6964a8f8ac2ff139ef385c165f6e92 /include
parent7918c698441c216e461f9995b16540ee5a8f1756 (diff)
downloadaudiomanager-8f5563bd07f6d71b8358c9e9e84ea6551b60a734.tar.gz
cleanup routing interface to add clean abort and resend possibilities7.5
Signed-off-by: Christian Linke <Christian.Linke@bmw.de>
Diffstat (limited to 'include')
-rw-r--r--include/IAmControl.h6
-rwxr-xr-xinclude/audiomanagertypes.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/include/IAmControl.h b/include/IAmControl.h
index 53526fe..1c02d37 100644
--- a/include/IAmControl.h
+++ b/include/IAmControl.h
@@ -644,6 +644,11 @@ public:
* is meant to be used if the audiomanager and a remote domain are out of sync.
*/
virtual am_Error_e resyncConnectionState(const am_domainID_t domainID, std::vector<am_Connection_s>& listOfExistingConnections) =0;
+ /**
+ * This function searches for a handle in the RoutingSender and removes it if found
+ * @return E_OK on success, handle removed, E_NON_EXISTENT in case the handle was not foud
+ */
+ virtual am_Error_e removeHandle(const am_Handle_s handle) = 0;
};
@@ -964,6 +969,7 @@ public:
*/
virtual void hookSystemSingleTimingInformationChanged(const am_connectionID_t connectionID, const am_timeSync_t time) =0;
+
};
}
#endif // !defined(EA_69597D9E_B0A3_4c6d_BBB6_E7F436B8B799__INCLUDED_)
diff --git a/include/audiomanagertypes.h b/include/audiomanagertypes.h
index d015737..b94c5ee 100755
--- a/include/audiomanagertypes.h
+++ b/include/audiomanagertypes.h
@@ -1000,7 +1000,8 @@ public:
* the handle as value
*/
uint16_t handle:10;
-
+
+ am_Handle_s():handleType(am_Handle_e::H_UNKNOWN),handle(0){ }
};
/**