From 8f5563bd07f6d71b8358c9e9e84ea6551b60a734 Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Fri, 17 Jun 2016 02:58:38 -0700 Subject: cleanup routing interface to add clean abort and resend possibilities Signed-off-by: Christian Linke --- include/IAmControl.h | 6 ++++++ include/audiomanagertypes.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'include') 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& 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){ } }; /** -- cgit v1.2.1