diff options
Diffstat (limited to 'includes/control/ControlSendInterface.h')
-rw-r--r-- | includes/control/ControlSendInterface.h | 18 |
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_) |