summaryrefslogtreecommitdiff
path: root/include/routing/IAmRoutingReceive.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/routing/IAmRoutingReceive.h')
-rw-r--r--include/routing/IAmRoutingReceive.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/routing/IAmRoutingReceive.h b/include/routing/IAmRoutingReceive.h
index fd88178..2d61f9e 100644
--- a/include/routing/IAmRoutingReceive.h
+++ b/include/routing/IAmRoutingReceive.h
@@ -19,8 +19,8 @@
*
* THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
*/
-#if !defined(EA_36ADD7D1_5B51_4364_9C3B_4839230FAAC2__INCLUDED_)
-#define EA_36ADD7D1_5B51_4364_9C3B_4839230FAAC2__INCLUDED_
+#if !defined(EA_B7A11CC8_9777_4421_8677_D9CE084D5E2B__INCLUDED_)
+#define EA_B7A11CC8_9777_4421_8677_D9CE084D5E2B__INCLUDED_
#include <vector>
#include <string>
@@ -47,7 +47,7 @@ namespace am {
* call pattern described on the wiki which also helps to implement calls that are forbidden.\n
* For more information, please check CAmSerializer
* @author Christian Mueller
- * @created 16-Dez-2012 15:58:16
+ * @created 17-Jan-2013 10:00:25
*/
class IAmRoutingReceive
{
@@ -373,7 +373,7 @@ namespace am {
* @param listSinkFormats
* @param convertionMatrix
*/
- virtual am_Error_e updateGateway(const am_gatewayID_t gatewayID, std::vector<am_ConnectionFormat_e> listSourceFormats, const std::vector<am_ConnectionFormat_e> listSinkFormats, std::vector<bool> convertionMatrix) =0;
+ virtual am_Error_e updateGateway(const am_gatewayID_t gatewayID, const std::vector<am_ConnectionFormat_e>& listSourceFormats, const std::vector<am_ConnectionFormat_e>& listSinkFormats, const std::vector<bool>& convertionMatrix) =0;
/**
* updates data of an gateway. @return E_OK on success, E_NON_EXISTENT if the sinkID is not valid.
*
@@ -383,7 +383,7 @@ namespace am {
* @param listConnectionFormats
* @param listMainSoundProperties
*/
- virtual am_Error_e updateSink(const am_sinkID_t sinkID, const am_sinkClass_t sinkClassID, const std::vector<am_SoundProperty_s> listSoundProperties, const std::vector<am_ConnectionFormat_e> listConnectionFormats, std::vector<am_MainSoundProperty_s> listMainSoundProperties) =0;
+ virtual am_Error_e updateSink(const am_sinkID_t sinkID, const am_sinkClass_t sinkClassID, const std::vector<am_SoundProperty_s>& listSoundProperties, const std::vector<am_ConnectionFormat_e>& listConnectionFormats, const std::vector<am_MainSoundProperty_s>& listMainSoundProperties) =0;
/**
* updates data of an source. @return E_OK on success, E_NON_EXISTENT if the sourceID in the struct is not valid.
* Please note that only the following data out of am_Source_s have effect when they are changed:
@@ -398,16 +398,16 @@ namespace am {
* @param listConnectionFormats
* @param listMainSoundProperties
*/
- virtual am_Error_e updateSource(const am_sourceID_t sourceID, const am_sourceClass_t sourceClassID, std::vector<am_SoundProperty_s> listSoundProperties, std::vector<am_ConnectionFormat_e> listConnectionFormats, const std::vector<am_MainSoundProperty_s> listMainSoundProperties) =0;
+ virtual am_Error_e updateSource(const am_sourceID_t sourceID, const am_sourceClass_t sourceClassID, const std::vector<am_SoundProperty_s>& listSoundProperties, const std::vector<am_ConnectionFormat_e>& listConnectionFormats, const std::vector<am_MainSoundProperty_s>& listMainSoundProperties) =0;
/**
- * acknowledges a asyncsetSinkVolume
+ * acknowledges a asyncSetSinkVolumes
*
* @param handle
* @param listvolumes The list of volumes that have been set. ramp and time values have no meaning when the struct is
* used here.
* @param error E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
*/
- virtual void ackSetVolumes(const am_Handle_s handle, const std::vector<am_Volumes_s> listvolumes, const am_Error_e error) =0;
+ virtual void ackSetVolumes(const am_Handle_s handle, const std::vector<am_Volumes_s>& listvolumes, const am_Error_e error) =0;
/**
* The acknowledge of the SinkNotificationConfiguration
*
@@ -428,15 +428,15 @@ namespace am {
* @param sinkID The sinkID of the sink where the data changed
* @param payload The payload
*/
- virtual void hookSinkNotificationDataChange(const am_sinkID_t sinkID, const am_NotificationPayload_s payload) =0;
+ virtual void hookSinkNotificationDataChange(const am_sinkID_t sinkID, const am_NotificationPayload_s& payload) =0;
/**
* is called whenever a notified value needs to be send
*
* @param sourceID The sinkID of the sink where the data changed
* @param payload The payload
*/
- virtual void hookSourceNotificationDataChange(const am_sourceID_t sourceID, const am_NotificationPayload_s payload) =0;
+ virtual void hookSourceNotificationDataChange(const am_sourceID_t sourceID, const am_NotificationPayload_s& payload) =0;
};
}
-#endif // !defined(EA_36ADD7D1_5B51_4364_9C3B_4839230FAAC2__INCLUDED_)
+#endif // !defined(EA_B7A11CC8_9777_4421_8677_D9CE084D5E2B__INCLUDED_)