summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-01-24 17:07:25 +0100
committerchristian mueller <christian.ei.mueller@bmw.de>2012-01-24 17:07:25 +0100
commitaf0ba5b505b361679c07899187b7043d867742c3 (patch)
treec0b463cbe355883c7606cfacbf9c19eaef2506cb /includes
parent4fe50302a695c625d5161b538da771b2c36bd33e (diff)
downloadaudiomanager-af0ba5b505b361679c07899187b7043d867742c3.tar.gz
* finalized Router implementation
* added new generated ControlSendInterface with router support
Diffstat (limited to 'includes')
-rw-r--r--includes/control/ControlSendInterface.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/includes/control/ControlSendInterface.h b/includes/control/ControlSendInterface.h
index 8d2f299..9c1fa7a 100644
--- a/includes/control/ControlSendInterface.h
+++ b/includes/control/ControlSendInterface.h
@@ -22,8 +22,8 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_F5981A51_5790_4c74_A384_3600DFC50AF5__INCLUDED_)
-#define EA_F5981A51_5790_4c74_A384_3600DFC50AF5__INCLUDED_
+#if !defined(EA_7E13E25E_46FA_4211_BD7C_7169D8F7D065__INCLUDED_)
+#define EA_7E13E25E_46FA_4211_BD7C_7169D8F7D065__INCLUDED_
#include <vector>
#include <string>
@@ -40,7 +40,7 @@ namespace am {
* All the hooks represent system events that need to be handled. The callback functions are used to handle for example answers to function calls on the AudioManagerCoreInterface.
* @author christian
* @version 1.0
- * @created 11-Jan-2012 9:55:56 PM
+ * @created 19-Jan-2012 4:32:01 PM
*/
class ControlSendInterface
{
@@ -342,6 +342,16 @@ namespace am {
*/
virtual void cbAckSetSinkSoundProperty(const am_Handle_s handle, const am_Error_e error) =0;
/**
+ * This function is used by the routing algorithm to retrieve a priorized list of connectionFormats from the Controller.
+ * @return E_OK in case of successfull priorisation.
+ *
+ * @param sourceID sourceID of source that shall be connected
+ * @param sinkID sinkID of sink that shall be connected
+ * @param listPossibleConnectionFormats list of possible connectionformats
+ * @param listPrioConnectionFormats the list return with prioos from the controller. Best choice on first position.
+ */
+ virtual am_Error_e getConnectionFormatChoice(const am_sourceID_t sourceID, const am_sinkID_t sinkID, const std::vector<am_ConnectionFormat_e> listPossibleConnectionFormats, std::vector<am_ConnectionFormat_e>& listPrioConnectionFormats) =0;
+ /**
* This function returns the version of the interface
* returns E_OK, E_UNKOWN if version is unknown.
*/
@@ -349,4 +359,4 @@ namespace am {
};
}
-#endif // !defined(EA_F5981A51_5790_4c74_A384_3600DFC50AF5__INCLUDED_)
+#endif // !defined(EA_7E13E25E_46FA_4211_BD7C_7169D8F7D065__INCLUDED_)