summaryrefslogtreecommitdiff
path: root/includes/control/ControlReceiveInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/control/ControlReceiveInterface.h')
-rw-r--r--includes/control/ControlReceiveInterface.h31
1 files changed, 27 insertions, 4 deletions
diff --git a/includes/control/ControlReceiveInterface.h b/includes/control/ControlReceiveInterface.h
index bcdd451..9478794 100644
--- a/includes/control/ControlReceiveInterface.h
+++ b/includes/control/ControlReceiveInterface.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_0244757B_93AD_4fd4_83D0_7AB70C332042__INCLUDED_)
-#define EA_0244757B_93AD_4fd4_83D0_7AB70C332042__INCLUDED_
+#if !defined(EA_1D9028B1_EE8B_4860_B728_B37C63BA3D03__INCLUDED_)
+#define EA_1D9028B1_EE8B_4860_B728_B37C63BA3D03__INCLUDED_
#include <vector>
#include <string>
@@ -33,12 +33,13 @@ class SocketHandler;
}
+#define ControlReceiveVersion 1
namespace am {
/**
* This interface gives access to all important functions of the audiomanager that are used by the AudioManagerController to control the system.
* @author christian
* @version 1.0
- * @created 22-Dec-2011 12:55:17 AM
+ * @created 11-Jan-2012 9:19:58 PM
*/
class ControlReceiveInterface
{
@@ -126,6 +127,15 @@ namespace am {
*/
virtual am_Error_e setSourceVolume(am_Handle_s& handle, const am_sourceID_t sourceID, const am_volume_t volume, const am_RampType_e rampType, const am_time_t time) =0;
/**
+ * is used to set several sinkSoundProperties at a time
+ * @return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if property is out of range, E_NO_CHANGE if no change is neccessary
+ *
+ * @param handle
+ * @param sinkID
+ * @param soundProperty
+ */
+ virtual am_Error_e setSinkSoundProperties(am_Handle_s& handle, const am_sinkID_t sinkID, const std::vector<am_SoundProperty_s>& soundProperty) =0;
+ /**
* is used to set sinkSoundProperties
* @return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if property is out of range, E_NO_CHANGE if no change is neccessary
*
@@ -135,6 +145,15 @@ namespace am {
*/
virtual am_Error_e setSinkSoundProperty(am_Handle_s& handle, const am_sinkID_t sinkID, const am_SoundProperty_s& soundProperty) =0;
/**
+ * is used to set several SourceSoundProperties at a time
+ * @return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if property is out of range. E_NO_CHANGE if no change is neccessary
+ *
+ * @param handle
+ * @param sourceID
+ * @param soundProperty
+ */
+ virtual am_Error_e setSourceSoundProperties(am_Handle_s& handle, const am_sourceID_t sourceID, const std::vector<am_SoundProperty_s>& soundProperty) =0;
+ /**
* is used to set sourceSoundProperties
* @return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if property is out of range. E_NO_CHANGE if no change is neccessary
*
@@ -536,7 +555,11 @@ namespace am {
* @param socketHandler
*/
virtual am_Error_e getSocketHandler(SocketHandler*& socketHandler) =0;
+ /**
+ * This function returns the version of the interface
+ */
+ virtual uint16_t getInterfaceVersion() const =0;
};
}
-#endif // !defined(EA_0244757B_93AD_4fd4_83D0_7AB70C332042__INCLUDED_)
+#endif // !defined(EA_1D9028B1_EE8B_4860_B728_B37C63BA3D03__INCLUDED_)