summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceCAPI
diff options
context:
space:
mode:
authorChristian Linke <christian.linke@bmw.de>2013-09-09 18:40:19 +0200
committerChristian Linke <christian.linke@bmw.de>2013-09-09 18:40:19 +0200
commitdb8583483517265e9d6b0fdb3add2cad2cdbcca9 (patch)
tree5bcc78fc3ab73e04e1a6d7f37914334709ea2c65 /PluginRoutingInterfaceCAPI
parent67b6d070bdea90463aab419d516186f498ebc6d6 (diff)
downloadaudiomanager-db8583483517265e9d6b0fdb3add2cad2cdbcca9.tar.gz
* some naming adoptions & review for GENIVI
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'PluginRoutingInterfaceCAPI')
-rw-r--r--PluginRoutingInterfaceCAPI/fidl/RoutingInterface.fidl1305
-rwxr-xr-xPluginRoutingInterfaceCAPI/fidl/RoutingSender.fidl158
-rwxr-xr-xPluginRoutingInterfaceCAPI/fidl/amTypes.fidl399
-rw-r--r--PluginRoutingInterfaceCAPI/fidl/deployment.fdepl9
-rw-r--r--PluginRoutingInterfaceCAPI/include/CAmLookupData.h73
-rw-r--r--PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCAPI.h2
-rw-r--r--PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCommon.h56
-rw-r--r--PluginRoutingInterfaceCAPI/include/CAmRoutingService.h97
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp910
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.h1532
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControl.h55
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusProxy.cpp333
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusProxy.h95
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.cpp225
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.h46
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserver.h55
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusProxy.cpp869
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusProxy.h182
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusStubAdapter.cpp551
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusStubAdapter.h47
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverProxy.h (renamed from PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceProxy.h)581
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverProxyBase.h221
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStub.h178
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.cpp239
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h154
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlProxy.h (renamed from PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderProxy.h)262
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlProxyBase.h105
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStub.h112
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStubDefault.cpp92
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStubDefault.h87
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterface.h66
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusProxy.cpp920
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusProxy.h201
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusStubAdapter.cpp562
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusStubAdapter.h59
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceProxyBase.h242
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceStub.h198
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceStubDefault.cpp229
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceStubDefault.h160
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSender.h66
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderDBusProxy.cpp344
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderDBusProxy.h106
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderDBusStubAdapter.cpp237
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderDBusStubAdapter.h57
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderProxyBase.h116
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderStub.h123
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderStubDefault.cpp103
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderStubDefault.h98
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/am_gen.cpp587
-rw-r--r--PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/am_gen.h1764
-rw-r--r--PluginRoutingInterfaceCAPI/src/CAmLookupData.cpp274
-rw-r--r--PluginRoutingInterfaceCAPI/src/CAmRoutingSenderCAPI.cpp43
-rw-r--r--PluginRoutingInterfaceCAPI/src/CAmRoutingSenderCommon.cpp134
-rw-r--r--PluginRoutingInterfaceCAPI/src/CAmRoutingService.cpp264
-rw-r--r--PluginRoutingInterfaceCAPI/test/CAmRoutingInterfaceCAPITests.cpp706
-rw-r--r--PluginRoutingInterfaceCAPI/test/CAmRoutingInterfaceCAPITests.h6
-rw-r--r--PluginRoutingInterfaceCAPI/test/CAmRoutingSenderService.cpp90
-rw-r--r--PluginRoutingInterfaceCAPI/test/CAmRoutingSenderService.h49
-rw-r--r--PluginRoutingInterfaceCAPI/test/cmake/CAmRoutingSenderService.h.in49
59 files changed, 8218 insertions, 8665 deletions
diff --git a/PluginRoutingInterfaceCAPI/fidl/RoutingInterface.fidl b/PluginRoutingInterfaceCAPI/fidl/RoutingInterface.fidl
index 6e1346b..877b75c 100644
--- a/PluginRoutingInterfaceCAPI/fidl/RoutingInterface.fidl
+++ b/PluginRoutingInterfaceCAPI/fidl/RoutingInterface.fidl
@@ -1,462 +1,845 @@
-package org.genivi.audiomanager
-
-import org.genivi.audiomanager.am_gen.* from "amTypes.fidl"
-
-
-interface RoutingInterface
-{
- version { major 0 minor 1 }
-
- method ackConnect
- {
- in
- {
- UInt16 handle
- am_connectionID_t connectionID
- UInt16 ^error
- }
- }
- method ackDisconnect
- {
- in
- {
- UInt16 handle
- am_connectionID_t connectionID
- UInt16 ^error
- }
- }
- method ackSetSinkVolume
- {
- in
- {
- UInt16 handle
- am_volume_t volume
- UInt16 ^error
- }
- }
- method ackSetSourceVolume
- {
- in
- {
- UInt16 handle
- am_volume_t volume
- UInt16 ^error
- }
- }
- method ackSetSourceState
- {
- in
- {
- UInt16 handle
- UInt16 ^error
- }
- }
- method ackSetSinkSoundProperties
- {
- in
- {
- UInt16 handle
- UInt16 ^error
- }
- }
- method ackSetSinkSoundProperty
- {
- in
- {
- UInt16 handle
- UInt16 ^error
- }
- }
- method ackSetSourceSoundProperties
- {
- in
- {
- UInt16 handle
- UInt16 ^error
- }
- }
- method ackSetSourceSoundProperty
- {
- in
- {
- UInt16 handle
- UInt16 ^error
- }
- }
- method ackSourceVolumeTick
- {
- in
- {
- UInt16 handle
- am_sourceID_t source
- am_volume_t volume
- }
- }
- method ackSinkVolumeTick
- {
- in
- {
- UInt16 handle
- am_sinkID_t sink
- am_volume_t volume
- }
- }
- method ackCrossFading
- {
- in
- {
- UInt16 handle
- am_HotSink_e hotSink
- am_Error_e returnError
- }
- }
- method peekDomain
- {
- in
- {
- String name
- }
-
- out
- {
- am_domainID_t domainID
- am_Error_e ^error
- }
- }
- method registerDomain
- {
- in
- {
- am_Domain_s domainData
- String returnBusname
- String returnPath
- String returnInterface
- }
- out
- {
- am_domainID_t domainID
- am_Error_e ^error
- }
- }
- method deregisterDomain
- {
- in
- {
- am_domainID_t domainID
- }
- out
- {
- am_Error_e ^returnError
- }
- }
- method registerGateway
- {
- in
- {
- am_Gateway_s gatewayData
- }
- out
- {
- am_gatewayID_t gatewayID
- am_Error_e ^error
- }
- }
- method deregisterGateway
- {
- in
- {
- am_gatewayID_t gatewayID
- }
- out
- {
- am_Error_e ^returnError
- }
- }
- method peekSink
- {
- in
- {
- String name
- }
-
- out
- {
- am_sinkID_t sinkID
- am_Error_e ^error
- }
- }
- method registerSink
- {
- in
- {
- sinkData_s sinkData
- }
- out
- {
- am_sinkID_t sinkID
- am_Error_e ^error
- }
- }
- method deregisterSink
- {
- in
- {
- am_sinkID_t sinkID
- }
- out
- {
- am_Error_e ^returnError
- }
- }
- method peekSource
- {
- in
- {
- String name
- }
-
- out
- {
- am_sourceID_t sourceID
- am_Error_e ^error
- }
- }
- method registerSource
- {
- in
- {
- sourceData_s sourceData
- }
- out
- {
- am_sourceID_t sourceID
- am_Error_e ^error
- }
- }
- method deregisterSource
- {
- in
- {
- am_sourceID_t sourceID
- }
- out
- {
- am_Error_e ^returnError
- }
- }
- method registerCrossfader
- {
- in
- {
- crossfaderData_s crossfaderData
- }
- out
- {
- am_crossfaderID_t crossfaderID
- am_Error_e ^error
- }
- }
- method deregisterCrossfader
- {
- in
- {
- am_crossfaderID_t crossfaderID
- }
- out
- {
- am_Error_e ^returnError
- }
- }
- method peekSourceClassID
- {
- in
- {
- String name
- }
-
- out
- {
- am_sourceClass_t sourceClassID
- am_Error_e ^error
- }
- }
- method peekSinkClassID
- {
- in
- {
- String name
- }
-
- out
- {
- am_sinkClass_t sinkClassID
- am_Error_e ^error
- }
- }
-
- method hookInterruptStatusChange
- {
- in
- {
- am_sourceID_t sourceID
- UInt16 interruptState
- }
- }
- method hookDomainRegistrationComplete
- {
- in
- {
- am_domainID_t domainID
- }
- }
- method hookSinkAvailablityStatusChange
- {
- in
- {
- am_sinkID_t sinkID
- am_Availability_s availability
- }
- }
- method hookSourceAvailablityStatusChange
- {
- in
- {
- am_sourceID_t sourceID
- am_Availability_s availability
- }
- }
- method hookDomainStateChange
- {
- in
- {
- am_domainID_t domainID
- am_DomainState_e domainState
- }
- }
- method hookTimingInformationChanged
- {
- in
- {
- am_connectionID_t connectionID
- Int16 delay
- }
- }
- method sendChangedData
- {
- in
- {
- am_EarlyData_l earlyData_volumes
- am_EarlyData_l earlyData_soundproperties
- }
- }
- method confirmRoutingReady
- {
- in
- {
- am_domainID_t domainID
- }
- }
-
- method confirmRoutingRundown
- {
- in
- {
- am_domainID_t domainID
- }
- }
-
- method updateGateway
- {
- in
- {
- am_gatewayID_t gatewayID
- am_ConnectionFormat_L listSourceFormats
- am_ConnectionFormat_L listSinkFormats
- bool_L convertionMatrix
- }
- }
-
- method updateSink
- {
- in
- {
- am_sinkID_t sinkID
- am_sinkClass_t sinkClassID
- am_SoundProperty_L listSoundProperties
- am_ConnectionFormat_L listConnectionFormats
- am_MainSoundProperty_L listMainSoundProperties
- }
- }
- method updateSource
- {
- in
- {
- am_sourceID_t sourceID
- am_sourceClass_t sourceClassID
- am_SoundProperty_L listSoundProperties
- am_ConnectionFormat_L listConnectionFormats
- am_MainSoundProperty_L listMainSoundProperties
- }
- }
- method ackSetVolumes
- {
- in
- {
- UInt16 handle
- am_Volumes_l listVolumes
- UInt16 ^error
- }
- }
- method ackSinkNotificationConfiguration
- {
- in
- {
- UInt16 handle
- UInt16 ^error
- }
- }
- method ackSourceNotificationConfiguration
- {
- in
- {
- UInt16 handle
- UInt16 ^error
- }
- }
- method hookSinkNotificationDataChange
- {
- in
- {
- am_sinkID_t sinkID
- notificationPayload_s payload
- }
- }
-
- method hookSourceNotificationDataChange
- {
- in
- {
- am_sourceID_t sourceID
- notificationPayload_s payload
- }
- }
-
- method getRoutingReadyState
- {
- out
- {
- Boolean readyState
- }
- }
-
- broadcast setRoutingReady
- {
-
- }
-
- broadcast setRoutingRundown
- {
-
- }
-
+package org.genivi.am
+import org.genivi.am.* from "../../AudioManagerDaemon/fidls/AudioManagerTypes.fidl"
+
+<**
+ @description : This class implements everything from Audiomanager -&gt; RoutingAdapter
+ @author : Christian Mueller
+**>
+
+interface RoutingControl {
+ version {
+ major 0
+ minor 1
+ }
+
+ <**
+ @description : aborts an asynchronous action.
+(at)return E_OK on success, E_UNKNOWN on error, E_NON_EXISTENT if handle was not found
+ **>
+ method asyncAbort {
+ in {
+ am_Handle_s handle
+ }
+ }
+
+ <**
+ @description : connects a source to a sink
+(at)return E_OK on success, E_UNKNOWN on error, E_WRONG_FORMAT in case am_ConnectionFormat_e does not match
+ **>
+ method asyncConnect {
+ in {
+ am_Handle_s handle
+ am_connectionID_t connectionID
+ am_sourceID_t sourceID
+ am_sinkID_t sinkID
+ am_ConnectionFormat_pe connectionFormat
+ }
+ }
+
+ <**
+ @description : disconnect a connection with given connectionID
+(at)return E_OK on success, E_UNKNOWN on error, E_NON_EXISTENT if connection was not found
+ **>
+ method asyncDisconnect {
+ in {
+ am_Handle_s handle
+ am_connectionID_t connectionID
+ }
+ }
+
+ <**
+ @description : this method is used to set the volume of a sink. This function is used to drive ramps, to mute or unmute or directly set the value. The difference is made through the ramptype.
+(at)return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if new volume is out of range
+ **>
+ method asyncSetSinkVolume {
+ in {
+ am_Handle_s handle
+ am_sinkID_t sinkID
+ am_volume_t volume
+ am_RampType_pe ramp
+ am_time_t time
+ }
+ }
+
+ <**
+ @description : sets the volume of a source. This method is used to set the volume of a sink. This function is used to drive ramps, to mute or unmute or directly set the value. The difference is made through the ramptype.
+(at)return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if volume is out of range.
+triggers the acknowledge ackSourceVolumeChange
+ **>
+ method asyncSetSourceVolume {
+ in {
+ am_Handle_s handle
+ am_sourceID_t sourceID
+ am_volume_t volume
+ am_RampType_pe ramp
+ am_time_t time
+ }
+ }
+
+ <**
+ @description : This function is used to set the source state of a particular source.
+(at)return E_OK on success, E_UNKNOWN on error
+ **>
+ method asyncSetSourceState {
+ in {
+ am_Handle_s handle
+ am_sourceID_t sourceID
+ am_SourceState_e ^state
+ }
+ }
+
+ <**
+ @description : this function sets the sinksoundproperty.
+(at)return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE in case the propery value is out of range
+ **>
+ method asyncSetSinkSoundProperties {
+ in {
+ am_Handle_s handle
+ am_sinkID_t sinkID
+ am_SoundProperty_L listSoundProperties
+ }
+ }
+
+ <**
+ @description : this function sets the sinksoundproperty.
+(at)return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE in case the propery value is out of range
+ **>
+ method asyncSetSinkSoundProperty {
+ in {
+ am_Handle_s handle
+ am_sinkID_t sinkID
+ am_SoundProperty_s soundProperty
+ }
+ }
+
+ <**
+ @description : this function sets the sourcesoundproperty.
+(at)return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE in case the propery value is out of range
+ **>
+ method asyncSetSourceSoundProperties {
+ in {
+ am_Handle_s handle
+ am_sourceID_t sourceID
+ am_SoundProperty_L listSoundProperties
+ }
+ }
+
+ <**
+ @description : this function sets the sourcesoundproperty.
+(at)return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE in case the propery value is out of range
+ **>
+ method asyncSetSourceSoundProperty {
+ in {
+ am_Handle_s handle
+ am_sourceID_t sourceID
+ am_SoundProperty_s soundProperty
+ }
+ }
+
+ <**
+ @description : this function triggers crossfading.
+(at)return E_OK on success, E_UNKNOWN on error
+ **>
+ method asyncCrossFade {
+ in {
+ am_Handle_s handle
+ am_crossfaderID_t crossfaderID
+ am_HotSink_e hotSink
+ am_RampType_pe rampType
+ am_time_t time
+ }
+ }
+
+ <**
+ @description : this function is used for early and late audio functions to set the domain state
+(at)return E_OK on success, E_UNKNOWN on error
+ **>
+ method setDomainState {
+ in {
+ am_domainID_t domainID
+ am_DomainState_e domainState
+ }
+ out {
+ am_Error_e ^error
+ }
+ }
+ method asyncSetVolumes {
+ in {
+ am_Handle_s handle
+ am_Volumes_L volumes
+ }
+ }
+ method asyncSetSinkNotificationConfiguration {
+ in {
+ am_Handle_s handle
+ am_sinkID_t sinkID
+ am_NotificationConfiguration_s notificationConfiguration
+ }
+ }
+ method asyncSetSourceNotificationConfiguration {
+ in {
+ am_Handle_s handle
+ am_sourceID_t sourceID
+ am_NotificationConfiguration_s notificationConfiguration
+ }
+ }
+
+}
+
+<**
+ @description : Routing Receive sendInterface description.
+ @author : Christian Mueller
+**>
+
+interface RoutingControlObserver {
+ version {
+ major 0
+ minor 1
+ }
+
+ <**
+ @description : This attribute signals to the clients the current routing state.
+A client should notify himself to this attribute in order to know the current state and act accordingly.
+ **>
+ attribute am_RoutingReady_e RoutingReady
+
+ <**
+ @description : acknowledges a asyncConnect
+ **>
+ method ackConnect {
+ in {
+ am_Handle_s handle
+ am_connectionID_t connectionID
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges a asyncDisconnect
+ **>
+ method ackDisconnect {
+ in {
+ am_Handle_s handle
+ am_connectionID_t connectionID
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges a asyncsetSinkVolume
+ **>
+ method ackSetSinkVolumeChange {
+ in {
+ am_Handle_s handle
+
+ <**
+ @description : The current actual value that is set
+ **>
+ am_volume_t volume
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges a asyncsetSourceVolume
+ **>
+ method ackSetSourceVolumeChange {
+ in {
+
+ <**
+ @description : handle that belongs to the change
+ **>
+ am_Handle_s handle
+
+ <**
+ @description : the current volume
+ **>
+ am_volume_t volume
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowlegde for asyncSetSourceState
+ **>
+ method ackSetSourceState {
+ in {
+ am_Handle_s handle
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges asyncSetSinkSoundProperties
+ **>
+ method ackSetSinkSoundProperties {
+ in {
+ am_Handle_s handle
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges asyncSetSinkSoundProperty
+ **>
+ method ackSetSinkSoundProperty {
+ in {
+ am_Handle_s handle
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges asyncSetSourceSoundProperties
+ **>
+ method ackSetSourceSoundProperties {
+ in {
+ am_Handle_s handle
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges asyncSetSourceSoundProperty
+ **>
+ method ackSetSourceSoundProperty {
+ in {
+ am_Handle_s handle
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges asyncCrossFade
+ **>
+ method ackCrossFading {
+ in {
+ am_Handle_s handle
+
+ <**
+ @description : this is the current hot sink, HS_INTERMEDIATE is here when a crossfading action did not reach the end
+ **>
+ am_HotSink_e hotSink
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges a volume tick. This can be used to display volumechanges during ramps
+ **>
+ method ackSourceVolumeTick {
+ in {
+ am_Handle_s handle
+ am_sourceID_t sourceID
+ am_volume_t volume
+ }
+ }
+
+ <**
+ @description : acknowledges a volume tick. This can be used to display volumechanges during ramps
+ **>
+ method ackSinkVolumeTick {
+ in {
+ am_Handle_s handle
+ am_sinkID_t sinkID
+ am_volume_t volume
+ }
+ }
+
+ <**
+ @description : This function returns the ID to the given domainName. If already a domain is registered with this name, it will return the corresponding ID, if not it will reserve an ID but not register the domain. The other parameters of the domain will be overwritten when the domain is registered.
+(at)return E_OK on success, E_UNKNOWN on error
+ **>
+ method peekDomain {
+ in {
+ String name
+ }
+ out {
+ am_domainID_t domainID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : registers a domain
+(at)return E_OK on succes, E_ALREADY_EXISTENT if already registered E_UNKOWN on error
+ **>
+ method registerDomain {
+ in {
+
+ <**
+ @description : domainID in am_Domain_s must be 0!
+ **>
+ am_Domain_s domainData
+ String returnInterface
+ String returnPath
+ String returnBusname
+ }
+ out {
+ am_domainID_t domainID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : deregisters a domain. All sources, sinks, gateways and crossfaders from that domain will be removed as well.
+(at)return E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error
+ **>
+ method deregisterDomain {
+ in {
+
+ <**
+ @description : < the nonde of the bus
+ **>
+ am_domainID_t domainID
+ }
+ out {
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : registers a gateway. (at)return E_OK on succes, E_ALREADY_EXISTENT if already registered E_UNKOWN on error
+ **>
+ method registerGateway {
+ in {
+
+ <**
+ @description : In a fixed setup, the gatewayID must be below 100. In a dynamic setup, the gatewayID shall be 0. listSourceFormats and listSinkFormats are empty at registration time. Values are taken over when sources and sinks are registered.
+
+
+ **>
+ am_Gateway_s gatewayData
+ }
+ out {
+ am_gatewayID_t gatewayID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : deregisters a gateway. Also removes all sinks and sources of the controlling domain.
+(at)return E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error
+ **>
+ method deregisterGateway {
+ in {
+
+ <**
+ @description : domainID of the control domain
+ **>
+ am_gatewayID_t gatewayID
+ }
+ out {
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : This function returns the ID to the given sinkName. If already a sink is registered with this name, it will return the corresponding ID, if not it will reserve an ID but not register the sink. The other parameters of the sink will be overwritten when the sink is registered.
+(at)return E_OK on success, E_UNKNOWN on error
+ **>
+ method peekSink {
+ in {
+
+ <**
+ @description : ID is not valid since not created yet
+ **>
+ String name
+ }
+ out {
+ am_sinkID_t sinkID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : Registers a sink. If the sink is part of a gateway, the listconnectionFormats is copied to the gatewayInformation
+(at)return E_OK on succes, E_ALREADY_EXISTENT if already registered E_UNKOWN on error
+ **>
+ method registerSink {
+ in {
+
+ <**
+ @description : In a fixed setup, the sinkID within am_Sink_s must be below 100. In a dynamic setup the sinkID must be 0 in am_Sink_s.
+ **>
+ am_Sink_s sinkData
+ }
+ out {
+ am_sinkID_t sinkID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : deregisters a sink.
+(at)return E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error
+ **>
+ method deregisterSink {
+ in {
+ am_sinkID_t sinkID
+ }
+ out {
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : This function returns the ID to the given sourceName. If already a source is registered with this name, it will return the corresponding ID, if not it will reserve an ID but not register the source. The other parameters of the source will be overwritten when the source is registered.
+(at)return E_OK on success, E_UNKNOWN on error
+ **>
+ method peekSource {
+ in {
+ String name
+ }
+ out {
+ am_sourceID_t sourceID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : registers a source. If the source is part of a gateway, the listconnectionFormats is copied to the gatewayInformation
+(at)return E_OK on success, E_UNKNOWN on error, E_ALREADY_EXIST if either name or sourceID already exists
+ **>
+ method registerSource {
+ in {
+
+ <**
+ @description : In a fixed setup, the sourceID within am_Source_s must be below 100. In a dynamic setup the sourceID must be 0 in am_Source_s
+ **>
+ am_Source_s sourceData
+ }
+ out {
+ am_sourceID_t sourceID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : deregisters a source
+(at)return E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error
+ **>
+ method deregisterSource {
+ in {
+ am_sourceID_t sourceID
+ }
+ out {
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : this function registers a crossfader.
+(at)return E_OK on succes, E_ALREADY_EXISTENT if already registered E_UNKOWN on error
+ **>
+ method registerCrossfader {
+ in {
+
+ <**
+ @description : in a fixed setup, the crossfaderID must be below 100. In a dynamic setup the crossfasderID shall be 0
+ **>
+ am_Crossfader_s crossfaderData
+ }
+ out {
+ am_crossfaderID_t crossfaderID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : this function deregisters a crossfader. removes all sources and sinks assiated as well.
+(at)return E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error
+ **>
+ method deregisterCrossfader {
+ in {
+ am_crossfaderID_t crossfaderID
+ }
+ out {
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : this function peeks a sourceclassID. It is used by the RoutingPlugins to determine the SinkClassIDs of a sinkClass.
+(at)return E_OK on succes, E_DATABASE_ERROR on error
+ **>
+ method peekSourceClassID {
+ in {
+ String name
+ }
+ out {
+ am_sourceClass_t sourceClassID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : this function peeks a sourceclassID. It is used by the RoutingPlugins to determine the SinkClassIDs of a sinkClass.
+(at)return E_OK on succes, E_DATABASE_ERROR on error
+ **>
+ method peekSinkClassID {
+ in {
+ String name
+ }
+ out {
+ am_sinkClass_t sinkClassID
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : is called when a low level interrupt changes it status.
+ **>
+ method hookInterruptStatusChange {
+ in {
+ am_sourceID_t sourceID
+ am_InterruptState_e interruptState
+ }
+ }
+
+ <**
+ @description : This hook is called when all elements from a domain are registered.
+Is used by the Controller to know when all expected domains are finally registered
+ **>
+ method hookDomainRegistrationComplete {
+ in {
+ am_domainID_t domainID
+ }
+ }
+
+ <**
+ @description : is called when a sink changes its availability
+ **>
+ method hookSinkAvailablityStatusChange {
+ in {
+ am_sinkID_t sinkID
+ am_Availability_s availability
+ }
+ }
+
+ <**
+ @description : is called when a source changes its availability
+ **>
+ method hookSourceAvailablityStatusChange {
+ in {
+ am_sourceID_t sourceID
+ am_Availability_s availability
+ }
+ }
+
+ <**
+ @description : is called when a domain changes its status. This used for early domains only
+ **>
+ method hookDomainStateChange {
+ in {
+ am_domainID_t domainID
+ am_DomainState_e domainState
+ }
+ }
+
+ <**
+ @description : is called when the timinginformation (delay) changed for a connection.
+ **>
+ method hookTimingInformationChanged {
+ in {
+ am_connectionID_t connectionID
+ am_timeSync_t delay
+ }
+ }
+
+ <**
+ @description : this function is used to send out all data that has been changed in an early state.
+(at)return E_OK on success, E_UNKNOWN on error
+ **>
+ method sendChangedData {
+ in {
+ am_EarlyData_L earlyData
+ }
+ }
+
+ <**
+ @description : updates data of an gateway. (at)return E_OK on success, E_NON_EXISTENT if the gatewayID is not valid.
+ **>
+ method updateGateway {
+ in {
+
+ <**
+ @description : This is the new gateway data that has been updated. Please note that changing source and sink IDs,
+
+ **>
+ am_gatewayID_t gatewayID
+ am_ConnectionFormat_L listSourceFormats
+ am_ConnectionFormat_L listSinkFormats
+ am_Convertion_L convertionMatrix
+ }
+ out {
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : updates data of an gateway. (at)return E_OK on success, E_NON_EXISTENT if the sinkID is not valid.
+ **>
+ method updateSink {
+ in {
+
+ <**
+ @description : The sinkID of the sink
+ **>
+ am_sinkID_t sinkID
+ am_sinkClass_t sinkClassID
+ am_SoundProperty_L listSoundProperties
+ am_ConnectionFormat_L listConnectionFormats
+ am_MainSoundProperty_L listMainSoundProperties
+ }
+ out {
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : updates data of an source. (at)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:
+sourceClassID,
+listSoundProperties,
+listConnectionFormats,
+listMainSoundProperties
+ **>
+ method updateSource {
+ in {
+
+ <**
+ @description : the sourceID of the source
+ **>
+ am_sourceID_t sourceID
+ am_sourceClass_t sourceClassID
+ am_SoundProperty_L listSoundProperties
+ am_ConnectionFormat_L listConnectionFormats
+ am_MainSoundProperty_L listMainSoundProperties
+ }
+ out {
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : acknowledges a asyncSetSinkVolumes
+ **>
+ method ackSetVolumes {
+ in {
+ am_Handle_s handle
+
+ <**
+ @description : The list of volumes that have been set. ramp and time values have no meaning when the struct is used here.
+ **>
+ am_Volumes_L listvolumes
+
+ <**
+ @description : E_OK on success, E_ABORTED if action was aborted, E_UNKNOWN on error
+ **>
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : The acknowledge of the SinkNotificationConfiguration
+ **>
+ method ackSinkNotificationConfiguration {
+ in {
+ am_Handle_s handle
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : The acknowledge of the SourceNotificationConfiguration
+ **>
+ method ackSourceNotificationConfiguration {
+ in {
+ am_Handle_s handle
+ am_Error_e ^error
+ }
+ }
+
+ <**
+ @description : is called whenever a notified value needs to be send
+ **>
+ method hookSinkNotificationDataChange {
+ in {
+
+ <**
+ @description : The sinkID of the sink where the data changed
+ **>
+ am_sinkID_t sinkID
+
+ <**
+ @description : The payload
+ **>
+ am_NotificationPayload_s payload
+ }
+ }
+
+ <**
+ @description : is called whenever a notified value needs to be send
+ **>
+ method hookSourceNotificationDataChange {
+ in {
+
+ <**
+ @description : The sinkID of the sink where the data changed
+ **>
+ am_sourceID_t sourceID
+
+ <**
+ @description : The payload
+ **>
+ am_NotificationPayload_s payload
+ }
+ }
+ method confirmRoutingRundown {
+ in {
+ String domainName
+ }
+ }
+
} \ No newline at end of file
diff --git a/PluginRoutingInterfaceCAPI/fidl/RoutingSender.fidl b/PluginRoutingInterfaceCAPI/fidl/RoutingSender.fidl
deleted file mode 100755
index 035d96b..0000000
--- a/PluginRoutingInterfaceCAPI/fidl/RoutingSender.fidl
+++ /dev/null
@@ -1,158 +0,0 @@
-package org.genivi.audiomanager
-
-import org.genivi.audiomanager.am_gen.* from "amTypes.fidl"
-
-interface RoutingSender
-{
- version { major 0 minor 1 }
-
- method asyncSetSourceState
- {
- in
- {
- UInt16 handle
- am_sourceID_t sourceID
- am_SourceState_e sourceState
- }
- }
-
- method setDomainState
- {
- in
- {
- am_domainID_t domainID
- am_DomainState_e domainState
- }
- out
- {
- am_Error_e ^error
- }
- }
- method asyncSetSourceVolume
- {
- in
- {
- am_handle_t handle
- am_sourceID_t sourceID
- am_volume_t volume
- am_RampType_e ramp
- am_time_t time
- }
- }
- method asyncSetSinkVolume
- {
- in
- {
- am_handle_t handle
- am_sinkID_t sinkID
- am_volume_t volume
- am_RampType_e ramp
- am_time_t time
- }
- }
- method asyncConnect
- {
- in
- {
- am_handle_t handle
- am_connectionID_t connectionID
- am_sourceID_t sourceID
- am_sinkID_t sinkID
- am_ConnectionFormat_e connectionFormat
- }
- }
- method asyncDisconnect
- {
- in
- {
- am_handle_t handle
- am_connectionID_t connectionID
- }
- }
- method asyncAbort
- {
- in
- {
- am_handle_t handle
- }
- out
- {
- am_Error_e ^error
- }
- }
- method asyncSetSinkSoundProperties
- {
- in
- {
- am_handle_t handle
- am_sinkID_t sinkID
- am_SoundProperty_L listSoundProperties
- }
- }
- method asyncSetSinkSoundProperty
- {
- in
- {
- am_handle_t handle
- am_sinkID_t sinkID
- am_SoundProperty_s soundProperty
- }
- }
- method asyncSetSourceSoundProperties
- {
- in
- {
- am_handle_t handle
- am_sourceID_t sourceID
- am_SoundProperty_L listSoundProperties
- }
- }
- method asyncSetSourceSoundProperty
- {
- in
- {
- am_handle_t handle
- am_sourceID_t sourceID
- am_SoundProperty_s soundProperty
- }
-
- }
- method asyncCrossFade
- {
- in
- {
- am_handle_t handle
- am_crossfaderID_t crossfaderID
- am_HotSink_e hotSink
- am_RampType_e rampType
- am_time_t time
- }
- }
- method asyncSetVolumes
- {
- in
- {
- am_handle_t handle
- am_Volumes_l volumes
- }
- }
- method asyncSetSinkNotificationConfiguration
- {
- in
- {
- am_handle_t handle
- am_sinkID_t sinkID
- am_NotificationConfiguration_s notificationConfiguration
- }
- }
- method asyncSetSourceNotificationConfiguration
- {
- in
- {
- am_handle_t handle
- am_sourceID_t sourceID
- am_NotificationConfiguration_s notificationConfiguration
- }
- }
-}
-
diff --git a/PluginRoutingInterfaceCAPI/fidl/amTypes.fidl b/PluginRoutingInterfaceCAPI/fidl/amTypes.fidl
deleted file mode 100755
index 60791c7..0000000
--- a/PluginRoutingInterfaceCAPI/fidl/amTypes.fidl
+++ /dev/null
@@ -1,399 +0,0 @@
-package org.genivi.audiomanager
-
-typeCollection am_gen
-{
- typedef am_sourceID_t is UInt16
- typedef am_sinkID_t is UInt16
- typedef am_gatewayID_t is UInt16
- typedef gongHandle is Int16
- typedef am_sourceClass_t is UInt16
- typedef am_sinkClass_t is UInt16
- typedef am_volume_t is Int16
- typedef am_mainVolume_t is Int16
- typedef am_handle_t is UInt16
- typedef am_time_t is UInt16
- typedef am_connectionID_t is UInt16
- typedef am_crossfaderID_t is UInt16
-
-
- enumeration gp_indicatorDirection_e
- {
- INDICATOR_RIGHT ="0x00"
- INDICATOR_LEFT="0x01"
- INDICATOR_WARNING="0x02"
- }
-
- enumeration am_RampType_e
- {
- RAMP_UNKNOWN = "0x00"
- RAMP_GENIVI_DIRECT = "0x01"
- RAMP_GENIVI_NO_PLOP = "0x02"
- RAMP_GENIVI_EXP_INV = "0x03"
- RAMP_GENIVI_LINEAR = "0x04"
- RAMP_GENIVI_EXP = "0x05"
- RAMP_MAX = "0x06"
- }
-
- enumeration am_MuteState_e
- {
- MS_UNKNOWN = "0x00"
- MS_MUTED = "0x01"
- MS_UNMUTED = "0x02"
- MS_MAX = "0x03"
- }
-
- enumeration am_SourceState_e
- {
- SS_UNKNNOWN = "0x00"
- SS_ON = "0x01"
- SS_OFF = "0x02"
- SS_PAUSED = "0x03"
- SS_MAX = "0x04"
- }
- enumeration am_Error_e
- {
- E_OK = "0x00"
- E_UNKNOWN = "0x01"
- E_OUT_OF_RANGE = "0x02"
- E_NOT_USED = "0x03"
- E_DATABASE_ERROR = "0x04"
- E_ALREADY_EXISTS = "0x05"
- E_NO_CHANGE = "0x06"
- E_NOT_POSSIBLE = "0x07"
- E_NON_EXISTENT = "0x08"
- E_ABORTED = "0x09"
- E_WRONG_FORMAT = "0xA"
- E_MAX = "0xB"
- }
-
- enumeration am_DomainState_e
- {
-
- DS_UNKNOWN = "0"
- DS_CONTROLLED = "1"
- DS_INDEPENDENT_STARTUP = "2"
- DS_INDEPENDENT_RUNDOWN = "3"
- DS_MAX = "4"
- }
-
- enumeration gongType_e
- {
- AT_NUN = "0x01"
- AT_POC = "0x02"
- AT_QUE = "0x03"
- AT_IWA = "0x04"
- AT_WA = "0x05"
- AT_ETC_F = "0x06"
- AT_ETC_F2 = "0x07"
- AT_ETC_ST = "0x08"
- AT_ETC_S = "0x09"
- AT_REV = "0x0A"
- AT_ESU = "0x0B"
- AT_ESD = "0x0C"
- AT_DG = "0x0D"
- AT_SG = "0x0E"
- AT_IDG = "0x0F"
- AT_ION = "0x10"
- AT_IOFF = "0x11"
- AT_FBS = "0x12"
- AT_VFS = "0x13"
- AT_GES = "0x14"
- AT_UEE = "0x15"
- }
-
- enumeration am_EarlyDataType_e
- {
- ED_UNKNOWN = "0x00"
- ED_SOURCE_VOLUME = "0x01"
- ED_SINK_VOLUME = "0x02"
- ED_SOURCE_PROPERTY = "0x03"
- ED_SINK_PROPERTY = "0x04"
- ED_MAX = "0x05"
- }
-
- enumeration gp_indicatorStatus_e
- {
- IS_ON = "0x00"
- IS_OFF = "0x01"
- }
-
- enumeration gongStatus_e
- {
- NOT_PLAYING = "0x00"
- PLAYING = "0x01"
- INTERRUPTED = "0x02"
- }
-
- enumeration gongError_e
- {
- SUCCESS = "0x00"
- ERROR = "0x01"
- LOW_PRIORITY = "0x02"
- }
-
- enumeration gongClass_e
- {
- GONGCLASS_1 = "0x01"
- GONGCLASS_2 = "0x02"
- GONGCLASS_PDC = "0x03"
- GONGCLASS_TURN = "0x04"
- GONGCLASS_OBSTACLE = "0x05"
- }
-
- enumeration sampleSet_e
- {
- setBMW = "0x00"
- setMini = "0x01"
- setRR = "0x02"
- }
-
- enumeration am_Availability_e
- {
- A_UNKNOWN = "0x00"
- A_AVAILABLE = "0x01"
- A_UNAVAILABLE = "0x02"
- A_MAX = "0x03"
- }
- enumeration am_AvailabilityReason_e
- {
- AR_UNKNOWN = "0x00"
- AR_GENIVI_NEWMEDIA = "0x01"
- AR_GENIVI_SAMEMEDIA = "0x02"
- AR_GENIVI_NOMEDIA = "0x03"
- AR_GENIVI_TEMPERATURE = "0x04"
- AR_GENIVI_VOLTAGE = "0x05"
- AR_GENIVI_ERRORMEDIA = "0x06"
- AR_MAX = "0x07"
- }
-
- enumeration am_InterruptState_e
- {
- IS_UNKNOWN = "0x00"
- IS_OFF = "0x01"
- IS_INTERRUPTED = "0x02"
- IS_MAX = "0x03"
- }
-
- enumeration am_SoundPropertyType_e
- {
- SP_UNKNOWN = "0x00"
- SP_EXAMPLE_TREBLE = "0x01"
- SP_EXAMPLE_MID = "0x02"
- SP_EXAMPLE_BASS = "0x03"
- SP_ENTER_SINKID = "0x04"
- SP_INTERR_SUPERSEEDINGID = "0x05"
- SP_INTERR_OVERLAYID = "0x06"
- SP_PRIORITY = "0x07"
- SP_MAX = "0x08"
- }
-
- enumeration am_ConnectionFormat_e
- {
- CF_UNKNOWN = "0x00"
- CF_GENIVI_MONO = "0x01"
- CF_GENIVI_STEREO = "0x02"
- CF_GENIVI_ANALOG = "0x03"
- CF_GENIVI_AUTO = "0x04"
- CF_MAX = "0x05"
- }
- array am_ConnectionFormat_L of am_ConnectionFormat_e
-
- enumeration am_MainSoundPropertyType_e
- {
- MSP_UNKNOWN = "0x00"
- MSP_EXAMPLE_TREBLE = "0x01"
- MSP_EXAMPLE_MID = "0x02"
- MSP_EXAMPLE_BASS = "0x03"
- MSP_SOURCE_TYPE = "0x04"
- MSP_MAX = "0x05"
- }
-
- enumeration am_NotificationType_e
- {
- NT_UNKNOWN = "0x00"
- NT_LOUDNESS = "0x01"
- NT_MAX = "0x02"
- }
-
- enumeration am_NotificationStatus_e
- {
- NS_UNKNOWN = "0x00"
- NS_OFF = "0x01"
- NS_PERIODIC = "0x02"
- NS_MINIMUM = "0x03"
- NS_MAXIMUM = "0x04"
- NS_CHANGE = "0x05"
- NS_MAX = "0x06"
- }
-
- enumeration am_HotSink_e
- {
- HS_UNKNOWN = "0x00"
- HS_SINKA = "0x01"
- HS_SINKB = "0x02"
- HS_INTERMEDIATE = "0x03"
- HS_MAX = "0x04"
- }
-
- enumeration am_VolumeType_e
- {
- VT_UNKNOWN = "0x00"
- VT_SINK = "0x01"
- VT_SOURCE = "0x02"
- VT_MAX = "0x03"
- }
-
- struct distanceInformation_s
- {
- Int32 FrontLeft
- Int32 FrontRight
- Int32 RearLeft
- Int32 RearRight
- }
-
- struct sampleNames_s
- {
- sampleSet_e sample
- String sampleName
- } array listSampleNamesL of sampleNames_s
-
- typedef am_domainID_t is UInt16
-
- struct am_Domain_s
- {
- am_domainID_t domainID
- String name
- String busname
- String nodename
- Boolean early
- Boolean complete
- am_DomainState_e ^state
- }
-
- struct am_Volumes_s
- {
- am_VolumeType_e volumeType
- am_DataType_u volumeID
- am_volume_t volume
- am_RampType_e ramp
- am_time_t time
- }
- array am_Volumes_l of am_Volumes_s
-
- struct notificationPayload_s
- {
- Int16 type
- Int16 payload
- }
-
- struct am_Availability_s
- {
- am_Availability_e availability
- am_AvailabilityReason_e availabilityReason
- }
-
- struct am_SoundProperty_s
- {
- am_SoundPropertyType_e type
- Int16 value
- }
- array am_SoundProperty_L of am_SoundProperty_s
-
- struct am_MainSoundProperty_s
- {
- am_MainSoundPropertyType_e type
- Int16 value
- }
- array am_MainSoundProperty_L of am_MainSoundProperty_s
-
- struct am_NotificationConfiguration_s
- {
- am_NotificationType_e type
- am_NotificationStatus_e status
- Int16 parameter
- }
- array am_NotificationConfiguration_L of am_NotificationConfiguration_s
-
-
- array bool_L of Boolean
-
- struct sourceData_s
- {
- am_sourceID_t sourceID
- am_domainID_t domainID
- String name
- am_sourceClass_t sourceClassID
- am_SourceState_e sourceState
- am_volume_t volume
- Boolean visible
- am_Availability_s available
- am_InterruptState_e interruptState
- am_SoundProperty_L listSoundProperties
- am_ConnectionFormat_L listConnectionFormats
- am_MainSoundProperty_L listMainSoundProperties
- am_NotificationConfiguration_L listMainNotificationConfigurations
- am_NotificationConfiguration_L listNotificationConfigurations
- }
-
- struct sinkData_s
- {
- am_sinkID_t sinkID
- String name
- am_domainID_t domainID
- am_sinkClass_t sinkClassID
- am_volume_t volume
- Boolean visible
- am_Availability_s available
- am_MuteState_e muteState
- am_mainVolume_t mainVolume
- am_SoundProperty_L listSoundProperties
- am_ConnectionFormat_L listConnectionFormats
- am_MainSoundProperty_L listMainSoundProperties
- am_NotificationConfiguration_L listMainNotificationConfigurations
- am_NotificationConfiguration_L listNotificationConfigurations
- }
-
- struct crossfaderData_s
- {
- am_crossfaderID_t crossfaderID
- String name
- am_sinkID_t sinkID_A
- am_sinkID_t sinkID_B
- am_sourceID_t sourceID
- am_HotSink_e hotSink
- }
-
- struct am_Gateway_s
- {
- am_gatewayID_t gatewayID
- String name
- am_sinkID_t sinkID
- am_sourceID_t sourceID
- am_domainID_t domainSinkID
- am_domainID_t domainSourceID
- am_domainID_t controlDomainID
- am_ConnectionFormat_L listSourceFormats
- am_ConnectionFormat_L listSinkFormats
- bool_L convertionMatrix
- }
-
- struct am_EarlyData_s
- {
- am_EarlyDataType_e type
- am_DataType_u sinksource
- am_EarlyData_u data
-
- }
- array am_EarlyData_l of am_EarlyData_s
- union am_EarlyData_u
- {
- am_volume_t volume
- am_SoundProperty_s soundProperty
-
- }
- union am_DataType_u
- {
- am_sinkID_t sink
- am_sourceID_t source
- }
-} \ No newline at end of file
diff --git a/PluginRoutingInterfaceCAPI/fidl/deployment.fdepl b/PluginRoutingInterfaceCAPI/fidl/deployment.fdepl
deleted file mode 100644
index 3846ed4..0000000
--- a/PluginRoutingInterfaceCAPI/fidl/deployment.fdepl
+++ /dev/null
@@ -1,9 +0,0 @@
-specification org.genivi.commonapi.core.deployment.deployment {
- for interfaces {
- DefaultEnumBackingType: {UInt8, UInt16, UInt32, UInt64, Int8, Int16, Int32, Int64} (default: UInt32);
- }
-
- for enumerations {
- EnumBackingType: {UseDefault, UInt8, UInt16, UInt32, UInt64, Int8, Int16, Int32, Int64} (default: UseDefault);
- }
-}
diff --git a/PluginRoutingInterfaceCAPI/include/CAmLookupData.h b/PluginRoutingInterfaceCAPI/include/CAmLookupData.h
index c3bf93c..b46ba75 100644
--- a/PluginRoutingInterfaceCAPI/include/CAmLookupData.h
+++ b/PluginRoutingInterfaceCAPI/include/CAmLookupData.h
@@ -24,7 +24,7 @@
#include <memory>
#include <CommonAPI/CommonAPI.h>
#include "audiomanagertypes.h"
-#include <org/genivi/audiomanager/RoutingSenderProxy.h>
+#include <org/genivi/am/RoutingControlProxy.h>
#ifdef UNIT_TEST
#include "../test/IAmRoutingSenderBackdoor.h" //we need this for the unit test
@@ -33,7 +33,6 @@
namespace am {
using namespace CommonAPI;
-using namespace org::genivi::audiomanager;
/** A structure holding info for given domain.
* For every domain a single instance is created which is used by the lookup methods.
@@ -43,17 +42,17 @@ struct rs_lookupData_s
{
private:
bool mIsConnected; //!< bool indicating whether the domain is reachable or not
- std::shared_ptr<RoutingSenderProxy<>> mSenderProxy; //!< a pointer to the proxy object, which implements the connection out from AudioManager
+ std::shared_ptr<org::genivi::am::RoutingControlProxy<> > mSenderProxy; //!< a pointer to the proxy object, which implements the connection out from AudioManager
CommonAPI::ProxyStatusEvent::Subscription mSubscription; //!< subscription for the proxy system events
void onServiceStatusEvent(const CommonAPI::AvailabilityStatus& serviceStatus); //!< proxy status event callback
public:
- rs_lookupData_s(const std::shared_ptr<RoutingSenderProxy<> > & aProxy);
+ rs_lookupData_s(const std::shared_ptr<org::genivi::am::RoutingControlProxy<> > & aProxy);
~rs_lookupData_s();
/**
* returns the proxy object.
*/
- std::shared_ptr<RoutingSenderProxy<>> & getProxy();
+ std::shared_ptr<org::genivi::am::RoutingControlProxy<>> & getProxy();
/**
* returns whether the proxy object is connected or not.
*/
@@ -61,21 +60,21 @@ public:
/**
* proxy wrapping methods.
*/
- am_Error_e asyncAbort(const uint16_t handle, RoutingSenderProxyBase::AsyncAbortAsyncCallback);
- am_Error_e asyncConnect(const uint16_t handle, const am_connectionID_t, const am_sourceID_t, const am_sinkID_t, const am_ConnectionFormat_e, RoutingSenderProxyBase::AsyncConnectAsyncCallback);
- am_Error_e asyncDisconnect(const uint16_t handle, const am_connectionID_t, RoutingSenderProxyBase::AsyncDisconnectAsyncCallback);
- am_Error_e asyncSetSinkVolume(const uint16_t handle, const am_sinkID_t, const am_volume_t, const am_RampType_e, const am_time_t, RoutingSenderProxyBase::AsyncSetSinkVolumeAsyncCallback);
- am_Error_e asyncSetSourceVolume(const uint16_t handle, const am_sourceID_t , const am_volume_t, const am_RampType_e, const am_time_t, RoutingSenderProxyBase::AsyncSetSourceVolumeAsyncCallback);
- am_Error_e asyncSetSourceState(const uint16_t handle, const am_sourceID_t, const am_SourceState_e, RoutingSenderProxyBase::AsyncSetSourceStateAsyncCallback);
- am_Error_e asyncSetSinkSoundProperties(const uint16_t handle, const am_sinkID_t, const std::vector<am_SoundProperty_s>&, RoutingSenderProxyBase::AsyncSetSinkSoundPropertiesAsyncCallback);
- am_Error_e asyncSetSinkSoundProperty(const uint16_t handle, const am_sinkID_t, const am_SoundProperty_s&, RoutingSenderProxyBase::AsyncSetSinkSoundPropertyAsyncCallback);
- am_Error_e asyncSetSourceSoundProperties(const uint16_t handle, const am_sourceID_t, const std::vector<am_SoundProperty_s>&, RoutingSenderProxyBase::AsyncSetSourceSoundPropertiesAsyncCallback);
- am_Error_e asyncSetSourceSoundProperty(const uint16_t handle, const am_sourceID_t, const am_SoundProperty_s&, RoutingSenderProxyBase::AsyncSetSourceSoundPropertyAsyncCallback);
- am_Error_e asyncCrossFade(const uint16_t handle, const am_crossfaderID_t, const am_HotSink_e, const am_RampType_e, const am_time_t, RoutingSenderProxyBase::AsyncCrossFadeAsyncCallback);
- am_Error_e setDomainState(const am_domainID_t, const am_DomainState_e, RoutingSenderProxyBase::SetDomainStateAsyncCallback);
- am_Error_e asyncSetVolumes(const uint16_t handle, const std::vector<am_Volumes_s>&, RoutingSenderProxyBase::AsyncSetVolumesAsyncCallback);
- am_Error_e asyncSetSinkNotificationConfiguration(const uint16_t handle, const am_sinkID_t, const am_NotificationConfiguration_s&, RoutingSenderProxyBase::AsyncSetSinkNotificationConfigurationAsyncCallback);
- am_Error_e asyncSetSourceNotificationConfiguration(const uint16_t handle, const am_sourceID_t, const am_NotificationConfiguration_s&, RoutingSenderProxyBase::AsyncSetSourceNotificationConfigurationAsyncCallback);
+ am_Error_e asyncAbort(const am_Handle_s handle, org::genivi::am::RoutingControlProxyBase::AsyncAbortAsyncCallback);
+ am_Error_e asyncConnect(const am_Handle_s handle, const am_connectionID_t, const am_sourceID_t, const am_sinkID_t, const am_ConnectionFormat_e, org::genivi::am::RoutingControlProxyBase::AsyncConnectAsyncCallback);
+ am_Error_e asyncDisconnect(const am_Handle_s handle, const am_connectionID_t, org::genivi::am::RoutingControlProxyBase::AsyncDisconnectAsyncCallback);
+ am_Error_e asyncSetSinkVolume(const am_Handle_s handle, const am_sinkID_t, const am_volume_t, const am_RampType_e, const am_time_t, org::genivi::am::RoutingControlProxyBase::AsyncSetSinkVolumeAsyncCallback);
+ am_Error_e asyncSetSourceVolume(const am_Handle_s handle, const am_sourceID_t , const am_volume_t, const am_RampType_e, const am_time_t, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceVolumeAsyncCallback);
+ am_Error_e asyncSetSourceState(const am_Handle_s handle, const am_sourceID_t, const am_SourceState_e, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceStateAsyncCallback);
+ am_Error_e asyncSetSinkSoundProperties(const am_Handle_s handle, const am_sinkID_t, const std::vector<am_SoundProperty_s>&, org::genivi::am::RoutingControlProxyBase::AsyncSetSinkSoundPropertiesAsyncCallback);
+ am_Error_e asyncSetSinkSoundProperty(const am_Handle_s handle, const am_sinkID_t, const am_SoundProperty_s&, org::genivi::am::RoutingControlProxyBase::AsyncSetSinkSoundPropertyAsyncCallback);
+ am_Error_e asyncSetSourceSoundProperties(const am_Handle_s handle, const am_sourceID_t, const std::vector<am_SoundProperty_s>&, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceSoundPropertiesAsyncCallback);
+ am_Error_e asyncSetSourceSoundProperty(const am_Handle_s handle, const am_sourceID_t, const am_SoundProperty_s&, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceSoundPropertyAsyncCallback);
+ am_Error_e asyncCrossFade(const am_Handle_s handle, const am_crossfaderID_t, const am_HotSink_e, const am_RampType_e, const am_time_t, org::genivi::am::RoutingControlProxyBase::AsyncCrossFadeAsyncCallback);
+ am_Error_e setDomainState(const am_domainID_t, const am_DomainState_e, org::genivi::am::RoutingControlProxyBase::SetDomainStateAsyncCallback);
+ am_Error_e asyncSetVolumes(const am_Handle_s handle, const std::vector<am_Volumes_s>&, org::genivi::am::RoutingControlProxyBase::AsyncSetVolumesAsyncCallback);
+ am_Error_e asyncSetSinkNotificationConfiguration(const am_Handle_s handle, const am_sinkID_t, const am_NotificationConfiguration_s&, org::genivi::am::RoutingControlProxyBase::AsyncSetSinkNotificationConfigurationAsyncCallback);
+ am_Error_e asyncSetSourceNotificationConfiguration(const am_Handle_s handle, const am_sourceID_t, const am_NotificationConfiguration_s&, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceNotificationConfigurationAsyncCallback);
};
@@ -125,12 +124,12 @@ public:
* @param aProxy is a proxy object constructed by registerDomain
*/
void addDomainLookup(am_domainID_t & domainID,
- std::shared_ptr<RoutingSenderProxy<>> & aProxy);
+ std::shared_ptr<org::genivi::am::RoutingControlProxy<>> & aProxy);
/** \brief removes given handle from the list.
*
*/
- void removeHandle(uint16_t handle);
+ void removeHandle(am_Handle_s handle);
/** \brief adds a lookup for given source in a given domain.
*
@@ -180,21 +179,21 @@ public:
/**
* Wrapping methods.
*/
- am_Error_e asyncAbort(const uint16_t, RoutingSenderProxyBase::AsyncAbortAsyncCallback);
- am_Error_e asyncConnect(const uint16_t , const am_connectionID_t, const am_sourceID_t, const am_sinkID_t, const am_ConnectionFormat_e, RoutingSenderProxyBase::AsyncConnectAsyncCallback);
- am_Error_e asyncDisconnect(const uint16_t , const am_connectionID_t, RoutingSenderProxyBase::AsyncDisconnectAsyncCallback);
- am_Error_e asyncSetSinkVolume(const uint16_t , const am_sinkID_t, const am_volume_t, const am_RampType_e, const am_time_t, RoutingSenderProxyBase::AsyncSetSinkVolumeAsyncCallback);
- am_Error_e asyncSetSourceVolume(const uint16_t , const am_sourceID_t , const am_volume_t, const am_RampType_e, const am_time_t, RoutingSenderProxyBase::AsyncSetSourceVolumeAsyncCallback);
- am_Error_e asyncSetSourceState(const uint16_t , const am_sourceID_t, const am_SourceState_e, RoutingSenderProxyBase::AsyncSetSourceStateAsyncCallback);
- am_Error_e asyncSetSinkSoundProperties(const uint16_t , const am_sinkID_t, const std::vector<am_SoundProperty_s>&, RoutingSenderProxyBase::AsyncSetSinkSoundPropertiesAsyncCallback);
- am_Error_e asyncSetSinkSoundProperty(const uint16_t , const am_sinkID_t, const am_SoundProperty_s&, RoutingSenderProxyBase::AsyncSetSinkSoundPropertyAsyncCallback);
- am_Error_e asyncSetSourceSoundProperties(const uint16_t , const am_sourceID_t, const std::vector<am_SoundProperty_s>&, RoutingSenderProxyBase::AsyncSetSourceSoundPropertiesAsyncCallback);
- am_Error_e asyncSetSourceSoundProperty(const uint16_t , const am_sourceID_t, const am_SoundProperty_s&, RoutingSenderProxyBase::AsyncSetSourceSoundPropertyAsyncCallback);
- am_Error_e asyncCrossFade(const uint16_t , const am_crossfaderID_t, const am_HotSink_e, const am_RampType_e, const am_time_t, RoutingSenderProxyBase::AsyncCrossFadeAsyncCallback);
- am_Error_e setDomainState(const am_domainID_t, const am_DomainState_e, RoutingSenderProxyBase::SetDomainStateAsyncCallback);
- am_Error_e asyncSetVolumes(const uint16_t , const std::vector<am_Volumes_s>&, RoutingSenderProxyBase::AsyncSetVolumesAsyncCallback);
- am_Error_e asyncSetSinkNotificationConfiguration(const uint16_t , const am_sinkID_t, const am_NotificationConfiguration_s&, RoutingSenderProxyBase::AsyncSetSinkNotificationConfigurationAsyncCallback);
- am_Error_e asyncSetSourceNotificationConfiguration(const uint16_t , const am_sourceID_t, const am_NotificationConfiguration_s&, RoutingSenderProxyBase::AsyncSetSourceNotificationConfigurationAsyncCallback);
+ am_Error_e asyncAbort(const am_Handle_s, org::genivi::am::RoutingControlProxyBase::AsyncAbortAsyncCallback);
+ am_Error_e asyncConnect(const am_Handle_s , const am_connectionID_t, const am_sourceID_t, const am_sinkID_t, const am_ConnectionFormat_e, org::genivi::am::RoutingControlProxyBase::AsyncConnectAsyncCallback);
+ am_Error_e asyncDisconnect(const am_Handle_s , const am_connectionID_t, org::genivi::am::RoutingControlProxyBase::AsyncDisconnectAsyncCallback);
+ am_Error_e asyncSetSinkVolume(const am_Handle_s , const am_sinkID_t, const am_volume_t, const am_RampType_e, const am_time_t, org::genivi::am::RoutingControlProxyBase::AsyncSetSinkVolumeAsyncCallback);
+ am_Error_e asyncSetSourceVolume(const am_Handle_s , const am_sourceID_t , const am_volume_t, const am_RampType_e, const am_time_t, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceVolumeAsyncCallback);
+ am_Error_e asyncSetSourceState(const am_Handle_s , const am_sourceID_t, const am_SourceState_e, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceStateAsyncCallback);
+ am_Error_e asyncSetSinkSoundProperties(const am_Handle_s , const am_sinkID_t, const std::vector<am_SoundProperty_s>&, org::genivi::am::RoutingControlProxyBase::AsyncSetSinkSoundPropertiesAsyncCallback);
+ am_Error_e asyncSetSinkSoundProperty(const am_Handle_s , const am_sinkID_t, const am_SoundProperty_s&, org::genivi::am::RoutingControlProxyBase::AsyncSetSinkSoundPropertyAsyncCallback);
+ am_Error_e asyncSetSourceSoundProperties(const am_Handle_s , const am_sourceID_t, const std::vector<am_SoundProperty_s>&, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceSoundPropertiesAsyncCallback);
+ am_Error_e asyncSetSourceSoundProperty(const am_Handle_s , const am_sourceID_t, const am_SoundProperty_s&, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceSoundPropertyAsyncCallback);
+ am_Error_e asyncCrossFade(const am_Handle_s , const am_crossfaderID_t, const am_HotSink_e, const am_RampType_e, const am_time_t, org::genivi::am::RoutingControlProxyBase::AsyncCrossFadeAsyncCallback);
+ am_Error_e setDomainState(const am_domainID_t, const am_DomainState_e, org::genivi::am::RoutingControlProxyBase::SetDomainStateAsyncCallback);
+ am_Error_e asyncSetVolumes(const am_Handle_s , const std::vector<am_Volumes_s>&, org::genivi::am::RoutingControlProxyBase::AsyncSetVolumesAsyncCallback);
+ am_Error_e asyncSetSinkNotificationConfiguration(const am_Handle_s , const am_sinkID_t, const am_NotificationConfiguration_s&, org::genivi::am::RoutingControlProxyBase::AsyncSetSinkNotificationConfigurationAsyncCallback);
+ am_Error_e asyncSetSourceNotificationConfiguration(const am_Handle_s , const am_sourceID_t, const am_NotificationConfiguration_s&, org::genivi::am::RoutingControlProxyBase::AsyncSetSourceNotificationConfigurationAsyncCallback);
#ifdef UNIT_TEST
friend class IAmRoutingSenderBackdoor;
#endif
diff --git a/PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCAPI.h b/PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCAPI.h
index dc7f081..272b962 100644
--- a/PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCAPI.h
+++ b/PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCAPI.h
@@ -30,14 +30,12 @@
namespace am
{
using namespace CommonAPI;
-using namespace org::genivi::audiomanager;
#define ROUTING_NODE "routinginterface"
class CAmRoutingSenderCAPI: public IAmRoutingSend
{
bool mIsServiceStarted;
- bool mReady; ///< bool indicating whether the plugin have got
CAmLookupData mLookupData; ///< an object which implements the lookup mechanism
CAmCommonAPIWrapper *mpCAmCAPIWrapper; ///< pointer to the common-api wrapper
IAmRoutingReceive *mpIAmRoutingReceive; ///< pointer to the routing receive interface
diff --git a/PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCommon.h b/PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCommon.h
index 63c9ea8..e30f18f 100644
--- a/PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCommon.h
+++ b/PluginRoutingInterfaceCAPI/include/CAmRoutingSenderCommon.h
@@ -20,40 +20,42 @@
#include <memory>
#include "audiomanagertypes.h"
-#include <org/genivi/audiomanager/am_gen.h>
+#include <org/genivi/am.h>
using namespace am;
-using namespace org::genivi::audiomanager;
using namespace CommonAPI;
/**
* Utility functions
*/
-extern void CAmConvertCAPI2AM(const am_gen::am_Domain_s &, am_Domain_s &);
-extern void CAmConvertCAPI2AM(const am_gen::sourceData_s & , am::am_Source_s & );
-extern void CAmConvertCAPI2AM(const am_gen::sinkData_s & , am::am_Sink_s & );
-extern void CAmConvertCAPI2AM(const am_gen::am_Availability_s & , am_Availability_s & );
-extern void CAmConvertCAPI2AM(const am_gen::am_SoundProperty_s &, am::am_SoundProperty_s &);
-extern void CAmConvertCAPI2AM(const am_gen::am_MainSoundProperty_s &, am::am_MainSoundProperty_s & );
-extern void CAmConvertCAPI2AM(const am_gen::am_NotificationConfiguration_s & , am::am_NotificationConfiguration_s & );
-extern void CAmConvertCAPI2AM(const am_gen::am_Gateway_s & , am::am_Gateway_s & );
-extern void CAmConvertCAPI2AM(const am_gen::crossfaderData_s & , am::am_Crossfader_s & );
-extern void CAmConvertCAPI2AM(const am_gen::am_EarlyData_s & , am::am_EarlyData_s & );
-extern void CAmConvertCAPI2AM(const am_gen::am_EarlyData_u &, am::am_EarlyData_u & );
-extern void CAmConvertCAPI2AM(const am_gen::am_DataType_u & , am::am_DataType_u & );
-extern void CAmConvertCAPI2AM(const am_gen::am_Volumes_s &, am::am_Volumes_s &);
-extern void CAmConvertCAPI2AM(const am_gen::notificationPayload_s & , am::am_NotificationPayload_s & );
-extern void CAmConvertCAPIVector2AM(const std::vector<am_gen::am_NotificationConfiguration_s> & , std::vector<am::am_NotificationConfiguration_s> & );
-extern void CAmConvertCAPIVector2AM(const std::vector<am_gen::am_SoundProperty_s> &, std::vector<am::am_SoundProperty_s> &);
-extern void CAmConvertCAPIVector2AM(const std::vector<am_gen::am_ConnectionFormat_e> &, std::vector<am::am_ConnectionFormat_e> & );
-extern void CAmConvertCAPIVector2AM(const std::vector<am_gen::am_MainSoundProperty_s> &, std::vector<am::am_MainSoundProperty_s> & );
-extern void CAmConvertCAPIVector2AM(const std::vector<am_gen::am_Volumes_s> &, std::vector<am::am_Volumes_s> & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_Domain_s &, am_Domain_s &);
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_Source_s & , am::am_Source_s & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_Sink_s & , am::am_Sink_s & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_Availability_s & , am_Availability_s & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_SoundProperty_s &, am::am_SoundProperty_s &);
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_MainSoundProperty_s &, am::am_MainSoundProperty_s & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_NotificationConfiguration_s & , am::am_NotificationConfiguration_s & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_Gateway_s & , am::am_Gateway_s & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_Crossfader_s & , am::am_Crossfader_s & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_EarlyData_s & , am::am_EarlyData_s & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_EarlyData_u &, am::am_EarlyData_u & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_DataType_u & , am::am_DataType_u & );
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_Volumes_s &, am::am_Volumes_s &);
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_Handle_s &, am::am_Handle_s &);
+extern void CAmConvertCAPI2AM(const org::genivi::am::am_NotificationPayload_s & , am::am_NotificationPayload_s & );
+extern void CAmConvertCAPIVector2AM(const std::vector<org::genivi::am::am_NotificationConfiguration_s> & , std::vector<am::am_NotificationConfiguration_s> & );
+extern void CAmConvertCAPIVector2AM(const std::vector<org::genivi::am::am_SoundProperty_s> &, std::vector<am::am_SoundProperty_s> &);
+extern void CAmConvertCAPIVector2AM(const std::vector<org::genivi::am::am_ConnectionFormat_pe> &, std::vector<am::am_ConnectionFormat_e> & );
+extern void CAmConvertCAPIVector2AM(const std::vector<org::genivi::am::am_MainSoundProperty_s> &, std::vector<am::am_MainSoundProperty_s> & );
+extern void CAmConvertCAPIVector2AM(const std::vector<org::genivi::am::am_Volumes_s> &, std::vector<am::am_Volumes_s> & );
+extern void CAmConvertCAPIVector2AM(const org::genivi::am::am_EarlyData_L &, std::vector<am::am_EarlyData_s> &);
-extern void CAmConvertAM2CAPI(const am_Availability_s & , am_gen::am_Availability_s & );
-extern void CAmConvertAM2CAPI(const am::am_SoundProperty_s &, am_gen::am_SoundProperty_s &);
-extern void CAmConvertAM2CAPI(const am::am_NotificationConfiguration_s &, am_gen::am_NotificationConfiguration_s &);
-extern void CAmConvertAM2CAPI(const am::am_Volumes_s &, am_gen::am_Volumes_s &);
-extern void CAmConvertAMVector2CAPI(const std::vector<am::am_SoundProperty_s> &, std::vector<am_gen::am_SoundProperty_s> &);
-extern void CAmConvertAMVector2CAPI(const std::vector<am::am_Volumes_s> & , std::vector<am_gen::am_Volumes_s> & );
+extern void CAmConvertAM2CAPI(const am_Availability_s & , org::genivi::am::am_Availability_s & );
+extern void CAmConvertAM2CAPI(const am::am_SoundProperty_s &, org::genivi::am::am_SoundProperty_s &);
+extern void CAmConvertAM2CAPI(const am::am_NotificationConfiguration_s &, org::genivi::am::am_NotificationConfiguration_s &);
+extern void CAmConvertAM2CAPI(const am::am_Volumes_s &, org::genivi::am::am_Volumes_s &);
+extern void CAmConvertAMVector2CAPI(const std::vector<am::am_SoundProperty_s> &, std::vector<org::genivi::am::am_SoundProperty_s> &);
+extern void CAmConvertAMVector2CAPI(const std::vector<am::am_Volumes_s> & , std::vector<org::genivi::am::am_Volumes_s> & );
+extern void CAmConvertAM2CAPI(const am::am_Handle_s &, org::genivi::am::am_Handle_s &);
#endif /* CAMROUTINGSENDERCOMMON_H_ */
diff --git a/PluginRoutingInterfaceCAPI/include/CAmRoutingService.h b/PluginRoutingInterfaceCAPI/include/CAmRoutingService.h
index d4d1382..1018708 100644
--- a/PluginRoutingInterfaceCAPI/include/CAmRoutingService.h
+++ b/PluginRoutingInterfaceCAPI/include/CAmRoutingService.h
@@ -18,7 +18,7 @@
#ifndef CAMROUTINGSERVICE_H_
#define CAMROUTINGSERVICE_H_
-#include <org/genivi/audiomanager/RoutingInterfaceStubDefault.h>
+#include <org/genivi/am/RoutingControlObserverStubDefault.h>
#include "../../include/routing/IAmRoutingReceive.h"
#include "CAmLookupData.h"
@@ -27,12 +27,11 @@ namespace am {
class CAmCommonAPIWrapper;
using namespace CommonAPI;
-using namespace org::genivi::audiomanager;
/** Routing interface stub implementation.
* This class is the routing interface service for the Audio Manager.
*/
-class CAmRoutingService: public RoutingInterfaceStubDefault {
+class CAmRoutingService: public org::genivi::am::RoutingControlObserverStubDefault {
CAmCommonAPIWrapper *mpCAmCAPIWrapper; ///< pointer to common-api wrapper
IAmRoutingReceive* mpIAmRoutingReceive; ///< pointer to the routing receive interface
CAmLookupData* mpLookpData; ///< pointer to the plugin's lookup mechanism implementation
@@ -50,98 +49,94 @@ public:
*
*/
- virtual void ackConnect(uint16_t handle, am_gen::am_connectionID_t connectionID, uint16_t error);
+ void ackConnect(org::genivi::am::am_Handle_s handle, org::genivi::am::am_connectionID_t connectionID, org::genivi::am::am_Error_e error);
- virtual void ackDisconnect(uint16_t handle, am_gen::am_connectionID_t connectionID, uint16_t error);
+ void ackDisconnect(org::genivi::am::am_Handle_s handle, org::genivi::am::am_connectionID_t connectionID, org::genivi::am::am_Error_e error);
- virtual void ackSetSinkVolume(uint16_t handle, am_gen::am_volume_t volume, uint16_t error);
+ void ackSetSinkVolumeChange(org::genivi::am::am_Handle_s handle, org::genivi::am::am_volume_t volume, org::genivi::am::am_Error_e error);
- virtual void ackSetSourceVolume(uint16_t handle, am_gen::am_volume_t volume, uint16_t error);
+ void ackSetSourceVolumeChange(org::genivi::am::am_Handle_s handle, org::genivi::am::am_volume_t volume, org::genivi::am::am_Error_e error);
- virtual void ackSetSourceState(uint16_t handle, uint16_t error);
+ void ackSetSourceState(org::genivi::am::am_Handle_s handle, org::genivi::am::am_Error_e error);
- virtual void ackSetSinkSoundProperties(uint16_t handle, uint16_t error);
+ void ackSetSinkSoundProperties(org::genivi::am::am_Handle_s handle, org::genivi::am::am_Error_e error);
- virtual void ackSetSinkSoundProperty(uint16_t handle, uint16_t error);
+ void ackSetSinkSoundProperty(org::genivi::am::am_Handle_s handle, org::genivi::am::am_Error_e error);
- virtual void ackSetSourceSoundProperties(uint16_t handle, uint16_t error);
+ void ackSetSourceSoundProperties(org::genivi::am::am_Handle_s handle, org::genivi::am::am_Error_e error);
- virtual void ackSetSourceSoundProperty(uint16_t handle, uint16_t error);
+ void ackSetSourceSoundProperty(org::genivi::am::am_Handle_s handle, org::genivi::am::am_Error_e error);
- virtual void ackCrossFading(uint16_t handle, am_gen::am_HotSink_e hotSink, am_gen::am_Error_e returnError);
+ void ackCrossFading(org::genivi::am::am_Handle_s handle, org::genivi::am::am_HotSink_e hotSink, org::genivi::am::am_Error_e error);
- virtual void ackSourceVolumeTick(uint16_t handle, am_gen::am_sourceID_t source, am_gen::am_volume_t volume);
+ void ackSourceVolumeTick(org::genivi::am::am_Handle_s handle, org::genivi::am::am_sourceID_t source, org::genivi::am::am_volume_t volume);
- virtual void ackSinkVolumeTick(uint16_t handle, am_gen::am_sinkID_t sink, am_gen::am_volume_t volume);
+ void ackSinkVolumeTick(org::genivi::am::am_Handle_s handle, org::genivi::am::am_sinkID_t sink, org::genivi::am::am_volume_t volume);
- virtual void peekDomain(std::string name, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error);
+ void peekDomain(std::string name, org::genivi::am::am_domainID_t& domainID, org::genivi::am::am_Error_e& error);
- virtual void registerDomain(am_gen::am_Domain_s domainData, std::string returnBusname, std::string returnPath, std::string returnInterface, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error);
+ void registerDomain(org::genivi::am::am_Domain_s domainData, std::string returnBusname, std::string, std::string returnInterface, org::genivi::am::am_domainID_t& domainID, org::genivi::am::am_Error_e& error);
- virtual void deregisterDomain(am_gen::am_domainID_t domainID, am_gen::am_Error_e& returnError);
+ void deregisterDomain(org::genivi::am::am_domainID_t domainID, org::genivi::am::am_Error_e& returnError);
- virtual void registerGateway(am_gen::am_Gateway_s gatewayData, am_gen::am_gatewayID_t& gatewayID, am_gen::am_Error_e& error);
+ void registerGateway(org::genivi::am::am_Gateway_s gatewayData, org::genivi::am::am_gatewayID_t& gatewayID, org::genivi::am::am_Error_e& error);
- virtual void deregisterGateway(am_gen::am_gatewayID_t gatewayID, am_gen::am_Error_e& returnError);
+ void deregisterGateway(org::genivi::am::am_gatewayID_t gatewayID, org::genivi::am::am_Error_e& returnError);
- virtual void peekSink(std::string name, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error);
+ void peekSink(std::string name, org::genivi::am::am_sinkID_t& sinkID, org::genivi::am::am_Error_e& error);
- virtual void registerSink(am_gen::sinkData_s sinkData, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error);
+ void registerSink(org::genivi::am::am_Sink_s sinkData, org::genivi::am::am_sinkID_t& sinkID, org::genivi::am::am_Error_e& error);
- virtual void deregisterSink(am_gen::am_sinkID_t sinkID, am_gen::am_Error_e& returnError);
+ void deregisterSink(org::genivi::am::am_sinkID_t sinkID, org::genivi::am::am_Error_e& returnError);
- virtual void peekSource(std::string name, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error);
+ void peekSource(std::string name, org::genivi::am::am_sourceID_t& sourceID, org::genivi::am::am_Error_e& error);
- virtual void registerSource(am_gen::sourceData_s sourceData, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error);
+ void registerSource(org::genivi::am::am_Source_s sourceData, org::genivi::am::am_sourceID_t& sourceID, org::genivi::am::am_Error_e& error);
- virtual void deregisterSource(am_gen::am_sourceID_t sourceID, am_gen::am_Error_e& returnError);
+ void deregisterSource(org::genivi::am::am_sourceID_t sourceID, org::genivi::am::am_Error_e& returnError);
- virtual void registerCrossfader(am_gen::crossfaderData_s crossfaderData, am_gen::am_crossfaderID_t& crossfaderID, am_gen::am_Error_e& error);
+ void registerCrossfader(org::genivi::am::am_Crossfader_s crossfaderData, org::genivi::am::am_crossfaderID_t& crossfaderID, org::genivi::am::am_Error_e& error);
- virtual void deregisterCrossfader(am_gen::am_crossfaderID_t crossfaderID, am_gen::am_Error_e& returnError);
+ void deregisterCrossfader(org::genivi::am::am_crossfaderID_t crossfaderID, org::genivi::am::am_Error_e& returnError);
- virtual void peekSourceClassID(std::string name, am_gen::am_sourceClass_t& sourceClassID, am_gen::am_Error_e& error);
+ void peekSourceClassID(std::string name, org::genivi::am::am_sourceClass_t& sourceClassID, org::genivi::am::am_Error_e& error);
- virtual void peekSinkClassID(std::string name, am_gen::am_sinkClass_t& sinkClassID, am_gen::am_Error_e& error);
+ void peekSinkClassID(std::string name, org::genivi::am::am_sinkClass_t& sinkClassID, org::genivi::am::am_Error_e& error);
- virtual void hookInterruptStatusChange(am_gen::am_sourceID_t sourceID, uint16_t interruptState);
+ void hookInterruptStatusChange(org::genivi::am::am_sourceID_t sourceID, org::genivi::am::am_InterruptState_e InterruptState);
- virtual void hookDomainRegistrationComplete(am_gen::am_domainID_t domainID);
+ void hookDomainRegistrationComplete(org::genivi::am::am_domainID_t domainID);
- virtual void hookSinkAvailablityStatusChange(am_gen::am_sinkID_t sinkID, am_gen::am_Availability_s availability);
+ void hookSinkAvailablityStatusChange(org::genivi::am::am_sinkID_t sinkID, org::genivi::am::am_Availability_s availability);
- virtual void hookSourceAvailablityStatusChange(am_gen::am_sourceID_t sourceID, am_gen::am_Availability_s availability);
+ void hookSourceAvailablityStatusChange(org::genivi::am::am_sourceID_t sourceID, org::genivi::am::am_Availability_s availability);
- virtual void hookDomainStateChange(am_gen::am_domainID_t domainID, am_gen::am_DomainState_e domainState);
+ void hookDomainStateChange(org::genivi::am::am_domainID_t domainID, org::genivi::am::am_DomainState_e domainState);
- virtual void hookTimingInformationChanged(am_gen::am_connectionID_t connectionID, int16_t delay);
+ void hookTimingInformationChanged(org::genivi::am::am_connectionID_t connectionID, int16_t delay);
- virtual void sendChangedData(am_gen::am_EarlyData_l earlyData_volumes, am_gen::am_EarlyData_l earlyData_soundproperties);
+ void sendChangedData(org::genivi::am::am_EarlyData_L earlyData);
- virtual void confirmRoutingReady(am_gen::am_domainID_t domainID);
+ void updateGateway(org::genivi::am::am_gatewayID_t gatewayID, org::genivi::am::am_ConnectionFormat_L listSourceFormats, org::genivi::am::am_ConnectionFormat_L listSinkFormats, org::genivi::am::am_Convertion_L convertionMatrix, org::genivi::am::am_Error_e& error);
- virtual void confirmRoutingRundown(am_gen::am_domainID_t domainID);
+ void updateSink(org::genivi::am::am_sinkID_t sinkID, org::genivi::am::am_sinkClass_t sinkClassID, org::genivi::am::am_SoundProperty_L listSoundProperties, org::genivi::am::am_ConnectionFormat_L listConnectionFormats, org::genivi::am::am_MainSoundProperty_L listMainSoundProperties, org::genivi::am::am_Error_e& error);
- virtual void updateGateway(am_gen::am_gatewayID_t gatewayID, am_gen::am_ConnectionFormat_L listSourceFormats, am_gen::am_ConnectionFormat_L listSinkFormats, am_gen::bool_L convertionMatrix);
+ void updateSource(org::genivi::am::am_sourceID_t sourceID, org::genivi::am::am_sourceClass_t sourceClassID, org::genivi::am::am_SoundProperty_L listSoundProperties, org::genivi::am::am_ConnectionFormat_L listConnectionFormats, org::genivi::am::am_MainSoundProperty_L listMainSoundProperties, org::genivi::am::am_Error_e& error);
- virtual void updateSink(am_gen::am_sinkID_t sinkID, am_gen::am_sinkClass_t sinkClassID, am_gen::am_SoundProperty_L listSoundProperties, am_gen::am_ConnectionFormat_L listConnectionFormats, am_gen::am_MainSoundProperty_L listMainSoundProperties);
+ void ackSetVolumes(org::genivi::am::am_Handle_s handle , org::genivi::am::am_Volumes_L listVolumes, org::genivi::am::am_Error_e error);
- virtual void updateSource(am_gen::am_sourceID_t sourceID, am_gen::am_sourceClass_t sourceClassID, am_gen::am_SoundProperty_L listSoundProperties, am_gen::am_ConnectionFormat_L listConnectionFormats, am_gen::am_MainSoundProperty_L listMainSoundProperties);
+ void ackSinkNotificationConfiguration (org::genivi::am::am_Handle_s handle, org::genivi::am::am_Error_e error);
- virtual void ackSetVolumes(uint16_t handle, am_gen::am_Volumes_l listVolumes, uint16_t error);
+ void ackSourceNotificationConfiguration(org::genivi::am::am_Handle_s handle, org::genivi::am::am_Error_e error);
- virtual void ackSinkNotificationConfiguration(uint16_t handle, uint16_t error);
+ void hookSinkNotificationDataChange(org::genivi::am::am_sinkID_t sinkID, org::genivi::am::am_NotificationPayload_s payload);
- virtual void ackSourceNotificationConfiguration(uint16_t handle, uint16_t error);
+ void hookSourceNotificationDataChange(org::genivi::am::am_sourceID_t sourceID, org::genivi::am::am_NotificationPayload_s payload);
- virtual void hookSinkNotificationDataChange(am_gen::am_sinkID_t sinkID, am_gen::notificationPayload_s payload);
+ void confirmRoutingRundown(std::string domainName);
- virtual void hookSourceNotificationDataChange(am_gen::am_sourceID_t sourceID, am_gen::notificationPayload_s payload);
-
- virtual void getRoutingReadyState(bool& readyState);
-
- void gotReady(int16_t numberDomains, uint16_t handle);
void gotRundown(int16_t numberDomains, uint16_t handle);
+
};
} /* namespace am */
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp
new file mode 100644
index 0000000..01169e7
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.cpp
@@ -0,0 +1,910 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#include "am.h"
+
+
+namespace org {
+namespace genivi {
+namespace am {
+
+am_Route_s::am_Route_s(const am_sourceID_t& sourceIDValue, const am_sinkID_t& sinkIDValue, const am_RoutingElement_L& routeValue):
+ sourceID(sourceIDValue),
+ sinkID(sinkIDValue),
+ route(routeValue)
+{
+}
+
+
+bool operator==(const am_Route_s& lhs, const am_Route_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.sourceID == rhs.sourceID &&
+ lhs.sinkID == rhs.sinkID &&
+ lhs.route == rhs.route
+ ;
+}
+
+void am_Route_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> sourceID;
+ inputStream >> sinkID;
+ inputStream >> route;
+}
+
+void am_Route_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << sourceID;
+ outputStream << sinkID;
+ outputStream << route;
+}
+am_Availability_s::am_Availability_s(const am_Availability_e& availabilityValue, const am_AvailabilityReason_pe& availabilityReasonValue):
+ availability(availabilityValue),
+ availabilityReason(availabilityReasonValue)
+{
+}
+
+
+bool operator==(const am_Availability_s& lhs, const am_Availability_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.availability == rhs.availability &&
+ lhs.availabilityReason == rhs.availabilityReason
+ ;
+}
+
+void am_Availability_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> availability;
+ inputStream >> availabilityReason;
+}
+
+void am_Availability_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << availability;
+ outputStream << availabilityReason;
+}
+am_ClassProperty_s::am_ClassProperty_s(const am_ClassProperty_pe& classPropertyValue, const int16_t& valueValue):
+ classProperty(classPropertyValue),
+ value(valueValue)
+{
+}
+
+
+bool operator==(const am_ClassProperty_s& lhs, const am_ClassProperty_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.classProperty == rhs.classProperty &&
+ lhs.value == rhs.value
+ ;
+}
+
+void am_ClassProperty_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> classProperty;
+ inputStream >> value;
+}
+
+void am_ClassProperty_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << classProperty;
+ outputStream << value;
+}
+am_Crossfader_s::am_Crossfader_s(const am_crossfaderID_t& crossfaderIDValue, const std::string& nameValue, const am_sinkID_t& sinkID_AValue, const am_sinkID_t& sinkID_BValue, const am_sourceID_t& sourceIDValue, const am_HotSink_e& hotSinkValue):
+ crossfaderID(crossfaderIDValue),
+ name(nameValue),
+ sinkID_A(sinkID_AValue),
+ sinkID_B(sinkID_BValue),
+ sourceID(sourceIDValue),
+ hotSink(hotSinkValue)
+{
+}
+
+
+bool operator==(const am_Crossfader_s& lhs, const am_Crossfader_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.crossfaderID == rhs.crossfaderID &&
+ lhs.name == rhs.name &&
+ lhs.sinkID_A == rhs.sinkID_A &&
+ lhs.sinkID_B == rhs.sinkID_B &&
+ lhs.sourceID == rhs.sourceID &&
+ lhs.hotSink == rhs.hotSink
+ ;
+}
+
+void am_Crossfader_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> crossfaderID;
+ inputStream >> name;
+ inputStream >> sinkID_A;
+ inputStream >> sinkID_B;
+ inputStream >> sourceID;
+ inputStream >> hotSink;
+}
+
+void am_Crossfader_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << crossfaderID;
+ outputStream << name;
+ outputStream << sinkID_A;
+ outputStream << sinkID_B;
+ outputStream << sourceID;
+ outputStream << hotSink;
+}
+am_Gateway_s::am_Gateway_s(const am_gatewayID_t& gatewayIDValue, const std::string& nameValue, const am_sinkID_t& sinkIDValue, const am_sourceID_t& sourceIDValue, const am_domainID_t& domainSinkIDValue, const am_domainID_t& domainSourceIDValue, const am_domainID_t& controlDomainIDValue, const am_ConnectionFormat_L& listSourceFormatsValue, const am_ConnectionFormat_L& listSinkFormatsValue, const am_Convertion_L& convertionMatrixValue):
+ gatewayID(gatewayIDValue),
+ name(nameValue),
+ sinkID(sinkIDValue),
+ sourceID(sourceIDValue),
+ domainSinkID(domainSinkIDValue),
+ domainSourceID(domainSourceIDValue),
+ controlDomainID(controlDomainIDValue),
+ listSourceFormats(listSourceFormatsValue),
+ listSinkFormats(listSinkFormatsValue),
+ convertionMatrix(convertionMatrixValue)
+{
+}
+
+
+bool operator==(const am_Gateway_s& lhs, const am_Gateway_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.gatewayID == rhs.gatewayID &&
+ lhs.name == rhs.name &&
+ lhs.sinkID == rhs.sinkID &&
+ lhs.sourceID == rhs.sourceID &&
+ lhs.domainSinkID == rhs.domainSinkID &&
+ lhs.domainSourceID == rhs.domainSourceID &&
+ lhs.controlDomainID == rhs.controlDomainID &&
+ lhs.listSourceFormats == rhs.listSourceFormats &&
+ lhs.listSinkFormats == rhs.listSinkFormats &&
+ lhs.convertionMatrix == rhs.convertionMatrix
+ ;
+}
+
+void am_Gateway_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> gatewayID;
+ inputStream >> name;
+ inputStream >> sinkID;
+ inputStream >> sourceID;
+ inputStream >> domainSinkID;
+ inputStream >> domainSourceID;
+ inputStream >> controlDomainID;
+ inputStream >> listSourceFormats;
+ inputStream >> listSinkFormats;
+ inputStream >> convertionMatrix;
+}
+
+void am_Gateway_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << gatewayID;
+ outputStream << name;
+ outputStream << sinkID;
+ outputStream << sourceID;
+ outputStream << domainSinkID;
+ outputStream << domainSourceID;
+ outputStream << controlDomainID;
+ outputStream << listSourceFormats;
+ outputStream << listSinkFormats;
+ outputStream << convertionMatrix;
+}
+am_RoutingElement_s::am_RoutingElement_s(const am_sourceID_t& sourceIDValue, const am_sinkID_t& sinkIDValue, const am_domainID_t& domainIDValue, const am_ConnectionFormat_pe& connectionFormatValue):
+ sourceID(sourceIDValue),
+ sinkID(sinkIDValue),
+ domainID(domainIDValue),
+ connectionFormat(connectionFormatValue)
+{
+}
+
+
+bool operator==(const am_RoutingElement_s& lhs, const am_RoutingElement_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.sourceID == rhs.sourceID &&
+ lhs.sinkID == rhs.sinkID &&
+ lhs.domainID == rhs.domainID &&
+ lhs.connectionFormat == rhs.connectionFormat
+ ;
+}
+
+void am_RoutingElement_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> sourceID;
+ inputStream >> sinkID;
+ inputStream >> domainID;
+ inputStream >> connectionFormat;
+}
+
+void am_RoutingElement_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << sourceID;
+ outputStream << sinkID;
+ outputStream << domainID;
+ outputStream << connectionFormat;
+}
+am_SoundProperty_s::am_SoundProperty_s(const am_SoundPropertyType_pe& typeValue, const int16_t& valueValue):
+ type(typeValue),
+ value(valueValue)
+{
+}
+
+
+bool operator==(const am_SoundProperty_s& lhs, const am_SoundProperty_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.type == rhs.type &&
+ lhs.value == rhs.value
+ ;
+}
+
+void am_SoundProperty_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> type;
+ inputStream >> value;
+}
+
+void am_SoundProperty_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << type;
+ outputStream << value;
+}
+am_SystemProperty_s::am_SystemProperty_s(const am_SystemPropertyType_pe& typeValue, const int16_t& valueValue):
+ type(typeValue),
+ value(valueValue)
+{
+}
+
+
+bool operator==(const am_SystemProperty_s& lhs, const am_SystemProperty_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.type == rhs.type &&
+ lhs.value == rhs.value
+ ;
+}
+
+void am_SystemProperty_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> type;
+ inputStream >> value;
+}
+
+void am_SystemProperty_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << type;
+ outputStream << value;
+}
+am_SinkClass_s::am_SinkClass_s(const am_sinkClass_t& sinkClassIDValue, const std::string& nameValue, const am_ClassProperty_L& listClassPropertiesValue):
+ sinkClassID(sinkClassIDValue),
+ name(nameValue),
+ listClassProperties(listClassPropertiesValue)
+{
+}
+
+
+bool operator==(const am_SinkClass_s& lhs, const am_SinkClass_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.sinkClassID == rhs.sinkClassID &&
+ lhs.name == rhs.name &&
+ lhs.listClassProperties == rhs.listClassProperties
+ ;
+}
+
+void am_SinkClass_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> sinkClassID;
+ inputStream >> name;
+ inputStream >> listClassProperties;
+}
+
+void am_SinkClass_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << sinkClassID;
+ outputStream << name;
+ outputStream << listClassProperties;
+}
+am_SourceClass_s::am_SourceClass_s(const am_sourceClass_t& sourceClassIDValue, const std::string& nameValue, const am_ClassProperty_L& listClassPropertiesValue):
+ sourceClassID(sourceClassIDValue),
+ name(nameValue),
+ listClassProperties(listClassPropertiesValue)
+{
+}
+
+
+bool operator==(const am_SourceClass_s& lhs, const am_SourceClass_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.sourceClassID == rhs.sourceClassID &&
+ lhs.name == rhs.name &&
+ lhs.listClassProperties == rhs.listClassProperties
+ ;
+}
+
+void am_SourceClass_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> sourceClassID;
+ inputStream >> name;
+ inputStream >> listClassProperties;
+}
+
+void am_SourceClass_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << sourceClassID;
+ outputStream << name;
+ outputStream << listClassProperties;
+}
+am_SourceType_s::am_SourceType_s(const am_sourceID_t& sourceIDValue, const std::string& nameValue, const am_Availability_s& availabilityValue, const am_sourceClass_t& sourceClassIDValue):
+ sourceID(sourceIDValue),
+ name(nameValue),
+ availability(availabilityValue),
+ sourceClassID(sourceClassIDValue)
+{
+}
+
+
+bool operator==(const am_SourceType_s& lhs, const am_SourceType_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.sourceID == rhs.sourceID &&
+ lhs.name == rhs.name &&
+ lhs.availability == rhs.availability &&
+ lhs.sourceClassID == rhs.sourceClassID
+ ;
+}
+
+void am_SourceType_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> sourceID;
+ inputStream >> name;
+ inputStream >> availability;
+ inputStream >> sourceClassID;
+}
+
+void am_SourceType_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << sourceID;
+ outputStream << name;
+ outputStream << availability;
+ outputStream << sourceClassID;
+}
+am_SinkType_s::am_SinkType_s(const am_sinkID_t& sinkIDValue, const std::string& nameValue, const am_Availability_s& availabilityValue, const am_mainVolume_t& volumeValue, const am_MuteState_e& muteStateValue, const am_sinkClass_t& sinkClassIDValue):
+ sinkID(sinkIDValue),
+ name(nameValue),
+ availability(availabilityValue),
+ volume(volumeValue),
+ muteState(muteStateValue),
+ sinkClassID(sinkClassIDValue)
+{
+}
+
+
+bool operator==(const am_SinkType_s& lhs, const am_SinkType_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.sinkID == rhs.sinkID &&
+ lhs.name == rhs.name &&
+ lhs.availability == rhs.availability &&
+ lhs.volume == rhs.volume &&
+ lhs.muteState == rhs.muteState &&
+ lhs.sinkClassID == rhs.sinkClassID
+ ;
+}
+
+void am_SinkType_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> sinkID;
+ inputStream >> name;
+ inputStream >> availability;
+ inputStream >> volume;
+ inputStream >> muteState;
+ inputStream >> sinkClassID;
+}
+
+void am_SinkType_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << sinkID;
+ outputStream << name;
+ outputStream << availability;
+ outputStream << volume;
+ outputStream << muteState;
+ outputStream << sinkClassID;
+}
+am_Handle_s::am_Handle_s(const am_Handle_e& handleTypeValue, const uint16_t& handleValue):
+ handleType(handleTypeValue),
+ handle(handleValue)
+{
+}
+
+
+bool operator==(const am_Handle_s& lhs, const am_Handle_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.handleType == rhs.handleType &&
+ lhs.handle == rhs.handle
+ ;
+}
+
+void am_Handle_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> handleType;
+ inputStream >> handle;
+}
+
+void am_Handle_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << handleType;
+ outputStream << handle;
+}
+am_MainSoundProperty_s::am_MainSoundProperty_s(const am_MainSoundPropertyType_pe& typeValue, const int16_t& valueValue):
+ type(typeValue),
+ value(valueValue)
+{
+}
+
+
+bool operator==(const am_MainSoundProperty_s& lhs, const am_MainSoundProperty_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.type == rhs.type &&
+ lhs.value == rhs.value
+ ;
+}
+
+void am_MainSoundProperty_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> type;
+ inputStream >> value;
+}
+
+void am_MainSoundProperty_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << type;
+ outputStream << value;
+}
+am_MainConnectionType_s::am_MainConnectionType_s(const am_mainConnectionID_t& mainConnectionIDValue, const am_sourceID_t& sourceIDValue, const am_sinkID_t& sinkIDValue, const am_timeSync_t& delayValue, const am_ConnectionState_e& connectionStateValue):
+ mainConnectionID(mainConnectionIDValue),
+ sourceID(sourceIDValue),
+ sinkID(sinkIDValue),
+ delay(delayValue),
+ connectionState(connectionStateValue)
+{
+}
+
+
+bool operator==(const am_MainConnectionType_s& lhs, const am_MainConnectionType_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.mainConnectionID == rhs.mainConnectionID &&
+ lhs.sourceID == rhs.sourceID &&
+ lhs.sinkID == rhs.sinkID &&
+ lhs.delay == rhs.delay &&
+ lhs.connectionState == rhs.connectionState
+ ;
+}
+
+void am_MainConnectionType_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> mainConnectionID;
+ inputStream >> sourceID;
+ inputStream >> sinkID;
+ inputStream >> delay;
+ inputStream >> connectionState;
+}
+
+void am_MainConnectionType_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << mainConnectionID;
+ outputStream << sourceID;
+ outputStream << sinkID;
+ outputStream << delay;
+ outputStream << connectionState;
+}
+am_MainConnection_s::am_MainConnection_s(const am_mainConnectionID_t& mainConnectionIDValue, const am_ConnectionState_e& connectionStateValue, const am_sinkID_t& sinkIDValue, const am_sourceID_t& sourceIDValue, const am_timeSync_t& delayValue, const am_ConnectionID_L& listConnectionIDValue):
+ mainConnectionID(mainConnectionIDValue),
+ connectionState(connectionStateValue),
+ sinkID(sinkIDValue),
+ sourceID(sourceIDValue),
+ delay(delayValue),
+ listConnectionID(listConnectionIDValue)
+{
+}
+
+
+bool operator==(const am_MainConnection_s& lhs, const am_MainConnection_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.mainConnectionID == rhs.mainConnectionID &&
+ lhs.connectionState == rhs.connectionState &&
+ lhs.sinkID == rhs.sinkID &&
+ lhs.sourceID == rhs.sourceID &&
+ lhs.delay == rhs.delay &&
+ lhs.listConnectionID == rhs.listConnectionID
+ ;
+}
+
+void am_MainConnection_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> mainConnectionID;
+ inputStream >> connectionState;
+ inputStream >> sinkID;
+ inputStream >> sourceID;
+ inputStream >> delay;
+ inputStream >> listConnectionID;
+}
+
+void am_MainConnection_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << mainConnectionID;
+ outputStream << connectionState;
+ outputStream << sinkID;
+ outputStream << sourceID;
+ outputStream << delay;
+ outputStream << listConnectionID;
+}
+am_NotificationPayload_s::am_NotificationPayload_s(const am_NotificationType_pe& typeValue, const int16_t& valueValue):
+ type(typeValue),
+ value(valueValue)
+{
+}
+
+
+bool operator==(const am_NotificationPayload_s& lhs, const am_NotificationPayload_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.type == rhs.type &&
+ lhs.value == rhs.value
+ ;
+}
+
+void am_NotificationPayload_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> type;
+ inputStream >> value;
+}
+
+void am_NotificationPayload_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << type;
+ outputStream << value;
+}
+am_NotificationConfiguration_s::am_NotificationConfiguration_s(const am_NotificationType_pe& typeValue, const am_NotificationStatus_e& statusValue, const int16_t& parameterValue):
+ type(typeValue),
+ status(statusValue),
+ parameter(parameterValue)
+{
+}
+
+
+bool operator==(const am_NotificationConfiguration_s& lhs, const am_NotificationConfiguration_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.type == rhs.type &&
+ lhs.status == rhs.status &&
+ lhs.parameter == rhs.parameter
+ ;
+}
+
+void am_NotificationConfiguration_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> type;
+ inputStream >> status;
+ inputStream >> parameter;
+}
+
+void am_NotificationConfiguration_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << type;
+ outputStream << status;
+ outputStream << parameter;
+}
+am_Sink_s::am_Sink_s(const am_sinkID_t& sinkIDValue, const std::string& nameValue, const am_domainID_t& domainIDValue, const am_sinkClass_t& sinkClassIDValue, const am_volume_t& volumeValue, const bool& visibleValue, const am_Availability_s& availableValue, const am_MuteState_e& muteStateValue, const am_mainVolume_t& mainVolumeValue, const am_SoundProperty_L& listSoundPropertiesValue, const am_ConnectionFormat_L& listConnectionFormatsValue, const am_MainSoundProperty_L& listMainSoundPropertiesValue, const am_NotificationConfiguration_L& listMainNotificationConfigurationsValue, const am_NotificationConfiguration_L& listNotificationConfigurationsValue):
+ sinkID(sinkIDValue),
+ name(nameValue),
+ domainID(domainIDValue),
+ sinkClassID(sinkClassIDValue),
+ volume(volumeValue),
+ visible(visibleValue),
+ available(availableValue),
+ muteState(muteStateValue),
+ mainVolume(mainVolumeValue),
+ listSoundProperties(listSoundPropertiesValue),
+ listConnectionFormats(listConnectionFormatsValue),
+ listMainSoundProperties(listMainSoundPropertiesValue),
+ listMainNotificationConfigurations(listMainNotificationConfigurationsValue),
+ listNotificationConfigurations(listNotificationConfigurationsValue)
+{
+}
+
+
+bool operator==(const am_Sink_s& lhs, const am_Sink_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.sinkID == rhs.sinkID &&
+ lhs.name == rhs.name &&
+ lhs.domainID == rhs.domainID &&
+ lhs.sinkClassID == rhs.sinkClassID &&
+ lhs.volume == rhs.volume &&
+ lhs.visible == rhs.visible &&
+ lhs.available == rhs.available &&
+ lhs.muteState == rhs.muteState &&
+ lhs.mainVolume == rhs.mainVolume &&
+ lhs.listSoundProperties == rhs.listSoundProperties &&
+ lhs.listConnectionFormats == rhs.listConnectionFormats &&
+ lhs.listMainSoundProperties == rhs.listMainSoundProperties &&
+ lhs.listMainNotificationConfigurations == rhs.listMainNotificationConfigurations &&
+ lhs.listNotificationConfigurations == rhs.listNotificationConfigurations
+ ;
+}
+
+void am_Sink_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> sinkID;
+ inputStream >> name;
+ inputStream >> domainID;
+ inputStream >> sinkClassID;
+ inputStream >> volume;
+ inputStream >> visible;
+ inputStream >> available;
+ inputStream >> muteState;
+ inputStream >> mainVolume;
+ inputStream >> listSoundProperties;
+ inputStream >> listConnectionFormats;
+ inputStream >> listMainSoundProperties;
+ inputStream >> listMainNotificationConfigurations;
+ inputStream >> listNotificationConfigurations;
+}
+
+void am_Sink_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << sinkID;
+ outputStream << name;
+ outputStream << domainID;
+ outputStream << sinkClassID;
+ outputStream << volume;
+ outputStream << visible;
+ outputStream << available;
+ outputStream << muteState;
+ outputStream << mainVolume;
+ outputStream << listSoundProperties;
+ outputStream << listConnectionFormats;
+ outputStream << listMainSoundProperties;
+ outputStream << listMainNotificationConfigurations;
+ outputStream << listNotificationConfigurations;
+}
+am_Source_s::am_Source_s(const am_sourceID_t& sourceIDValue, const am_domainID_t& domainIDValue, const std::string& nameValue, const am_sourceClass_t& sourceClassIDValue, const am_SourceState_e& sourceStateValue, const am_volume_t& volumeValue, const bool& visibleValue, const am_Availability_s& availableValue, const am_InterruptState_e& interruptStateValue, const am_SoundProperty_L& listSoundPropertiesValue, const am_ConnectionFormat_L& listConnectionFormatsValue, const am_MainSoundProperty_L& listMainSoundPropertiesValue, const am_NotificationConfiguration_L& listMainNotificationConfigurationsValue, const am_NotificationConfiguration_L& listNotificationConfigurationsValue):
+ sourceID(sourceIDValue),
+ domainID(domainIDValue),
+ name(nameValue),
+ sourceClassID(sourceClassIDValue),
+ sourceState(sourceStateValue),
+ volume(volumeValue),
+ visible(visibleValue),
+ available(availableValue),
+ interruptState(interruptStateValue),
+ listSoundProperties(listSoundPropertiesValue),
+ listConnectionFormats(listConnectionFormatsValue),
+ listMainSoundProperties(listMainSoundPropertiesValue),
+ listMainNotificationConfigurations(listMainNotificationConfigurationsValue),
+ listNotificationConfigurations(listNotificationConfigurationsValue)
+{
+}
+
+
+bool operator==(const am_Source_s& lhs, const am_Source_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.sourceID == rhs.sourceID &&
+ lhs.domainID == rhs.domainID &&
+ lhs.name == rhs.name &&
+ lhs.sourceClassID == rhs.sourceClassID &&
+ lhs.sourceState == rhs.sourceState &&
+ lhs.volume == rhs.volume &&
+ lhs.visible == rhs.visible &&
+ lhs.available == rhs.available &&
+ lhs.interruptState == rhs.interruptState &&
+ lhs.listSoundProperties == rhs.listSoundProperties &&
+ lhs.listConnectionFormats == rhs.listConnectionFormats &&
+ lhs.listMainSoundProperties == rhs.listMainSoundProperties &&
+ lhs.listMainNotificationConfigurations == rhs.listMainNotificationConfigurations &&
+ lhs.listNotificationConfigurations == rhs.listNotificationConfigurations
+ ;
+}
+
+void am_Source_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> sourceID;
+ inputStream >> domainID;
+ inputStream >> name;
+ inputStream >> sourceClassID;
+ inputStream >> sourceState;
+ inputStream >> volume;
+ inputStream >> visible;
+ inputStream >> available;
+ inputStream >> interruptState;
+ inputStream >> listSoundProperties;
+ inputStream >> listConnectionFormats;
+ inputStream >> listMainSoundProperties;
+ inputStream >> listMainNotificationConfigurations;
+ inputStream >> listNotificationConfigurations;
+}
+
+void am_Source_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << sourceID;
+ outputStream << domainID;
+ outputStream << name;
+ outputStream << sourceClassID;
+ outputStream << sourceState;
+ outputStream << volume;
+ outputStream << visible;
+ outputStream << available;
+ outputStream << interruptState;
+ outputStream << listSoundProperties;
+ outputStream << listConnectionFormats;
+ outputStream << listMainSoundProperties;
+ outputStream << listMainNotificationConfigurations;
+ outputStream << listNotificationConfigurations;
+}
+am_Domain_s::am_Domain_s(const am_domainID_t& domainIDValue, const std::string& nameValue, const std::string& busnameValue, const std::string& nodenameValue, const bool& earlyValue, const bool& completeValue, const am_DomainState_e& stateValue):
+ domainID(domainIDValue),
+ name(nameValue),
+ busname(busnameValue),
+ nodename(nodenameValue),
+ early(earlyValue),
+ complete(completeValue),
+ state(stateValue)
+{
+}
+
+
+bool operator==(const am_Domain_s& lhs, const am_Domain_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.domainID == rhs.domainID &&
+ lhs.name == rhs.name &&
+ lhs.busname == rhs.busname &&
+ lhs.nodename == rhs.nodename &&
+ lhs.early == rhs.early &&
+ lhs.complete == rhs.complete &&
+ lhs.state == rhs.state
+ ;
+}
+
+void am_Domain_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> domainID;
+ inputStream >> name;
+ inputStream >> busname;
+ inputStream >> nodename;
+ inputStream >> early;
+ inputStream >> complete;
+ inputStream >> state;
+}
+
+void am_Domain_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << domainID;
+ outputStream << name;
+ outputStream << busname;
+ outputStream << nodename;
+ outputStream << early;
+ outputStream << complete;
+ outputStream << state;
+}
+am_EarlyData_s::am_EarlyData_s(const am_EarlyDataType_e& typeValue, const am_DataType_u& sinksourceValue, const am_EarlyData_u& dataValue):
+ type(typeValue),
+ sinksource(sinksourceValue),
+ data(dataValue)
+{
+}
+
+
+bool operator==(const am_EarlyData_s& lhs, const am_EarlyData_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.type == rhs.type &&
+ lhs.sinksource == rhs.sinksource &&
+ lhs.data == rhs.data
+ ;
+}
+
+void am_EarlyData_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> type;
+ inputStream >> sinksource;
+ inputStream >> data;
+}
+
+void am_EarlyData_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << type;
+ outputStream << sinksource;
+ outputStream << data;
+}
+am_Connection_s::am_Connection_s(const am_connectionID_t& connectionIDValue, const am_sourceID_t& sourceIDValue, const am_sinkID_t& sinkIDValue, const am_timeSync_t& delayValue, const am_ConnectionFormat_pe& connectionFormatValue):
+ connectionID(connectionIDValue),
+ sourceID(sourceIDValue),
+ sinkID(sinkIDValue),
+ delay(delayValue),
+ connectionFormat(connectionFormatValue)
+{
+}
+
+
+bool operator==(const am_Connection_s& lhs, const am_Connection_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.connectionID == rhs.connectionID &&
+ lhs.sourceID == rhs.sourceID &&
+ lhs.sinkID == rhs.sinkID &&
+ lhs.delay == rhs.delay &&
+ lhs.connectionFormat == rhs.connectionFormat
+ ;
+}
+
+void am_Connection_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> connectionID;
+ inputStream >> sourceID;
+ inputStream >> sinkID;
+ inputStream >> delay;
+ inputStream >> connectionFormat;
+}
+
+void am_Connection_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << connectionID;
+ outputStream << sourceID;
+ outputStream << sinkID;
+ outputStream << delay;
+ outputStream << connectionFormat;
+}
+am_Volumes_s::am_Volumes_s(const am_VolumeType_e& volumeTypeValue, const am_DataType_u& volumeIDValue, const am_volume_t& volumeValue, const am_RampType_pe& rampValue, const am_time_t& timeValue):
+ volumeType(volumeTypeValue),
+ volumeID(volumeIDValue),
+ volume(volumeValue),
+ ramp(rampValue),
+ time(timeValue)
+{
+}
+
+
+bool operator==(const am_Volumes_s& lhs, const am_Volumes_s& rhs) {
+ if (&lhs == &rhs)
+ return true;
+
+ return
+ lhs.volumeType == rhs.volumeType &&
+ lhs.volumeID == rhs.volumeID &&
+ lhs.volume == rhs.volume &&
+ lhs.ramp == rhs.ramp &&
+ lhs.time == rhs.time
+ ;
+}
+
+void am_Volumes_s::readFromInputStream(CommonAPI::InputStream& inputStream) {
+ inputStream >> volumeType;
+ inputStream >> volumeID;
+ inputStream >> volume;
+ inputStream >> ramp;
+ inputStream >> time;
+}
+
+void am_Volumes_s::writeToOutputStream(CommonAPI::OutputStream& outputStream) const {
+ outputStream << volumeType;
+ outputStream << volumeID;
+ outputStream << volume;
+ outputStream << ramp;
+ outputStream << time;
+}
+
+} // namespace am
+} // namespace genivi
+} // namespace org
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.h
new file mode 100644
index 0000000..8e9b4be
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am.h
@@ -0,0 +1,1532 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_am_H_
+#define ORG_GENIVI_am_H_
+
+
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
+#include <CommonAPI/InputStream.h>
+#include <CommonAPI/OutputStream.h>
+#include <CommonAPI/SerializableStruct.h>
+#include <CommonAPI/SerializableVariant.h>
+#include <CommonAPI/types.h>
+#include <cstdint>
+#include <memory>
+#include <string>
+#include <vector>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+namespace org {
+namespace genivi {
+
+namespace am {
+ typedef uint16_t am_sourceID_t;
+
+ typedef uint16_t am_mainConnectionID_t;
+
+ typedef int16_t am_timeSync_t;
+
+ typedef uint16_t am_sinkID_t;
+
+ enum class am_ConnectionState_e: int32_t {
+ CS_UNKNOWN = 0,
+ CS_CONNECTING = 1,
+ CS_CONNECTED = 2,
+ CS_DISCONNECTING = 3,
+ CS_DISCONNECTED = 4,
+ CS_SUSPENDED = 5,
+ CS_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_ConnectionState_eComparator;
+
+ struct am_MainConnectionType_s: CommonAPI::SerializableStruct {
+ am_mainConnectionID_t mainConnectionID;
+ am_sourceID_t sourceID;
+ am_sinkID_t sinkID;
+ am_timeSync_t delay;
+ am_ConnectionState_e connectionState;
+
+ am_MainConnectionType_s() = default;
+ am_MainConnectionType_s(const am_mainConnectionID_t& mainConnectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_timeSync_t& delay, const am_ConnectionState_e& connectionState);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ typeOutputStream.writeInt32Type();
+ }
+ };
+
+ typedef std::vector<am_MainConnectionType_s> am_MainConnection_L;
+
+ typedef uint16_t am_ClassProperty_pe;
+
+ struct am_ClassProperty_s: CommonAPI::SerializableStruct {
+ am_ClassProperty_pe classProperty;
+ int16_t value;
+
+ am_ClassProperty_s() = default;
+ am_ClassProperty_s(const am_ClassProperty_pe& classProperty, const int16_t& value);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ }
+ };
+
+ typedef std::vector<am_ClassProperty_s> am_ClassProperty_L;
+
+ typedef uint16_t am_sinkClass_t;
+
+ struct am_SinkClass_s: CommonAPI::SerializableStruct {
+ am_sinkClass_t sinkClassID;
+ std::string name;
+ am_ClassProperty_L listClassProperties;
+
+ am_SinkClass_s() = default;
+ am_SinkClass_s(const am_sinkClass_t& sinkClassID, const std::string& name, const am_ClassProperty_L& listClassProperties);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeStringType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ }
+ };
+
+ typedef std::vector<am_SinkClass_s> am_SinkClass_L;
+
+ typedef int16_t am_mainVolume_t;
+
+ typedef uint16_t am_AvailabilityReason_pe;
+
+ enum class am_Availability_e: int32_t {
+ A_UNKNOWN = 0,
+ A_AVAILABLE = 1,
+ A_UNAVAILABLE = 2,
+ A_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_Availability_eComparator;
+
+ enum class am_MuteState_e: int32_t {
+ MS_UNKNOWN = 0,
+ MS_MUTED = 1,
+ MS_UNMUTED = 2,
+ MS_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_MuteState_eComparator;
+
+ struct am_Availability_s: CommonAPI::SerializableStruct {
+ am_Availability_e availability;
+ am_AvailabilityReason_pe availabilityReason;
+
+ am_Availability_s() = default;
+ am_Availability_s(const am_Availability_e& availability, const am_AvailabilityReason_pe& availabilityReason);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.writeUInt16Type();
+ }
+ };
+
+ struct am_SinkType_s: CommonAPI::SerializableStruct {
+ am_sinkID_t sinkID;
+ std::string name;
+ am_Availability_s availability;
+ am_mainVolume_t volume;
+ am_MuteState_e muteState;
+ am_sinkClass_t sinkClassID;
+
+ am_SinkType_s() = default;
+ am_SinkType_s(const am_sinkID_t& sinkID, const std::string& name, const am_Availability_s& availability, const am_mainVolume_t& volume, const am_MuteState_e& muteState, const am_sinkClass_t& sinkClassID);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeStringType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeInt32Type();typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.writeInt16Type();
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.writeUInt16Type();
+ }
+ };
+
+ typedef std::vector<am_SinkType_s> am_SinkType_L;
+
+ typedef uint16_t am_sourceClass_t;
+
+ struct am_SourceClass_s: CommonAPI::SerializableStruct {
+ am_sourceClass_t sourceClassID;
+ std::string name;
+ am_ClassProperty_L listClassProperties;
+
+ am_SourceClass_s() = default;
+ am_SourceClass_s(const am_sourceClass_t& sourceClassID, const std::string& name, const am_ClassProperty_L& listClassProperties);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeStringType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ }
+ };
+
+ typedef std::vector<am_SourceClass_s> am_SourceClass_L;
+
+ struct am_SourceType_s: CommonAPI::SerializableStruct {
+ am_sourceID_t sourceID;
+ std::string name;
+ am_Availability_s availability;
+ am_sourceClass_t sourceClassID;
+
+ am_SourceType_s() = default;
+ am_SourceType_s(const am_sourceID_t& sourceID, const std::string& name, const am_Availability_s& availability, const am_sourceClass_t& sourceClassID);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeStringType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeInt32Type();typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.writeUInt16Type();
+ }
+ };
+
+ typedef std::vector<am_SourceType_s> am_SourceType_L;
+
+ typedef uint16_t am_SystemPropertyType_pe;
+
+ struct am_SystemProperty_s: CommonAPI::SerializableStruct {
+ am_SystemPropertyType_pe type;
+ int16_t value;
+
+ am_SystemProperty_s() = default;
+ am_SystemProperty_s(const am_SystemPropertyType_pe& type, const int16_t& value);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ }
+ };
+
+ typedef std::vector<am_SystemProperty_s> am_SystemProperty_L;
+
+ typedef uint16_t am_connectionID_t;
+
+ typedef std::vector<am_connectionID_t> am_ConnectionID_L;
+
+ typedef int16_t am_volume_t;
+
+ typedef uint16_t am_SoundPropertyType_pe;
+
+ enum class am_EarlyDataType_e: int32_t {
+ ES_UNKNOWN = 0,
+ ED_SOURCE_VOLUME = 1,
+ ED_SINK_VOLUME = 2,
+ ED_SOURCE_PROPERTY = 3,
+ ED_SINK_PROPERTY = 4,
+ ED_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_EarlyDataType_eComparator;
+
+ struct am_SoundProperty_s: CommonAPI::SerializableStruct {
+ am_SoundPropertyType_pe type;
+ int16_t value;
+
+ am_SoundProperty_s() = default;
+ am_SoundProperty_s(const am_SoundPropertyType_pe& type, const int16_t& value);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ }
+ };
+
+ typedef CommonAPI::Variant<am_volume_t, am_SoundProperty_s> am_EarlyData_u;
+
+ typedef CommonAPI::Variant<am_sinkID_t, am_sourceID_t> am_DataType_u;
+
+ struct am_EarlyData_s: CommonAPI::SerializableStruct {
+ am_EarlyDataType_e type;
+ am_DataType_u sinksource;
+ am_EarlyData_u data;
+
+ am_EarlyData_s() = default;
+ am_EarlyData_s(const am_EarlyDataType_e& type, const am_DataType_u& sinksource, const am_EarlyData_u& data);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.writeVariantType();
+ typeOutputStream.writeVariantType();
+ }
+ };
+
+ typedef std::vector<am_EarlyData_s> am_EarlyData_L;
+
+ typedef uint16_t am_MainSoundPropertyType_pe;
+
+ struct am_MainSoundProperty_s: CommonAPI::SerializableStruct {
+ am_MainSoundPropertyType_pe type;
+ int16_t value;
+
+ am_MainSoundProperty_s() = default;
+ am_MainSoundProperty_s(const am_MainSoundPropertyType_pe& type, const int16_t& value);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ }
+ };
+
+ typedef std::vector<am_MainSoundProperty_s> am_MainSoundProperty_L;
+
+ typedef uint16_t am_NotificationType_pe;
+
+ enum class am_NotificationStatus_e: int32_t {
+ NS_UNKNOWN = 0,
+ NS_OFF = 1,
+ NS_PERIODIC = 2,
+ NS_MINIMUM = 3,
+ NS_MAXIMUM = 4,
+ NS_CHANGE_ = 5,
+ NS_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_NotificationStatus_eComparator;
+
+ struct am_NotificationConfiguration_s: CommonAPI::SerializableStruct {
+ am_NotificationType_pe type;
+ am_NotificationStatus_e status;
+ int16_t parameter;
+
+ am_NotificationConfiguration_s() = default;
+ am_NotificationConfiguration_s(const am_NotificationType_pe& type, const am_NotificationStatus_e& status, const int16_t& parameter);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.writeInt16Type();
+ }
+ };
+
+ typedef std::vector<am_NotificationConfiguration_s> am_NotificationConfiguration_L;
+
+ typedef uint16_t am_domainID_t;
+
+ typedef uint16_t am_ConnectionFormat_pe;
+
+ struct am_RoutingElement_s: CommonAPI::SerializableStruct {
+ am_sourceID_t sourceID;
+ am_sinkID_t sinkID;
+ am_domainID_t domainID;
+ am_ConnectionFormat_pe connectionFormat;
+
+ am_RoutingElement_s() = default;
+ am_RoutingElement_s(const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_domainID_t& domainID, const am_ConnectionFormat_pe& connectionFormat);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ }
+ };
+
+ typedef std::vector<am_RoutingElement_s> am_RoutingElement_L;
+
+ typedef std::vector<am_SoundProperty_s> am_SoundProperty_L;
+
+ typedef int16_t am_time_t;
+
+ typedef uint16_t am_RampType_pe;
+
+ enum class am_VolumeType_e: int32_t {
+ VT_UNKNOWN = 0,
+ VT_SINK = 1,
+ VT_SOURCE = 2,
+ VT_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_VolumeType_eComparator;
+
+ struct am_Volumes_s: CommonAPI::SerializableStruct {
+ am_VolumeType_e volumeType;
+ am_DataType_u volumeID;
+ am_volume_t volume;
+ am_RampType_pe ramp;
+ am_time_t time;
+
+ am_Volumes_s() = default;
+ am_Volumes_s(const am_VolumeType_e& volumeType, const am_DataType_u& volumeID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.writeVariantType();
+ typeOutputStream.writeInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ }
+ };
+
+ typedef std::vector<am_Volumes_s> am_Volumes_L;
+
+ typedef std::vector<am_ConnectionFormat_pe> am_ConnectionFormat_L;
+
+ typedef bool am_bool_t;
+
+ typedef std::vector<am_bool_t> am_Convertion_L;
+
+ typedef uint16_t am_gatewayID_t;
+
+ typedef uint16_t am_crossfaderID_t;
+
+ typedef uint16_t am_speed_t;
+
+ enum class am_HotSink_e: int32_t {
+ HS_UNKNOWN = 0,
+ HS_SINKA = 1,
+ HS_SINKB = 2,
+ HS_INTERMEDIATE = 3,
+ HS_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_HotSink_eComparator;
+
+ enum class am_DomainState_e: int32_t {
+ DS_UNKNOWN = 0,
+ DS_CONTROLLED = 1,
+ DS_INDEPENDENT_STARTUP = 1,
+ DS_INDEPENDENT_RUNDOWN = 2,
+ DS_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_DomainState_eComparator;
+
+ enum class am_Error_e: int32_t {
+ E_OK = 0,
+ E_UNKNOWN = 1,
+ E_OUT_OF_RANGE = 2,
+ E_NOT_USED = 3,
+ E_DATABASE_ERROR = 4,
+ E_ALREADY_EXISTS = 5,
+ E_NO_CHANGE = 6,
+ E_NOT_POSSIBLE = 7,
+ E_NON_EXISTENT = 8,
+ E_ABORTED = 9,
+ E_WRONG_FORMAT = 10,
+ E_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_Error_eComparator;
+
+ enum class am_InterruptState_e: int32_t {
+ IS_UNKNOWN = 0,
+ IS_OFF = 1,
+ IS_INTERRUPTED = 2,
+ IS_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_InterruptState_eComparator;
+
+ enum class am_Handle_e: int32_t {
+ H_UNKNOWN = 0,
+ H_CONNECT = 1,
+ H_DISCONNECT = 2,
+ H_SETSOURCESTATE = 3,
+ H_SETSINKVOLUME = 4,
+ H_SETSOURCEVOLUME = 5,
+ H_SETSINKSOUNDPROPERTY = 6,
+ H_SETSOURCESOUNDPROPERTY = 7,
+ H_SETSINKSOUNDPROPERTIES = 8,
+ H_SETSOURCESOUNDPROPERTIES = 9,
+ H_CROSSFADE = 10,
+ H_SETVOLUMES = 11,
+ H_SETSINKNOTIFICATION = 12,
+ H_SETSOURCENOTIFICATION = 13,
+ H_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_Handle_eComparator;
+
+ enum class am_SourceState_e: int32_t {
+ SS_UNKNNOWN = 0,
+ SS_ON = 1,
+ SS_OFF = 2,
+ SS_PAUSED = 3,
+ SS_MAX
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_SourceState_eComparator;
+
+ enum class am_RoutingReady_e: int32_t {
+ RR_UNKNOWN = 0,
+ RR_READY = 1,
+ RR_RUNDOWN = 2
+ };
+
+ // XXX Definition of a comparator still is necessary for GCC 4.4.1, topic is fixed since 4.5.1
+ struct am_RoutingReady_eComparator;
+
+ struct am_Route_s: CommonAPI::SerializableStruct {
+ am_sourceID_t sourceID;
+ am_sinkID_t sinkID;
+ am_RoutingElement_L route;
+
+ am_Route_s() = default;
+ am_Route_s(const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_RoutingElement_L& route);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeUInt16Type();typeOutputStream.writeUInt16Type();typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ }
+ };
+
+ struct am_Crossfader_s: CommonAPI::SerializableStruct {
+ am_crossfaderID_t crossfaderID;
+ std::string name;
+ am_sinkID_t sinkID_A;
+ am_sinkID_t sinkID_B;
+ am_sourceID_t sourceID;
+ am_HotSink_e hotSink;
+
+ am_Crossfader_s() = default;
+ am_Crossfader_s(const am_crossfaderID_t& crossfaderID, const std::string& name, const am_sinkID_t& sinkID_A, const am_sinkID_t& sinkID_B, const am_sourceID_t& sourceID, const am_HotSink_e& hotSink);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeStringType();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt32Type();
+ }
+ };
+
+ struct am_Gateway_s: CommonAPI::SerializableStruct {
+ am_gatewayID_t gatewayID;
+ std::string name;
+ am_sinkID_t sinkID;
+ am_sourceID_t sourceID;
+ am_domainID_t domainSinkID;
+ am_domainID_t domainSourceID;
+ am_domainID_t controlDomainID;
+ am_ConnectionFormat_L listSourceFormats;
+ am_ConnectionFormat_L listSinkFormats;
+ am_Convertion_L convertionMatrix;
+
+ am_Gateway_s() = default;
+ am_Gateway_s(const am_gatewayID_t& gatewayID, const std::string& name, const am_sinkID_t& sinkID, const am_sourceID_t& sourceID, const am_domainID_t& domainSinkID, const am_domainID_t& domainSourceID, const am_domainID_t& controlDomainID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeStringType();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.writeBoolType();
+ typeOutputStream.endWriteVectorType();
+ }
+ };
+
+ struct am_Handle_s: CommonAPI::SerializableStruct {
+ am_Handle_e handleType;
+ uint16_t handle;
+
+ am_Handle_s() = default;
+ am_Handle_s(const am_Handle_e& handleType, const uint16_t& handle);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.writeUInt16Type();
+ }
+ };
+
+ struct am_MainConnection_s: CommonAPI::SerializableStruct {
+ am_mainConnectionID_t mainConnectionID;
+ am_ConnectionState_e connectionState;
+ am_sinkID_t sinkID;
+ am_sourceID_t sourceID;
+ am_timeSync_t delay;
+ am_ConnectionID_L listConnectionID;
+
+ am_MainConnection_s() = default;
+ am_MainConnection_s(const am_mainConnectionID_t& mainConnectionID, const am_ConnectionState_e& connectionState, const am_sinkID_t& sinkID, const am_sourceID_t& sourceID, const am_timeSync_t& delay, const am_ConnectionID_L& listConnectionID);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteVectorType();
+ }
+ };
+
+ struct am_NotificationPayload_s: CommonAPI::SerializableStruct {
+ am_NotificationType_pe type;
+ int16_t value;
+
+ am_NotificationPayload_s() = default;
+ am_NotificationPayload_s(const am_NotificationType_pe& type, const int16_t& value);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ }
+ };
+
+ struct am_Sink_s: CommonAPI::SerializableStruct {
+ am_sinkID_t sinkID;
+ std::string name;
+ am_domainID_t domainID;
+ am_sinkClass_t sinkClassID;
+ am_volume_t volume;
+ bool visible;
+ am_Availability_s available;
+ am_MuteState_e muteState;
+ am_mainVolume_t mainVolume;
+ am_SoundProperty_L listSoundProperties;
+ am_ConnectionFormat_L listConnectionFormats;
+ am_MainSoundProperty_L listMainSoundProperties;
+ am_NotificationConfiguration_L listMainNotificationConfigurations;
+ am_NotificationConfiguration_L listNotificationConfigurations;
+
+ am_Sink_s() = default;
+ am_Sink_s(const am_sinkID_t& sinkID, const std::string& name, const am_domainID_t& domainID, const am_sinkClass_t& sinkClassID, const am_volume_t& volume, const bool& visible, const am_Availability_s& available, const am_MuteState_e& muteState, const am_mainVolume_t& mainVolume, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, const am_NotificationConfiguration_L& listMainNotificationConfigurations, const am_NotificationConfiguration_L& listNotificationConfigurations);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeStringType();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ typeOutputStream.writeBoolType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeInt32Type();typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.writeInt16Type();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt32Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt32Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ }
+ };
+
+ struct am_Source_s: CommonAPI::SerializableStruct {
+ am_sourceID_t sourceID;
+ am_domainID_t domainID;
+ std::string name;
+ am_sourceClass_t sourceClassID;
+ am_SourceState_e sourceState;
+ am_volume_t volume;
+ bool visible;
+ am_Availability_s available;
+ am_InterruptState_e interruptState;
+ am_SoundProperty_L listSoundProperties;
+ am_ConnectionFormat_L listConnectionFormats;
+ am_MainSoundProperty_L listMainSoundProperties;
+ am_NotificationConfiguration_L listMainNotificationConfigurations;
+ am_NotificationConfiguration_L listNotificationConfigurations;
+
+ am_Source_s() = default;
+ am_Source_s(const am_sourceID_t& sourceID, const am_domainID_t& domainID, const std::string& name, const am_sourceClass_t& sourceClassID, const am_SourceState_e& sourceState, const am_volume_t& volume, const bool& visible, const am_Availability_s& available, const am_InterruptState_e& interruptState, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, const am_NotificationConfiguration_L& listMainNotificationConfigurations, const am_NotificationConfiguration_L& listNotificationConfigurations);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeStringType();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.writeInt16Type();
+ typeOutputStream.writeBoolType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeInt32Type();typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.writeInt32Type();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt32Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ typeOutputStream.beginWriteVectorType();
+ typeOutputStream.beginWriteStructType();
+ typeOutputStream.writeUInt16Type();typeOutputStream.writeInt32Type();typeOutputStream.writeInt16Type();
+ typeOutputStream.endWriteStructType();
+ typeOutputStream.endWriteVectorType();
+ }
+ };
+
+ struct am_Domain_s: CommonAPI::SerializableStruct {
+ am_domainID_t domainID;
+ std::string name;
+ std::string busname;
+ std::string nodename;
+ bool early;
+ bool complete;
+ am_DomainState_e state;
+
+ am_Domain_s() = default;
+ am_Domain_s(const am_domainID_t& domainID, const std::string& name, const std::string& busname, const std::string& nodename, const bool& early, const bool& complete, const am_DomainState_e& state);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeStringType();
+ typeOutputStream.writeStringType();
+ typeOutputStream.writeStringType();
+ typeOutputStream.writeBoolType();
+ typeOutputStream.writeBoolType();
+ typeOutputStream.writeInt32Type();
+ }
+ };
+
+ struct am_Connection_s: CommonAPI::SerializableStruct {
+ am_connectionID_t connectionID;
+ am_sourceID_t sourceID;
+ am_sinkID_t sinkID;
+ am_timeSync_t delay;
+ am_ConnectionFormat_pe connectionFormat;
+
+ am_Connection_s() = default;
+ am_Connection_s(const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_timeSync_t& delay, const am_ConnectionFormat_pe& connectionFormat);
+
+
+ virtual void readFromInputStream(CommonAPI::InputStream& inputStream);
+ virtual void writeToOutputStream(CommonAPI::OutputStream& outputStream) const;
+
+ static inline void writeToTypeOutputStream(CommonAPI::TypeOutputStream& typeOutputStream) {
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeUInt16Type();
+ typeOutputStream.writeInt16Type();
+ typeOutputStream.writeUInt16Type();
+ }
+ };
+
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_Availability_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_Availability_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_Availability_eComparator {
+ inline bool operator()(const am_Availability_e& lhs, const am_Availability_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_HotSink_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_HotSink_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_HotSink_eComparator {
+ inline bool operator()(const am_HotSink_e& lhs, const am_HotSink_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_ConnectionState_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_ConnectionState_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_ConnectionState_eComparator {
+ inline bool operator()(const am_ConnectionState_e& lhs, const am_ConnectionState_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_DomainState_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_DomainState_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_DomainState_eComparator {
+ inline bool operator()(const am_DomainState_e& lhs, const am_DomainState_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_EarlyDataType_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_EarlyDataType_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_EarlyDataType_eComparator {
+ inline bool operator()(const am_EarlyDataType_e& lhs, const am_EarlyDataType_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_Error_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_Error_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_Error_eComparator {
+ inline bool operator()(const am_Error_e& lhs, const am_Error_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_MuteState_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_MuteState_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_MuteState_eComparator {
+ inline bool operator()(const am_MuteState_e& lhs, const am_MuteState_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_InterruptState_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_InterruptState_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_InterruptState_eComparator {
+ inline bool operator()(const am_InterruptState_e& lhs, const am_InterruptState_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_VolumeType_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_VolumeType_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_VolumeType_eComparator {
+ inline bool operator()(const am_VolumeType_e& lhs, const am_VolumeType_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_NotificationStatus_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_NotificationStatus_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_NotificationStatus_eComparator {
+ inline bool operator()(const am_NotificationStatus_e& lhs, const am_NotificationStatus_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_Handle_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_Handle_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_Handle_eComparator {
+ inline bool operator()(const am_Handle_e& lhs, const am_Handle_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_SourceState_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_SourceState_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_SourceState_eComparator {
+ inline bool operator()(const am_SourceState_e& lhs, const am_SourceState_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+inline CommonAPI::InputStream& operator>>(CommonAPI::InputStream& inputStream, am_RoutingReady_e& enumValue) {
+ return inputStream.readEnumValue<int32_t>(enumValue);
+}
+
+inline CommonAPI::OutputStream& operator<<(CommonAPI::OutputStream& outputStream, const am_RoutingReady_e& enumValue) {
+ return outputStream.writeEnumValue(static_cast<int32_t>(enumValue));
+}
+
+struct am_RoutingReady_eComparator {
+ inline bool operator()(const am_RoutingReady_e& lhs, const am_RoutingReady_e& rhs) const {
+ return static_cast<int32_t>(lhs) < static_cast<int32_t>(rhs);
+ }
+};
+
+bool operator==(const am_Route_s& lhs, const am_Route_s& rhs);
+inline bool operator!=(const am_Route_s& lhs, const am_Route_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_Availability_s& lhs, const am_Availability_s& rhs);
+inline bool operator!=(const am_Availability_s& lhs, const am_Availability_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_ClassProperty_s& lhs, const am_ClassProperty_s& rhs);
+inline bool operator!=(const am_ClassProperty_s& lhs, const am_ClassProperty_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_Crossfader_s& lhs, const am_Crossfader_s& rhs);
+inline bool operator!=(const am_Crossfader_s& lhs, const am_Crossfader_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_Gateway_s& lhs, const am_Gateway_s& rhs);
+inline bool operator!=(const am_Gateway_s& lhs, const am_Gateway_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_RoutingElement_s& lhs, const am_RoutingElement_s& rhs);
+inline bool operator!=(const am_RoutingElement_s& lhs, const am_RoutingElement_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_SoundProperty_s& lhs, const am_SoundProperty_s& rhs);
+inline bool operator!=(const am_SoundProperty_s& lhs, const am_SoundProperty_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_SystemProperty_s& lhs, const am_SystemProperty_s& rhs);
+inline bool operator!=(const am_SystemProperty_s& lhs, const am_SystemProperty_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_SinkClass_s& lhs, const am_SinkClass_s& rhs);
+inline bool operator!=(const am_SinkClass_s& lhs, const am_SinkClass_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_SourceClass_s& lhs, const am_SourceClass_s& rhs);
+inline bool operator!=(const am_SourceClass_s& lhs, const am_SourceClass_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_SourceType_s& lhs, const am_SourceType_s& rhs);
+inline bool operator!=(const am_SourceType_s& lhs, const am_SourceType_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_SinkType_s& lhs, const am_SinkType_s& rhs);
+inline bool operator!=(const am_SinkType_s& lhs, const am_SinkType_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_Handle_s& lhs, const am_Handle_s& rhs);
+inline bool operator!=(const am_Handle_s& lhs, const am_Handle_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_MainSoundProperty_s& lhs, const am_MainSoundProperty_s& rhs);
+inline bool operator!=(const am_MainSoundProperty_s& lhs, const am_MainSoundProperty_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_MainConnectionType_s& lhs, const am_MainConnectionType_s& rhs);
+inline bool operator!=(const am_MainConnectionType_s& lhs, const am_MainConnectionType_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_MainConnection_s& lhs, const am_MainConnection_s& rhs);
+inline bool operator!=(const am_MainConnection_s& lhs, const am_MainConnection_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_NotificationPayload_s& lhs, const am_NotificationPayload_s& rhs);
+inline bool operator!=(const am_NotificationPayload_s& lhs, const am_NotificationPayload_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_NotificationConfiguration_s& lhs, const am_NotificationConfiguration_s& rhs);
+inline bool operator!=(const am_NotificationConfiguration_s& lhs, const am_NotificationConfiguration_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_Sink_s& lhs, const am_Sink_s& rhs);
+inline bool operator!=(const am_Sink_s& lhs, const am_Sink_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_Source_s& lhs, const am_Source_s& rhs);
+inline bool operator!=(const am_Source_s& lhs, const am_Source_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_Domain_s& lhs, const am_Domain_s& rhs);
+inline bool operator!=(const am_Domain_s& lhs, const am_Domain_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_EarlyData_s& lhs, const am_EarlyData_s& rhs);
+inline bool operator!=(const am_EarlyData_s& lhs, const am_EarlyData_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_Connection_s& lhs, const am_Connection_s& rhs);
+inline bool operator!=(const am_Connection_s& lhs, const am_Connection_s& rhs) {
+ return !(lhs == rhs);
+}
+bool operator==(const am_Volumes_s& lhs, const am_Volumes_s& rhs);
+inline bool operator!=(const am_Volumes_s& lhs, const am_Volumes_s& rhs) {
+ return !(lhs == rhs);
+}
+
+
+static inline const char* getTypeCollectionName() {
+ return "org.genivi.am";
+}
+
+inline CommonAPI::Version getTypeCollectionVersion() {
+ return CommonAPI::Version(1, 0);
+}
+
+} // namespace am
+
+} // namespace genivi
+} // namespace org
+
+namespace CommonAPI {
+
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_Availability_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_Availability_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_Availability_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_Availability_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_Availability_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_HotSink_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_HotSink_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_HotSink_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_HotSink_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_HotSink_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_ConnectionState_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_ConnectionState_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_ConnectionState_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_ConnectionState_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_ConnectionState_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_DomainState_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_DomainState_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_DomainState_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_DomainState_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_DomainState_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_EarlyDataType_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_EarlyDataType_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_EarlyDataType_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_EarlyDataType_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_EarlyDataType_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_Error_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_Error_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_Error_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_Error_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_Error_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_MuteState_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_MuteState_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_MuteState_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_MuteState_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_MuteState_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_InterruptState_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_InterruptState_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_InterruptState_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_InterruptState_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_InterruptState_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_VolumeType_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_VolumeType_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_VolumeType_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_VolumeType_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_VolumeType_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_NotificationStatus_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_NotificationStatus_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_NotificationStatus_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_NotificationStatus_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_NotificationStatus_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_Handle_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_Handle_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_Handle_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_Handle_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_Handle_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_SourceState_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_SourceState_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_SourceState_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_SourceState_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_SourceState_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+ template<>
+ struct BasicTypeWriter<org::genivi::am::am_RoutingReady_e> {
+ inline static void writeType (CommonAPI::TypeOutputStream& typeStream) {
+ typeStream.writeInt32EnumType();
+ }
+ };
+
+ template<>
+ struct InputStreamVectorHelper<org::genivi::am::am_RoutingReady_e> {
+ static void beginReadVector(InputStream& inputStream, const std::vector<org::genivi::am::am_RoutingReady_e>& vectorValue) {
+ inputStream.beginReadInt32EnumVector();
+ }
+ };
+
+ template <>
+ struct OutputStreamVectorHelper<org::genivi::am::am_RoutingReady_e> {
+ static void beginWriteVector(OutputStream& outputStream, const std::vector<org::genivi::am::am_RoutingReady_e>& vectorValue) {
+ outputStream.beginWriteInt32EnumVector(vectorValue.size());
+ }
+ };
+
+}
+
+
+namespace std {
+ //Hash for am_Availability_e
+ template<>
+ struct hash<org::genivi::am::am_Availability_e> {
+ inline size_t operator()(const org::genivi::am::am_Availability_e& am_Availability_e) const {
+ return static_cast<int32_t>(am_Availability_e);
+ }
+ };
+ //Hash for am_HotSink_e
+ template<>
+ struct hash<org::genivi::am::am_HotSink_e> {
+ inline size_t operator()(const org::genivi::am::am_HotSink_e& am_HotSink_e) const {
+ return static_cast<int32_t>(am_HotSink_e);
+ }
+ };
+ //Hash for am_ConnectionState_e
+ template<>
+ struct hash<org::genivi::am::am_ConnectionState_e> {
+ inline size_t operator()(const org::genivi::am::am_ConnectionState_e& am_ConnectionState_e) const {
+ return static_cast<int32_t>(am_ConnectionState_e);
+ }
+ };
+ //Hash for am_DomainState_e
+ template<>
+ struct hash<org::genivi::am::am_DomainState_e> {
+ inline size_t operator()(const org::genivi::am::am_DomainState_e& am_DomainState_e) const {
+ return static_cast<int32_t>(am_DomainState_e);
+ }
+ };
+ //Hash for am_EarlyDataType_e
+ template<>
+ struct hash<org::genivi::am::am_EarlyDataType_e> {
+ inline size_t operator()(const org::genivi::am::am_EarlyDataType_e& am_EarlyDataType_e) const {
+ return static_cast<int32_t>(am_EarlyDataType_e);
+ }
+ };
+ //Hash for am_Error_e
+ template<>
+ struct hash<org::genivi::am::am_Error_e> {
+ inline size_t operator()(const org::genivi::am::am_Error_e& am_Error_e) const {
+ return static_cast<int32_t>(am_Error_e);
+ }
+ };
+ //Hash for am_MuteState_e
+ template<>
+ struct hash<org::genivi::am::am_MuteState_e> {
+ inline size_t operator()(const org::genivi::am::am_MuteState_e& am_MuteState_e) const {
+ return static_cast<int32_t>(am_MuteState_e);
+ }
+ };
+ //Hash for am_InterruptState_e
+ template<>
+ struct hash<org::genivi::am::am_InterruptState_e> {
+ inline size_t operator()(const org::genivi::am::am_InterruptState_e& am_InterruptState_e) const {
+ return static_cast<int32_t>(am_InterruptState_e);
+ }
+ };
+ //Hash for am_VolumeType_e
+ template<>
+ struct hash<org::genivi::am::am_VolumeType_e> {
+ inline size_t operator()(const org::genivi::am::am_VolumeType_e& am_VolumeType_e) const {
+ return static_cast<int32_t>(am_VolumeType_e);
+ }
+ };
+ //Hash for am_NotificationStatus_e
+ template<>
+ struct hash<org::genivi::am::am_NotificationStatus_e> {
+ inline size_t operator()(const org::genivi::am::am_NotificationStatus_e& am_NotificationStatus_e) const {
+ return static_cast<int32_t>(am_NotificationStatus_e);
+ }
+ };
+ //Hash for am_Handle_e
+ template<>
+ struct hash<org::genivi::am::am_Handle_e> {
+ inline size_t operator()(const org::genivi::am::am_Handle_e& am_Handle_e) const {
+ return static_cast<int32_t>(am_Handle_e);
+ }
+ };
+ //Hash for am_SourceState_e
+ template<>
+ struct hash<org::genivi::am::am_SourceState_e> {
+ inline size_t operator()(const org::genivi::am::am_SourceState_e& am_SourceState_e) const {
+ return static_cast<int32_t>(am_SourceState_e);
+ }
+ };
+ //Hash for am_RoutingReady_e
+ template<>
+ struct hash<org::genivi::am::am_RoutingReady_e> {
+ inline size_t operator()(const org::genivi::am::am_RoutingReady_e& am_RoutingReady_e) const {
+ return static_cast<int32_t>(am_RoutingReady_e);
+ }
+ };
+}
+
+#endif // ORG_GENIVI_am_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControl.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControl.h
new file mode 100644
index 0000000..40ef21c
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControl.h
@@ -0,0 +1,55 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_H_
+#define ORG_GENIVI_AM_Routing_Control_H_
+
+
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
+#include <CommonAPI/types.h>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+namespace org {
+namespace genivi {
+namespace am {
+
+class RoutingControl {
+ public:
+ virtual ~RoutingControl() { }
+
+ static inline const char* getInterfaceId();
+ static inline CommonAPI::Version getInterfaceVersion();
+};
+
+const char* RoutingControl::getInterfaceId() {
+ return "org.genivi.am.RoutingControl";
+}
+
+CommonAPI::Version RoutingControl::getInterfaceVersion() {
+ return CommonAPI::Version(0, 1);
+}
+
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+namespace CommonAPI {
+
+}
+
+
+namespace std {
+ //hashes for types
+
+ //hashes for error types
+}
+
+#endif // ORG_GENIVI_AM_Routing_Control_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusProxy.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusProxy.cpp
new file mode 100644
index 0000000..e55f256
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusProxy.cpp
@@ -0,0 +1,333 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#include "RoutingControlDBusProxy.h"
+
+namespace org {
+namespace genivi {
+namespace am {
+
+std::shared_ptr<CommonAPI::DBus::DBusProxy> createRoutingControlDBusProxy(
+ const std::string& commonApiAddress,
+ const std::string& interfaceName,
+ const std::string& busName,
+ const std::string& objectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyConnection) {
+ return std::make_shared<RoutingControlDBusProxy>(commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection);
+}
+
+__attribute__((constructor)) void registerRoutingControlDBusProxy(void) {
+ CommonAPI::DBus::DBusFactory::registerProxyFactoryMethod(RoutingControl::getInterfaceId(),
+ &createRoutingControlDBusProxy);
+}
+
+RoutingControlDBusProxy::RoutingControlDBusProxy(
+ const std::string& commonApiAddress,
+ const std::string& interfaceName,
+ const std::string& busName,
+ const std::string& objectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection):
+ CommonAPI::DBus::DBusProxy(commonApiAddress, interfaceName, busName, objectPath, dbusProxyconnection)
+ {
+}
+
+
+
+void RoutingControlDBusProxy::asyncAbort(const am_Handle_s& handle, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncAbort",
+ "(iq)",
+ handle,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncAbortAsync(const am_Handle_s& handle, AsyncAbortAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncAbort",
+ "(iq)",
+ handle,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t, am_sourceID_t, am_sinkID_t, am_ConnectionFormat_pe>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncConnect",
+ "(iq)qqqq",
+ handle, connectionID, sourceID, sinkID, connectionFormat,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, AsyncConnectAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t, am_sourceID_t, am_sinkID_t, am_ConnectionFormat_pe>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncConnect",
+ "(iq)qqqq",
+ handle, connectionID, sourceID, sinkID, connectionFormat,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncDisconnect",
+ "(iq)q",
+ handle, connectionID,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, AsyncDisconnectAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncDisconnect",
+ "(iq)q",
+ handle, connectionID,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetSinkVolume(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_volume_t, am_RampType_pe, am_time_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetSinkVolume",
+ "(iq)qnqn",
+ handle, sinkID, volume, ramp, time,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSinkVolumeAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSinkVolumeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_volume_t, am_RampType_pe, am_time_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetSinkVolume",
+ "(iq)qnqn",
+ handle, sinkID, volume, ramp, time,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetSourceVolume(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_volume_t, am_RampType_pe, am_time_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetSourceVolume",
+ "(iq)qnqn",
+ handle, sourceID, volume, ramp, time,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSourceVolumeAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSourceVolumeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_volume_t, am_RampType_pe, am_time_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetSourceVolume",
+ "(iq)qnqn",
+ handle, sourceID, volume, ramp, time,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetSourceState(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SourceState_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetSourceState",
+ "(iq)qi",
+ handle, sourceID, state,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSourceStateAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, AsyncSetSourceStateAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SourceState_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetSourceState",
+ "(iq)qi",
+ handle, sourceID, state,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetSinkSoundProperties(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_SoundProperty_L>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetSinkSoundProperties",
+ "(iq)qa(qn)",
+ handle, sinkID, listSoundProperties,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, AsyncSetSinkSoundPropertiesAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_SoundProperty_L>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetSinkSoundProperties",
+ "(iq)qa(qn)",
+ handle, sinkID, listSoundProperties,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetSinkSoundProperty(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_SoundProperty_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetSinkSoundProperty",
+ "(iq)q(qn)",
+ handle, sinkID, soundProperty,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, AsyncSetSinkSoundPropertyAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_SoundProperty_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetSinkSoundProperty",
+ "(iq)q(qn)",
+ handle, sinkID, soundProperty,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetSourceSoundProperties(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SoundProperty_L>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetSourceSoundProperties",
+ "(iq)qa(qn)",
+ handle, sourceID, listSoundProperties,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, AsyncSetSourceSoundPropertiesAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SoundProperty_L>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetSourceSoundProperties",
+ "(iq)qa(qn)",
+ handle, sourceID, listSoundProperties,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetSourceSoundProperty(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SoundProperty_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetSourceSoundProperty",
+ "(iq)q(qn)",
+ handle, sourceID, soundProperty,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, AsyncSetSourceSoundPropertyAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SoundProperty_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetSourceSoundProperty",
+ "(iq)q(qn)",
+ handle, sourceID, soundProperty,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncCrossFade(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_crossfaderID_t, am_HotSink_e, am_RampType_pe, am_time_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncCrossFade",
+ "(iq)qiqn",
+ handle, crossfaderID, hotSink, rampType, time,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncCrossFadeAsync(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, AsyncCrossFadeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_crossfaderID_t, am_HotSink_e, am_RampType_pe, am_time_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncCrossFade",
+ "(iq)qiqn",
+ handle, crossfaderID, hotSink, rampType, time,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::setDomainState(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_DomainState_e>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
+ *this,
+ "setDomainState",
+ "qi",
+ domainID, domainState,
+ callStatus
+ , error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::setDomainStateAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, SetDomainStateAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_DomainState_e>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
+ *this,
+ "setDomainState",
+ "qi",
+ domainID, domainState,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetVolumes(const am_Handle_s& handle, const am_Volumes_L& volumes, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Volumes_L>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetVolumes",
+ "(iq)a(i(yv)nqn)",
+ handle, volumes,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& volumes, AsyncSetVolumesAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Volumes_L>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetVolumes",
+ "(iq)a(i(yv)nqn)",
+ handle, volumes,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetSinkNotificationConfiguration(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_NotificationConfiguration_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetSinkNotificationConfiguration",
+ "(iq)q(qin)",
+ handle, sinkID, notificationConfiguration,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSinkNotificationConfigurationAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_NotificationConfiguration_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetSinkNotificationConfiguration",
+ "(iq)q(qin)",
+ handle, sinkID, notificationConfiguration,
+ std::move(callback));
+}
+void RoutingControlDBusProxy::asyncSetSourceNotificationConfiguration(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_NotificationConfiguration_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "asyncSetSourceNotificationConfiguration",
+ "(iq)q(qin)",
+ handle, sourceID, notificationConfiguration,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSourceNotificationConfigurationAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_NotificationConfiguration_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "asyncSetSourceNotificationConfiguration",
+ "(iq)q(qin)",
+ handle, sourceID, notificationConfiguration,
+ std::move(callback));
+}
+
+void RoutingControlDBusProxy::getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const {
+ ownVersionMajor = 0;
+ ownVersionMinor = 1;
+}
+
+} // namespace am
+} // namespace genivi
+} // namespace org
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusProxy.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusProxy.h
new file mode 100644
index 0000000..9e73446
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusProxy.h
@@ -0,0 +1,95 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_DBUS_PROXY_H_
+#define ORG_GENIVI_AM_Routing_Control_DBUS_PROXY_H_
+
+#include <org/genivi/am/RoutingControlProxyBase.h>
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
+#include <CommonAPI/DBus/DBusFactory.h>
+#include <CommonAPI/DBus/DBusProxy.h>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+#include <string>
+
+namespace org {
+namespace genivi {
+namespace am {
+
+class RoutingControlDBusProxy: virtual public RoutingControlProxyBase, virtual public CommonAPI::DBus::DBusProxy {
+ public:
+ RoutingControlDBusProxy(
+ const std::string& commonApiAddress,
+ const std::string& interfaceName,
+ const std::string& busName,
+ const std::string& objectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection);
+
+ virtual ~RoutingControlDBusProxy() { }
+
+
+
+
+ virtual void asyncAbort(const am_Handle_s& handle, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncAbortAsync(const am_Handle_s& handle, AsyncAbortAsyncCallback callback);
+
+ virtual void asyncConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, AsyncConnectAsyncCallback callback);
+
+ virtual void asyncDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, AsyncDisconnectAsyncCallback callback);
+
+ virtual void asyncSetSinkVolume(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkVolumeAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSinkVolumeAsyncCallback callback);
+
+ virtual void asyncSetSourceVolume(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceVolumeAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSourceVolumeAsyncCallback callback);
+
+ virtual void asyncSetSourceState(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceStateAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, AsyncSetSourceStateAsyncCallback callback);
+
+ virtual void asyncSetSinkSoundProperties(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, AsyncSetSinkSoundPropertiesAsyncCallback callback);
+
+ virtual void asyncSetSinkSoundProperty(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, AsyncSetSinkSoundPropertyAsyncCallback callback);
+
+ virtual void asyncSetSourceSoundProperties(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, AsyncSetSourceSoundPropertiesAsyncCallback callback);
+
+ virtual void asyncSetSourceSoundProperty(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, AsyncSetSourceSoundPropertyAsyncCallback callback);
+
+ virtual void asyncCrossFade(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncCrossFadeAsync(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, AsyncCrossFadeAsyncCallback callback);
+
+ virtual void setDomainState(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> setDomainStateAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, SetDomainStateAsyncCallback callback);
+
+ virtual void asyncSetVolumes(const am_Handle_s& handle, const am_Volumes_L& volumes, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& volumes, AsyncSetVolumesAsyncCallback callback);
+
+ virtual void asyncSetSinkNotificationConfiguration(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSinkNotificationConfigurationAsyncCallback callback);
+
+ virtual void asyncSetSourceNotificationConfiguration(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSourceNotificationConfigurationAsyncCallback callback);
+
+ virtual void getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const;
+
+ private:
+
+};
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+#endif // ORG_GENIVI_AM_Routing_Control_DBUS_PROXY_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.cpp
new file mode 100644
index 0000000..fe14623
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.cpp
@@ -0,0 +1,225 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#include "RoutingControlDBusStubAdapter.h"
+#include <org/genivi/am/RoutingControl.h>
+
+namespace org {
+namespace genivi {
+namespace am {
+
+std::shared_ptr<CommonAPI::DBus::DBusStubAdapter> createRoutingControlDBusStubAdapter(
+ const std::string& commonApiAddress,
+ const std::string& interfaceName,
+ const std::string& busName,
+ const std::string& objectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyConnection,
+ const std::shared_ptr<CommonAPI::StubBase>& stubBase) {
+ return std::make_shared<RoutingControlDBusStubAdapter>(commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection, stubBase);
+}
+
+__attribute__((constructor)) void registerRoutingControlDBusStubAdapter(void) {
+ CommonAPI::DBus::DBusFactory::registerAdapterFactoryMethod(RoutingControl::getInterfaceId(),
+ &createRoutingControlDBusStubAdapter);
+}
+
+RoutingControlDBusStubAdapter::RoutingControlDBusStubAdapter(
+ const std::string& commonApiAddress,
+ const std::string& dbusInterfaceName,
+ const std::string& dbusBusName,
+ const std::string& dbusObjectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusConnection,
+ const std::shared_ptr<CommonAPI::StubBase>& stub):
+ RoutingControlDBusStubAdapterHelper(commonApiAddress, dbusInterfaceName, dbusBusName, dbusObjectPath, dbusConnection, std::dynamic_pointer_cast<RoutingControlStub>(stub)) {
+}
+
+const char* RoutingControlDBusStubAdapter::getMethodsDBusIntrospectionXmlData() const {
+ return
+ "<method name=\"asyncAbort\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncConnect\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"connectionID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"connectionFormat\" type=\"q\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncDisconnect\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"connectionID\" type=\"q\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetSinkVolume\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
+ "<arg name=\"ramp\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"time\" type=\"n\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetSourceVolume\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
+ "<arg name=\"ramp\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"time\" type=\"n\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetSourceState\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"state\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetSinkSoundProperties\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"listSoundProperties\" type=\"a(qn)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetSinkSoundProperty\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"soundProperty\" type=\"(qn)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetSourceSoundProperties\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"listSoundProperties\" type=\"a(qn)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetSourceSoundProperty\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"soundProperty\" type=\"(qn)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncCrossFade\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"crossfaderID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"hotSink\" type=\"i\" direction=\"in\" />\n"
+ "<arg name=\"rampType\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"time\" type=\"n\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"setDomainState\">\n"
+ "<arg name=\"domainID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"domainState\" type=\"i\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetVolumes\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"volumes\" type=\"a(i(yv)nqn)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetSinkNotificationConfiguration\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"notificationConfiguration\" type=\"(qin)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"asyncSetSourceNotificationConfiguration\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"notificationConfiguration\" type=\"(qin)\" direction=\"in\" />\n"
+ "</method>\n"
+ ;
+}
+
+
+
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s>,
+ std::tuple<>
+ > asyncAbortStubDispatcher(&RoutingControlStub::asyncAbort, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_connectionID_t, am_sourceID_t, am_sinkID_t, am_ConnectionFormat_pe>,
+ std::tuple<>
+ > asyncConnectStubDispatcher(&RoutingControlStub::asyncConnect, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_connectionID_t>,
+ std::tuple<>
+ > asyncDisconnectStubDispatcher(&RoutingControlStub::asyncDisconnect, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_sinkID_t, am_volume_t, am_RampType_pe, am_time_t>,
+ std::tuple<>
+ > asyncSetSinkVolumeStubDispatcher(&RoutingControlStub::asyncSetSinkVolume, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_sourceID_t, am_volume_t, am_RampType_pe, am_time_t>,
+ std::tuple<>
+ > asyncSetSourceVolumeStubDispatcher(&RoutingControlStub::asyncSetSourceVolume, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_sourceID_t, am_SourceState_e>,
+ std::tuple<>
+ > asyncSetSourceStateStubDispatcher(&RoutingControlStub::asyncSetSourceState, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_sinkID_t, am_SoundProperty_L>,
+ std::tuple<>
+ > asyncSetSinkSoundPropertiesStubDispatcher(&RoutingControlStub::asyncSetSinkSoundProperties, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_sinkID_t, am_SoundProperty_s>,
+ std::tuple<>
+ > asyncSetSinkSoundPropertyStubDispatcher(&RoutingControlStub::asyncSetSinkSoundProperty, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_sourceID_t, am_SoundProperty_L>,
+ std::tuple<>
+ > asyncSetSourceSoundPropertiesStubDispatcher(&RoutingControlStub::asyncSetSourceSoundProperties, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_sourceID_t, am_SoundProperty_s>,
+ std::tuple<>
+ > asyncSetSourceSoundPropertyStubDispatcher(&RoutingControlStub::asyncSetSourceSoundProperty, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_crossfaderID_t, am_HotSink_e, am_RampType_pe, am_time_t>,
+ std::tuple<>
+ > asyncCrossFadeStubDispatcher(&RoutingControlStub::asyncCrossFade, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_domainID_t, am_DomainState_e>,
+ std::tuple<am_Error_e>
+ > setDomainStateStubDispatcher(&RoutingControlStub::setDomainState, "i");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_Volumes_L>,
+ std::tuple<>
+ > asyncSetVolumesStubDispatcher(&RoutingControlStub::asyncSetVolumes, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_sinkID_t, am_NotificationConfiguration_s>,
+ std::tuple<>
+ > asyncSetSinkNotificationConfigurationStubDispatcher(&RoutingControlStub::asyncSetSinkNotificationConfiguration, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlStub,
+ std::tuple<am_Handle_s, am_sourceID_t, am_NotificationConfiguration_s>,
+ std::tuple<>
+ > asyncSetSourceNotificationConfigurationStubDispatcher(&RoutingControlStub::asyncSetSourceNotificationConfiguration, "");
+
+
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+template<>
+const org::genivi::am::RoutingControlDBusStubAdapterHelper::StubDispatcherTable org::genivi::am::RoutingControlDBusStubAdapterHelper::stubDispatcherTable_ = {
+ { { "asyncAbort", "(iq)" }, &org::genivi::am::asyncAbortStubDispatcher },
+ { { "asyncConnect", "(iq)qqqq" }, &org::genivi::am::asyncConnectStubDispatcher },
+ { { "asyncDisconnect", "(iq)q" }, &org::genivi::am::asyncDisconnectStubDispatcher },
+ { { "asyncSetSinkVolume", "(iq)qnqn" }, &org::genivi::am::asyncSetSinkVolumeStubDispatcher },
+ { { "asyncSetSourceVolume", "(iq)qnqn" }, &org::genivi::am::asyncSetSourceVolumeStubDispatcher },
+ { { "asyncSetSourceState", "(iq)qi" }, &org::genivi::am::asyncSetSourceStateStubDispatcher },
+ { { "asyncSetSinkSoundProperties", "(iq)qa(qn)" }, &org::genivi::am::asyncSetSinkSoundPropertiesStubDispatcher },
+ { { "asyncSetSinkSoundProperty", "(iq)q(qn)" }, &org::genivi::am::asyncSetSinkSoundPropertyStubDispatcher },
+ { { "asyncSetSourceSoundProperties", "(iq)qa(qn)" }, &org::genivi::am::asyncSetSourceSoundPropertiesStubDispatcher },
+ { { "asyncSetSourceSoundProperty", "(iq)q(qn)" }, &org::genivi::am::asyncSetSourceSoundPropertyStubDispatcher },
+ { { "asyncCrossFade", "(iq)qiqn" }, &org::genivi::am::asyncCrossFadeStubDispatcher },
+ { { "setDomainState", "qi" }, &org::genivi::am::setDomainStateStubDispatcher },
+ { { "asyncSetVolumes", "(iq)a(i(yv)nqn)" }, &org::genivi::am::asyncSetVolumesStubDispatcher },
+ { { "asyncSetSinkNotificationConfiguration", "(iq)q(qin)" }, &org::genivi::am::asyncSetSinkNotificationConfigurationStubDispatcher },
+ { { "asyncSetSourceNotificationConfiguration", "(iq)q(qin)" }, &org::genivi::am::asyncSetSourceNotificationConfigurationStubDispatcher }
+};
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.h
new file mode 100644
index 0000000..c25c98a
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlDBusStubAdapter.h
@@ -0,0 +1,46 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_DBUS_STUB_ADAPTER_H_
+#define ORG_GENIVI_AM_Routing_Control_DBUS_STUB_ADAPTER_H_
+
+#include <org/genivi/am/RoutingControlStub.h>
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
+#include <CommonAPI/DBus/DBusStubAdapterHelper.h>
+#include <CommonAPI/DBus/DBusFactory.h>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+namespace org {
+namespace genivi {
+namespace am {
+
+typedef CommonAPI::DBus::DBusStubAdapterHelper<RoutingControlStub> RoutingControlDBusStubAdapterHelper;
+
+class RoutingControlDBusStubAdapter: public RoutingControlStubAdapter, public RoutingControlDBusStubAdapterHelper {
+ public:
+ RoutingControlDBusStubAdapter(
+ const std::string& commonApiAddress,
+ const std::string& dbusInterfaceName,
+ const std::string& dbusBusName,
+ const std::string& dbusObjectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusConnection,
+ const std::shared_ptr<CommonAPI::StubBase>& stub);
+
+
+
+ protected:
+ virtual const char* getMethodsDBusIntrospectionXmlData() const;
+};
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+#endif // ORG_GENIVI_AM_Routing_Control_DBUS_STUB_ADAPTER_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserver.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserver.h
new file mode 100644
index 0000000..e5b6803
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserver.h
@@ -0,0 +1,55 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_Observer_H_
+#define ORG_GENIVI_AM_Routing_Control_Observer_H_
+
+
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
+#include <CommonAPI/types.h>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+namespace org {
+namespace genivi {
+namespace am {
+
+class RoutingControlObserver {
+ public:
+ virtual ~RoutingControlObserver() { }
+
+ static inline const char* getInterfaceId();
+ static inline CommonAPI::Version getInterfaceVersion();
+};
+
+const char* RoutingControlObserver::getInterfaceId() {
+ return "org.genivi.am.RoutingControlObserver";
+}
+
+CommonAPI::Version RoutingControlObserver::getInterfaceVersion() {
+ return CommonAPI::Version(0, 1);
+}
+
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+namespace CommonAPI {
+
+}
+
+
+namespace std {
+ //hashes for types
+
+ //hashes for error types
+}
+
+#endif // ORG_GENIVI_AM_Routing_Control_Observer_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusProxy.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusProxy.cpp
new file mode 100644
index 0000000..370b831
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusProxy.cpp
@@ -0,0 +1,869 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#include "RoutingControlObserverDBusProxy.h"
+
+namespace org {
+namespace genivi {
+namespace am {
+
+std::shared_ptr<CommonAPI::DBus::DBusProxy> createRoutingControlObserverDBusProxy(
+ const std::string& commonApiAddress,
+ const std::string& interfaceName,
+ const std::string& busName,
+ const std::string& objectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyConnection) {
+ return std::make_shared<RoutingControlObserverDBusProxy>(commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection);
+}
+
+__attribute__((constructor)) void registerRoutingControlObserverDBusProxy(void) {
+ CommonAPI::DBus::DBusFactory::registerProxyFactoryMethod(RoutingControlObserver::getInterfaceId(),
+ &createRoutingControlObserverDBusProxy);
+}
+
+RoutingControlObserverDBusProxy::RoutingControlObserverDBusProxy(
+ const std::string& commonApiAddress,
+ const std::string& interfaceName,
+ const std::string& busName,
+ const std::string& objectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection):
+ CommonAPI::DBus::DBusProxy(commonApiAddress, interfaceName, busName, objectPath, dbusProxyconnection)
+, routingReady_(*this, "onRoutingReadyAttributeChanged", "setRoutingReadyAttribute", "i", "getRoutingReadyAttribute")
+ {
+}
+
+RoutingControlObserverDBusProxy::RoutingReadyAttribute& RoutingControlObserverDBusProxy::getRoutingReadyAttribute() {
+ return routingReady_;
+}
+
+
+void RoutingControlObserverDBusProxy::ackConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackConnect",
+ "(iq)qi",
+ handle, connectionID, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckConnectAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackConnect",
+ "(iq)qi",
+ handle, connectionID, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackDisconnect",
+ "(iq)qi",
+ handle, connectionID, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckDisconnectAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackDisconnect",
+ "(iq)qi",
+ handle, connectionID, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSetSinkVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_volume_t, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSetSinkVolumeChange",
+ "(iq)ni",
+ handle, volume, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSetSinkVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSinkVolumeChangeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_volume_t, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSetSinkVolumeChange",
+ "(iq)ni",
+ handle, volume, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSetSourceVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_volume_t, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSetSourceVolumeChange",
+ "(iq)ni",
+ handle, volume, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSetSourceVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSourceVolumeChangeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_volume_t, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSetSourceVolumeChange",
+ "(iq)ni",
+ handle, volume, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSetSourceState(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSetSourceState",
+ "(iq)i",
+ handle, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSetSourceStateAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceStateAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSetSourceState",
+ "(iq)i",
+ handle, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSetSinkSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSetSinkSoundProperties",
+ "(iq)i",
+ handle, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertiesAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSetSinkSoundProperties",
+ "(iq)i",
+ handle, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSetSinkSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSetSinkSoundProperty",
+ "(iq)i",
+ handle, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertyAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSetSinkSoundProperty",
+ "(iq)i",
+ handle, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSetSourceSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSetSourceSoundProperties",
+ "(iq)i",
+ handle, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertiesAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSetSourceSoundProperties",
+ "(iq)i",
+ handle, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSetSourceSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSetSourceSoundProperty",
+ "(iq)i",
+ handle, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertyAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSetSourceSoundProperty",
+ "(iq)i",
+ handle, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackCrossFading(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_HotSink_e, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackCrossFading",
+ "(iq)ii",
+ handle, hotSink, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackCrossFadingAsync(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, AckCrossFadingAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_HotSink_e, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackCrossFading",
+ "(iq)ii",
+ handle, hotSink, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSourceVolumeTick(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_volume_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSourceVolumeTick",
+ "(iq)qn",
+ handle, sourceID, volume,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSourceVolumeTickAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, AckSourceVolumeTickAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_volume_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSourceVolumeTick",
+ "(iq)qn",
+ handle, sourceID, volume,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSinkVolumeTick(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_volume_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSinkVolumeTick",
+ "(iq)qn",
+ handle, sinkID, volume,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSinkVolumeTickAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, AckSinkVolumeTickAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_volume_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSinkVolumeTick",
+ "(iq)qn",
+ handle, sinkID, volume,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::peekDomain(const std::string& name, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "peekDomain",
+ "s",
+ name,
+ callStatus
+ , domainID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::peekDomainAsync(const std::string& name, PeekDomainAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "peekDomain",
+ "s",
+ name,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::registerDomain(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Domain_s, std::string, std::string, std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "registerDomain",
+ "(qsssbbi)sss",
+ domainData, returnInterface, returnPath, returnBusname,
+ callStatus
+ , domainID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::registerDomainAsync(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, RegisterDomainAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Domain_s, std::string, std::string, std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "registerDomain",
+ "(qsssbbi)sss",
+ domainData, returnInterface, returnPath, returnBusname,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::deregisterDomain(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
+ *this,
+ "deregisterDomain",
+ "q",
+ domainID,
+ callStatus
+ , error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::deregisterDomainAsync(const am_domainID_t& domainID, DeregisterDomainAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
+ *this,
+ "deregisterDomain",
+ "q",
+ domainID,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::registerGateway(const am_Gateway_s& gatewayData, CommonAPI::CallStatus& callStatus, am_gatewayID_t& gatewayID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Gateway_s>,
+ CommonAPI::DBus::DBusSerializableArguments<am_gatewayID_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "registerGateway",
+ "(qsqqqqqaqaqab)",
+ gatewayData,
+ callStatus
+ , gatewayID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::registerGatewayAsync(const am_Gateway_s& gatewayData, RegisterGatewayAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Gateway_s>,
+ CommonAPI::DBus::DBusSerializableArguments<am_gatewayID_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "registerGateway",
+ "(qsqqqqqaqaqab)",
+ gatewayData,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::deregisterGateway(const am_gatewayID_t& gatewayID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gatewayID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
+ *this,
+ "deregisterGateway",
+ "q",
+ gatewayID,
+ callStatus
+ , error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::deregisterGatewayAsync(const am_gatewayID_t& gatewayID, DeregisterGatewayAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gatewayID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
+ *this,
+ "deregisterGateway",
+ "q",
+ gatewayID,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::peekSink(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "peekSink",
+ "s",
+ name,
+ callStatus
+ , sinkID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::peekSinkAsync(const std::string& name, PeekSinkAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "peekSink",
+ "s",
+ name,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::registerSink(const am_Sink_s& sinkData, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Sink_s>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "registerSink",
+ "(qsqqnb(iq)ina(qn)aqa(qn)a(qin)a(qin))",
+ sinkData,
+ callStatus
+ , sinkID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::registerSinkAsync(const am_Sink_s& sinkData, RegisterSinkAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Sink_s>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "registerSink",
+ "(qsqqnb(iq)ina(qn)aqa(qn)a(qin)a(qin))",
+ sinkData,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::deregisterSink(const am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
+ *this,
+ "deregisterSink",
+ "q",
+ sinkID,
+ callStatus
+ , error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::deregisterSinkAsync(const am_sinkID_t& sinkID, DeregisterSinkAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
+ *this,
+ "deregisterSink",
+ "q",
+ sinkID,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::peekSource(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "peekSource",
+ "s",
+ name,
+ callStatus
+ , sourceID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::peekSourceAsync(const std::string& name, PeekSourceAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "peekSource",
+ "s",
+ name,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::registerSource(const am_Source_s& sourceData, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Source_s>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "registerSource",
+ "(qqsqinb(iq)ia(qn)aqa(qn)a(qin)a(qin))",
+ sourceData,
+ callStatus
+ , sourceID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::registerSourceAsync(const am_Source_s& sourceData, RegisterSourceAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Source_s>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "registerSource",
+ "(qqsqinb(iq)ia(qn)aqa(qn)a(qin)a(qin))",
+ sourceData,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::deregisterSource(const am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
+ *this,
+ "deregisterSource",
+ "q",
+ sourceID,
+ callStatus
+ , error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::deregisterSourceAsync(const am_sourceID_t& sourceID, DeregisterSourceAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
+ *this,
+ "deregisterSource",
+ "q",
+ sourceID,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::registerCrossfader(const am_Crossfader_s& crossfaderData, CommonAPI::CallStatus& callStatus, am_crossfaderID_t& crossfaderID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Crossfader_s>,
+ CommonAPI::DBus::DBusSerializableArguments<am_crossfaderID_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "registerCrossfader",
+ "(qsqqqi)",
+ crossfaderData,
+ callStatus
+ , crossfaderID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::registerCrossfaderAsync(const am_Crossfader_s& crossfaderData, RegisterCrossfaderAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Crossfader_s>,
+ CommonAPI::DBus::DBusSerializableArguments<am_crossfaderID_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "registerCrossfader",
+ "(qsqqqi)",
+ crossfaderData,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::deregisterCrossfader(const am_crossfaderID_t& crossfaderID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_crossfaderID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
+ *this,
+ "deregisterCrossfader",
+ "q",
+ crossfaderID,
+ callStatus
+ , error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::deregisterCrossfaderAsync(const am_crossfaderID_t& crossfaderID, DeregisterCrossfaderAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_crossfaderID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
+ *this,
+ "deregisterCrossfader",
+ "q",
+ crossfaderID,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::peekSourceClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceClass_t& sourceClassID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sourceClass_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "peekSourceClassID",
+ "s",
+ name,
+ callStatus
+ , sourceClassID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::peekSourceClassIDAsync(const std::string& name, PeekSourceClassIDAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sourceClass_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "peekSourceClassID",
+ "s",
+ name,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::peekSinkClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkClass_t& sinkClassID, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sinkClass_t, am_Error_e> >::callMethodWithReply(
+ *this,
+ "peekSinkClassID",
+ "s",
+ name,
+ callStatus
+ , sinkClassID, error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::peekSinkClassIDAsync(const std::string& name, PeekSinkClassIDAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<am_sinkClass_t, am_Error_e> >::callMethodAsync(
+ *this,
+ "peekSinkClassID",
+ "s",
+ name,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::hookInterruptStatusChange(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_InterruptState_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "hookInterruptStatusChange",
+ "qi",
+ sourceID, interruptState,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::hookInterruptStatusChangeAsync(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, HookInterruptStatusChangeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_InterruptState_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "hookInterruptStatusChange",
+ "qi",
+ sourceID, interruptState,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::hookDomainRegistrationComplete(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "hookDomainRegistrationComplete",
+ "q",
+ domainID,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::hookDomainRegistrationCompleteAsync(const am_domainID_t& domainID, HookDomainRegistrationCompleteAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "hookDomainRegistrationComplete",
+ "q",
+ domainID,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::hookSinkAvailablityStatusChange(const am_sinkID_t& sinkID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_Availability_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "hookSinkAvailablityStatusChange",
+ "q(iq)",
+ sinkID, availability,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::hookSinkAvailablityStatusChangeAsync(const am_sinkID_t& sinkID, const am_Availability_s& availability, HookSinkAvailablityStatusChangeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_Availability_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "hookSinkAvailablityStatusChange",
+ "q(iq)",
+ sinkID, availability,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::hookSourceAvailablityStatusChange(const am_sourceID_t& sourceID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_Availability_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "hookSourceAvailablityStatusChange",
+ "q(iq)",
+ sourceID, availability,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::hookSourceAvailablityStatusChangeAsync(const am_sourceID_t& sourceID, const am_Availability_s& availability, HookSourceAvailablityStatusChangeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_Availability_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "hookSourceAvailablityStatusChange",
+ "q(iq)",
+ sourceID, availability,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::hookDomainStateChange(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_DomainState_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "hookDomainStateChange",
+ "qi",
+ domainID, domainState,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::hookDomainStateChangeAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, HookDomainStateChangeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_DomainState_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "hookDomainStateChange",
+ "qi",
+ domainID, domainState,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::hookTimingInformationChanged(const am_connectionID_t& connectionID, const am_timeSync_t& delay, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_connectionID_t, am_timeSync_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "hookTimingInformationChanged",
+ "qn",
+ connectionID, delay,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::hookTimingInformationChangedAsync(const am_connectionID_t& connectionID, const am_timeSync_t& delay, HookTimingInformationChangedAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_connectionID_t, am_timeSync_t>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "hookTimingInformationChanged",
+ "qn",
+ connectionID, delay,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::sendChangedData(const am_EarlyData_L& earlyData, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_EarlyData_L>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "sendChangedData",
+ "a(i(yv)(yv))",
+ earlyData,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::sendChangedDataAsync(const am_EarlyData_L& earlyData, SendChangedDataAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_EarlyData_L>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "sendChangedData",
+ "a(i(yv)(yv))",
+ earlyData,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::updateGateway(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gatewayID_t, am_ConnectionFormat_L, am_ConnectionFormat_L, am_Convertion_L>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
+ *this,
+ "updateGateway",
+ "qaqaqab",
+ gatewayID, listSourceFormats, listSinkFormats, convertionMatrix,
+ callStatus
+ , error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::updateGatewayAsync(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, UpdateGatewayAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gatewayID_t, am_ConnectionFormat_L, am_ConnectionFormat_L, am_Convertion_L>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
+ *this,
+ "updateGateway",
+ "qaqaqab",
+ gatewayID, listSourceFormats, listSinkFormats, convertionMatrix,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::updateSink(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_sinkClass_t, am_SoundProperty_L, am_ConnectionFormat_L, am_MainSoundProperty_L>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
+ *this,
+ "updateSink",
+ "qqa(qn)aqa(qn)",
+ sinkID, sinkClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties,
+ callStatus
+ , error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::updateSinkAsync(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSinkAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_sinkClass_t, am_SoundProperty_L, am_ConnectionFormat_L, am_MainSoundProperty_L>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
+ *this,
+ "updateSink",
+ "qqa(qn)aqa(qn)",
+ sinkID, sinkClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::updateSource(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_sourceClass_t, am_SoundProperty_L, am_ConnectionFormat_L, am_MainSoundProperty_L>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
+ *this,
+ "updateSource",
+ "qqa(qn)aqa(qn)",
+ sourceID, sourceClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties,
+ callStatus
+ , error);
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::updateSourceAsync(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSourceAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_sourceClass_t, am_SoundProperty_L, am_ConnectionFormat_L, am_MainSoundProperty_L>,
+ CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
+ *this,
+ "updateSource",
+ "qqa(qn)aqa(qn)",
+ sourceID, sourceClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSetVolumes(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Volumes_L, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSetVolumes",
+ "(iq)a(i(yv)nqn)i",
+ handle, listvolumes, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, AckSetVolumesAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Volumes_L, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSetVolumes",
+ "(iq)a(i(yv)nqn)i",
+ handle, listvolumes, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSinkNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSinkNotificationConfiguration",
+ "(iq)i",
+ handle, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSinkNotificationConfigurationAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSinkNotificationConfiguration",
+ "(iq)i",
+ handle, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::ackSourceNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "ackSourceNotificationConfiguration",
+ "(iq)i",
+ handle, error,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::ackSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSourceNotificationConfigurationAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Error_e>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "ackSourceNotificationConfiguration",
+ "(iq)i",
+ handle, error,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::hookSinkNotificationDataChange(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_NotificationPayload_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "hookSinkNotificationDataChange",
+ "q(qn)",
+ sinkID, payload,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::hookSinkNotificationDataChangeAsync(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, HookSinkNotificationDataChangeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_NotificationPayload_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "hookSinkNotificationDataChange",
+ "q(qn)",
+ sinkID, payload,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::hookSourceNotificationDataChange(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_NotificationPayload_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "hookSourceNotificationDataChange",
+ "q(qn)",
+ sourceID, payload,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::hookSourceNotificationDataChangeAsync(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, HookSourceNotificationDataChangeAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_NotificationPayload_s>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "hookSourceNotificationDataChange",
+ "q(qn)",
+ sourceID, payload,
+ std::move(callback));
+}
+void RoutingControlObserverDBusProxy::confirmRoutingRundown(const std::string& domainName, CommonAPI::CallStatus& callStatus) {
+ CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
+ *this,
+ "confirmRoutingRundown",
+ "s",
+ domainName,
+ callStatus
+ );
+}
+std::future<CommonAPI::CallStatus> RoutingControlObserverDBusProxy::confirmRoutingRundownAsync(const std::string& domainName, ConfirmRoutingRundownAsyncCallback callback) {
+ return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
+ CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
+ *this,
+ "confirmRoutingRundown",
+ "s",
+ domainName,
+ std::move(callback));
+}
+
+void RoutingControlObserverDBusProxy::getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const {
+ ownVersionMajor = 0;
+ ownVersionMinor = 1;
+}
+
+} // namespace am
+} // namespace genivi
+} // namespace org
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusProxy.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusProxy.h
new file mode 100644
index 0000000..0c057e2
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusProxy.h
@@ -0,0 +1,182 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_Observer_DBUS_PROXY_H_
+#define ORG_GENIVI_AM_Routing_Control_Observer_DBUS_PROXY_H_
+
+#include <org/genivi/am/RoutingControlObserverProxyBase.h>
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
+#include <CommonAPI/DBus/DBusFactory.h>
+#include <CommonAPI/DBus/DBusProxy.h>
+#include <CommonAPI/DBus/DBusAttribute.h>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+#include <string>
+
+namespace org {
+namespace genivi {
+namespace am {
+
+class RoutingControlObserverDBusProxy: virtual public RoutingControlObserverProxyBase, virtual public CommonAPI::DBus::DBusProxy {
+ public:
+ RoutingControlObserverDBusProxy(
+ const std::string& commonApiAddress,
+ const std::string& interfaceName,
+ const std::string& busName,
+ const std::string& objectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection);
+
+ virtual ~RoutingControlObserverDBusProxy() { }
+
+ virtual RoutingReadyAttribute& getRoutingReadyAttribute();
+
+
+
+ virtual void ackConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckConnectAsyncCallback callback);
+
+ virtual void ackDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckDisconnectAsyncCallback callback);
+
+ virtual void ackSetSinkVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSetSinkVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSinkVolumeChangeAsyncCallback callback);
+
+ virtual void ackSetSourceVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSourceVolumeChangeAsyncCallback callback);
+
+ virtual void ackSetSourceState(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceStateAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceStateAsyncCallback callback);
+
+ virtual void ackSetSinkSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertiesAsyncCallback callback);
+
+ virtual void ackSetSinkSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertyAsyncCallback callback);
+
+ virtual void ackSetSourceSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertiesAsyncCallback callback);
+
+ virtual void ackSetSourceSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertyAsyncCallback callback);
+
+ virtual void ackCrossFading(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackCrossFadingAsync(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, AckCrossFadingAsyncCallback callback);
+
+ virtual void ackSourceVolumeTick(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSourceVolumeTickAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, AckSourceVolumeTickAsyncCallback callback);
+
+ virtual void ackSinkVolumeTick(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSinkVolumeTickAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, AckSinkVolumeTickAsyncCallback callback);
+
+ virtual void peekDomain(const std::string& name, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> peekDomainAsync(const std::string& name, PeekDomainAsyncCallback callback);
+
+ virtual void registerDomain(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> registerDomainAsync(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, RegisterDomainAsyncCallback callback);
+
+ virtual void deregisterDomain(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> deregisterDomainAsync(const am_domainID_t& domainID, DeregisterDomainAsyncCallback callback);
+
+ virtual void registerGateway(const am_Gateway_s& gatewayData, CommonAPI::CallStatus& callStatus, am_gatewayID_t& gatewayID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> registerGatewayAsync(const am_Gateway_s& gatewayData, RegisterGatewayAsyncCallback callback);
+
+ virtual void deregisterGateway(const am_gatewayID_t& gatewayID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> deregisterGatewayAsync(const am_gatewayID_t& gatewayID, DeregisterGatewayAsyncCallback callback);
+
+ virtual void peekSink(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> peekSinkAsync(const std::string& name, PeekSinkAsyncCallback callback);
+
+ virtual void registerSink(const am_Sink_s& sinkData, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> registerSinkAsync(const am_Sink_s& sinkData, RegisterSinkAsyncCallback callback);
+
+ virtual void deregisterSink(const am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> deregisterSinkAsync(const am_sinkID_t& sinkID, DeregisterSinkAsyncCallback callback);
+
+ virtual void peekSource(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> peekSourceAsync(const std::string& name, PeekSourceAsyncCallback callback);
+
+ virtual void registerSource(const am_Source_s& sourceData, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> registerSourceAsync(const am_Source_s& sourceData, RegisterSourceAsyncCallback callback);
+
+ virtual void deregisterSource(const am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> deregisterSourceAsync(const am_sourceID_t& sourceID, DeregisterSourceAsyncCallback callback);
+
+ virtual void registerCrossfader(const am_Crossfader_s& crossfaderData, CommonAPI::CallStatus& callStatus, am_crossfaderID_t& crossfaderID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> registerCrossfaderAsync(const am_Crossfader_s& crossfaderData, RegisterCrossfaderAsyncCallback callback);
+
+ virtual void deregisterCrossfader(const am_crossfaderID_t& crossfaderID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> deregisterCrossfaderAsync(const am_crossfaderID_t& crossfaderID, DeregisterCrossfaderAsyncCallback callback);
+
+ virtual void peekSourceClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceClass_t& sourceClassID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> peekSourceClassIDAsync(const std::string& name, PeekSourceClassIDAsyncCallback callback);
+
+ virtual void peekSinkClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkClass_t& sinkClassID, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> peekSinkClassIDAsync(const std::string& name, PeekSinkClassIDAsyncCallback callback);
+
+ virtual void hookInterruptStatusChange(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> hookInterruptStatusChangeAsync(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, HookInterruptStatusChangeAsyncCallback callback);
+
+ virtual void hookDomainRegistrationComplete(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> hookDomainRegistrationCompleteAsync(const am_domainID_t& domainID, HookDomainRegistrationCompleteAsyncCallback callback);
+
+ virtual void hookSinkAvailablityStatusChange(const am_sinkID_t& sinkID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> hookSinkAvailablityStatusChangeAsync(const am_sinkID_t& sinkID, const am_Availability_s& availability, HookSinkAvailablityStatusChangeAsyncCallback callback);
+
+ virtual void hookSourceAvailablityStatusChange(const am_sourceID_t& sourceID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> hookSourceAvailablityStatusChangeAsync(const am_sourceID_t& sourceID, const am_Availability_s& availability, HookSourceAvailablityStatusChangeAsyncCallback callback);
+
+ virtual void hookDomainStateChange(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> hookDomainStateChangeAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, HookDomainStateChangeAsyncCallback callback);
+
+ virtual void hookTimingInformationChanged(const am_connectionID_t& connectionID, const am_timeSync_t& delay, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> hookTimingInformationChangedAsync(const am_connectionID_t& connectionID, const am_timeSync_t& delay, HookTimingInformationChangedAsyncCallback callback);
+
+ virtual void sendChangedData(const am_EarlyData_L& earlyData, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> sendChangedDataAsync(const am_EarlyData_L& earlyData, SendChangedDataAsyncCallback callback);
+
+ virtual void updateGateway(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, CommonAPI::CallStatus& callStatus, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> updateGatewayAsync(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, UpdateGatewayAsyncCallback callback);
+
+ virtual void updateSink(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> updateSinkAsync(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSinkAsyncCallback callback);
+
+ virtual void updateSource(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error);
+ virtual std::future<CommonAPI::CallStatus> updateSourceAsync(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSourceAsyncCallback callback);
+
+ virtual void ackSetVolumes(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, AckSetVolumesAsyncCallback callback);
+
+ virtual void ackSinkNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSinkNotificationConfigurationAsyncCallback callback);
+
+ virtual void ackSourceNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> ackSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSourceNotificationConfigurationAsyncCallback callback);
+
+ virtual void hookSinkNotificationDataChange(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> hookSinkNotificationDataChangeAsync(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, HookSinkNotificationDataChangeAsyncCallback callback);
+
+ virtual void hookSourceNotificationDataChange(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> hookSourceNotificationDataChangeAsync(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, HookSourceNotificationDataChangeAsyncCallback callback);
+
+ virtual void confirmRoutingRundown(const std::string& domainName, CommonAPI::CallStatus& callStatus);
+ virtual std::future<CommonAPI::CallStatus> confirmRoutingRundownAsync(const std::string& domainName, ConfirmRoutingRundownAsyncCallback callback);
+
+ virtual void getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const;
+
+ private:
+ CommonAPI::DBus::DBusObservableAttribute<CommonAPI::DBus::DBusAttribute<RoutingReadyAttribute>> routingReady_;
+
+};
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+#endif // ORG_GENIVI_AM_Routing_Control_Observer_DBUS_PROXY_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusStubAdapter.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusStubAdapter.cpp
new file mode 100644
index 0000000..11e838b
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusStubAdapter.cpp
@@ -0,0 +1,551 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#include "RoutingControlObserverDBusStubAdapter.h"
+#include <org/genivi/am/RoutingControlObserver.h>
+
+namespace org {
+namespace genivi {
+namespace am {
+
+std::shared_ptr<CommonAPI::DBus::DBusStubAdapter> createRoutingControlObserverDBusStubAdapter(
+ const std::string& commonApiAddress,
+ const std::string& interfaceName,
+ const std::string& busName,
+ const std::string& objectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyConnection,
+ const std::shared_ptr<CommonAPI::StubBase>& stubBase) {
+ return std::make_shared<RoutingControlObserverDBusStubAdapter>(commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection, stubBase);
+}
+
+__attribute__((constructor)) void registerRoutingControlObserverDBusStubAdapter(void) {
+ CommonAPI::DBus::DBusFactory::registerAdapterFactoryMethod(RoutingControlObserver::getInterfaceId(),
+ &createRoutingControlObserverDBusStubAdapter);
+}
+
+RoutingControlObserverDBusStubAdapter::RoutingControlObserverDBusStubAdapter(
+ const std::string& commonApiAddress,
+ const std::string& dbusInterfaceName,
+ const std::string& dbusBusName,
+ const std::string& dbusObjectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusConnection,
+ const std::shared_ptr<CommonAPI::StubBase>& stub):
+ RoutingControlObserverDBusStubAdapterHelper(commonApiAddress, dbusInterfaceName, dbusBusName, dbusObjectPath, dbusConnection, std::dynamic_pointer_cast<RoutingControlObserverStub>(stub)) {
+}
+
+const char* RoutingControlObserverDBusStubAdapter::getMethodsDBusIntrospectionXmlData() const {
+ return
+ "<method name=\"getRoutingReadyAttribute\">\n"
+ "<arg name=\"value\" type=\"i\" direction=\"out\" />"
+ "</method>\n"
+ "<method name=\"setRoutingReadyAttribute\">\n"
+ "<arg name=\"requestedValue\" type=\"i\" direction=\"in\" />\n"
+ "<arg name=\"setValue\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<signal name=\"onRoutingReadyAttributeChanged\">\n"
+ "<arg name=\"changedValue\" type=\"i\" />\n"
+ "</signal>\n"
+ "<method name=\"ackConnect\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"connectionID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackDisconnect\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"connectionID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSetSinkVolumeChange\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSetSourceVolumeChange\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSetSourceState\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSetSinkSoundProperties\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSetSinkSoundProperty\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSetSourceSoundProperties\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSetSourceSoundProperty\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackCrossFading\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"hotSink\" type=\"i\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSourceVolumeTick\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSinkVolumeTick\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"peekDomain\">\n"
+ "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
+ "<arg name=\"domainID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"registerDomain\">\n"
+ "<arg name=\"domainData\" type=\"(qsssbbi)\" direction=\"in\" />\n"
+ "<arg name=\"returnInterface\" type=\"s\" direction=\"in\" />\n"
+ "<arg name=\"returnPath\" type=\"s\" direction=\"in\" />\n"
+ "<arg name=\"returnBusname\" type=\"s\" direction=\"in\" />\n"
+ "<arg name=\"domainID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"deregisterDomain\">\n"
+ "<arg name=\"domainID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"registerGateway\">\n"
+ "<arg name=\"gatewayData\" type=\"(qsqqqqqaqaqab)\" direction=\"in\" />\n"
+ "<arg name=\"gatewayID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"deregisterGateway\">\n"
+ "<arg name=\"gatewayID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"peekSink\">\n"
+ "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"registerSink\">\n"
+ "<arg name=\"sinkData\" type=\"(qsqqnb(iq)ina(qn)aqa(qn)a(qin)a(qin))\" direction=\"in\" />\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"deregisterSink\">\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"peekSource\">\n"
+ "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"registerSource\">\n"
+ "<arg name=\"sourceData\" type=\"(qqsqinb(iq)ia(qn)aqa(qn)a(qin)a(qin))\" direction=\"in\" />\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"deregisterSource\">\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"registerCrossfader\">\n"
+ "<arg name=\"crossfaderData\" type=\"(qsqqqi)\" direction=\"in\" />\n"
+ "<arg name=\"crossfaderID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"deregisterCrossfader\">\n"
+ "<arg name=\"crossfaderID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"peekSourceClassID\">\n"
+ "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
+ "<arg name=\"sourceClassID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"peekSinkClassID\">\n"
+ "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
+ "<arg name=\"sinkClassID\" type=\"q\" direction=\"out\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"hookInterruptStatusChange\">\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"interruptState\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"hookDomainRegistrationComplete\">\n"
+ "<arg name=\"domainID\" type=\"q\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"hookSinkAvailablityStatusChange\">\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"availability\" type=\"(iq)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"hookSourceAvailablityStatusChange\">\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"availability\" type=\"(iq)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"hookDomainStateChange\">\n"
+ "<arg name=\"domainID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"domainState\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"hookTimingInformationChanged\">\n"
+ "<arg name=\"connectionID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"delay\" type=\"n\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"sendChangedData\">\n"
+ "<arg name=\"earlyData\" type=\"a(i(yv)(yv))\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"updateGateway\">\n"
+ "<arg name=\"gatewayID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"listSourceFormats\" type=\"aq\" direction=\"in\" />\n"
+ "<arg name=\"listSinkFormats\" type=\"aq\" direction=\"in\" />\n"
+ "<arg name=\"convertionMatrix\" type=\"ab\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"updateSink\">\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"sinkClassID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"listSoundProperties\" type=\"a(qn)\" direction=\"in\" />\n"
+ "<arg name=\"listConnectionFormats\" type=\"aq\" direction=\"in\" />\n"
+ "<arg name=\"listMainSoundProperties\" type=\"a(qn)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"updateSource\">\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"sourceClassID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"listSoundProperties\" type=\"a(qn)\" direction=\"in\" />\n"
+ "<arg name=\"listConnectionFormats\" type=\"aq\" direction=\"in\" />\n"
+ "<arg name=\"listMainSoundProperties\" type=\"a(qn)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
+ "</method>\n"
+ "<method name=\"ackSetVolumes\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"listvolumes\" type=\"a(i(yv)nqn)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSinkNotificationConfiguration\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"ackSourceNotificationConfiguration\">\n"
+ "<arg name=\"handle\" type=\"(iq)\" direction=\"in\" />\n"
+ "<arg name=\"error\" type=\"i\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"hookSinkNotificationDataChange\">\n"
+ "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"payload\" type=\"(qn)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"hookSourceNotificationDataChange\">\n"
+ "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
+ "<arg name=\"payload\" type=\"(qn)\" direction=\"in\" />\n"
+ "</method>\n"
+ "<method name=\"confirmRoutingRundown\">\n"
+ "<arg name=\"domainName\" type=\"s\" direction=\"in\" />\n"
+ "</method>\n"
+ ;
+}
+
+
+static CommonAPI::DBus::DBusGetAttributeStubDispatcher<
+ RoutingControlObserverStub,
+ am_RoutingReady_e
+ > getRoutingReadyAttributeStubDispatcher(&RoutingControlObserverStub::getRoutingReadyAttribute, "i");
+static CommonAPI::DBus::DBusSetObservableAttributeStubDispatcher<
+ RoutingControlObserverStub,
+ am_RoutingReady_e
+ > setRoutingReadyAttributeStubDispatcher(
+ &RoutingControlObserverStub::getRoutingReadyAttribute,
+ &RoutingControlObserverStubRemoteEvent::onRemoteSetRoutingReadyAttribute,
+ &RoutingControlObserverStubRemoteEvent::onRemoteRoutingReadyAttributeChanged,
+ &RoutingControlObserverStubAdapter::fireRoutingReadyAttributeChanged,
+ "i");
+
+
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_connectionID_t, am_Error_e>,
+ std::tuple<>
+ > ackConnectStubDispatcher(&RoutingControlObserverStub::ackConnect, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_connectionID_t, am_Error_e>,
+ std::tuple<>
+ > ackDisconnectStubDispatcher(&RoutingControlObserverStub::ackDisconnect, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_volume_t, am_Error_e>,
+ std::tuple<>
+ > ackSetSinkVolumeChangeStubDispatcher(&RoutingControlObserverStub::ackSetSinkVolumeChange, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_volume_t, am_Error_e>,
+ std::tuple<>
+ > ackSetSourceVolumeChangeStubDispatcher(&RoutingControlObserverStub::ackSetSourceVolumeChange, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_Error_e>,
+ std::tuple<>
+ > ackSetSourceStateStubDispatcher(&RoutingControlObserverStub::ackSetSourceState, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_Error_e>,
+ std::tuple<>
+ > ackSetSinkSoundPropertiesStubDispatcher(&RoutingControlObserverStub::ackSetSinkSoundProperties, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_Error_e>,
+ std::tuple<>
+ > ackSetSinkSoundPropertyStubDispatcher(&RoutingControlObserverStub::ackSetSinkSoundProperty, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_Error_e>,
+ std::tuple<>
+ > ackSetSourceSoundPropertiesStubDispatcher(&RoutingControlObserverStub::ackSetSourceSoundProperties, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_Error_e>,
+ std::tuple<>
+ > ackSetSourceSoundPropertyStubDispatcher(&RoutingControlObserverStub::ackSetSourceSoundProperty, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_HotSink_e, am_Error_e>,
+ std::tuple<>
+ > ackCrossFadingStubDispatcher(&RoutingControlObserverStub::ackCrossFading, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_sourceID_t, am_volume_t>,
+ std::tuple<>
+ > ackSourceVolumeTickStubDispatcher(&RoutingControlObserverStub::ackSourceVolumeTick, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_sinkID_t, am_volume_t>,
+ std::tuple<>
+ > ackSinkVolumeTickStubDispatcher(&RoutingControlObserverStub::ackSinkVolumeTick, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<std::string>,
+ std::tuple<am_domainID_t, am_Error_e>
+ > peekDomainStubDispatcher(&RoutingControlObserverStub::peekDomain, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Domain_s, std::string, std::string, std::string>,
+ std::tuple<am_domainID_t, am_Error_e>
+ > registerDomainStubDispatcher(&RoutingControlObserverStub::registerDomain, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_domainID_t>,
+ std::tuple<am_Error_e>
+ > deregisterDomainStubDispatcher(&RoutingControlObserverStub::deregisterDomain, "i");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Gateway_s>,
+ std::tuple<am_gatewayID_t, am_Error_e>
+ > registerGatewayStubDispatcher(&RoutingControlObserverStub::registerGateway, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_gatewayID_t>,
+ std::tuple<am_Error_e>
+ > deregisterGatewayStubDispatcher(&RoutingControlObserverStub::deregisterGateway, "i");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<std::string>,
+ std::tuple<am_sinkID_t, am_Error_e>
+ > peekSinkStubDispatcher(&RoutingControlObserverStub::peekSink, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Sink_s>,
+ std::tuple<am_sinkID_t, am_Error_e>
+ > registerSinkStubDispatcher(&RoutingControlObserverStub::registerSink, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_sinkID_t>,
+ std::tuple<am_Error_e>
+ > deregisterSinkStubDispatcher(&RoutingControlObserverStub::deregisterSink, "i");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<std::string>,
+ std::tuple<am_sourceID_t, am_Error_e>
+ > peekSourceStubDispatcher(&RoutingControlObserverStub::peekSource, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Source_s>,
+ std::tuple<am_sourceID_t, am_Error_e>
+ > registerSourceStubDispatcher(&RoutingControlObserverStub::registerSource, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_sourceID_t>,
+ std::tuple<am_Error_e>
+ > deregisterSourceStubDispatcher(&RoutingControlObserverStub::deregisterSource, "i");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Crossfader_s>,
+ std::tuple<am_crossfaderID_t, am_Error_e>
+ > registerCrossfaderStubDispatcher(&RoutingControlObserverStub::registerCrossfader, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_crossfaderID_t>,
+ std::tuple<am_Error_e>
+ > deregisterCrossfaderStubDispatcher(&RoutingControlObserverStub::deregisterCrossfader, "i");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<std::string>,
+ std::tuple<am_sourceClass_t, am_Error_e>
+ > peekSourceClassIDStubDispatcher(&RoutingControlObserverStub::peekSourceClassID, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<std::string>,
+ std::tuple<am_sinkClass_t, am_Error_e>
+ > peekSinkClassIDStubDispatcher(&RoutingControlObserverStub::peekSinkClassID, "qi");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_sourceID_t, am_InterruptState_e>,
+ std::tuple<>
+ > hookInterruptStatusChangeStubDispatcher(&RoutingControlObserverStub::hookInterruptStatusChange, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_domainID_t>,
+ std::tuple<>
+ > hookDomainRegistrationCompleteStubDispatcher(&RoutingControlObserverStub::hookDomainRegistrationComplete, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_sinkID_t, am_Availability_s>,
+ std::tuple<>
+ > hookSinkAvailablityStatusChangeStubDispatcher(&RoutingControlObserverStub::hookSinkAvailablityStatusChange, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_sourceID_t, am_Availability_s>,
+ std::tuple<>
+ > hookSourceAvailablityStatusChangeStubDispatcher(&RoutingControlObserverStub::hookSourceAvailablityStatusChange, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_domainID_t, am_DomainState_e>,
+ std::tuple<>
+ > hookDomainStateChangeStubDispatcher(&RoutingControlObserverStub::hookDomainStateChange, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_connectionID_t, am_timeSync_t>,
+ std::tuple<>
+ > hookTimingInformationChangedStubDispatcher(&RoutingControlObserverStub::hookTimingInformationChanged, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_EarlyData_L>,
+ std::tuple<>
+ > sendChangedDataStubDispatcher(&RoutingControlObserverStub::sendChangedData, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_gatewayID_t, am_ConnectionFormat_L, am_ConnectionFormat_L, am_Convertion_L>,
+ std::tuple<am_Error_e>
+ > updateGatewayStubDispatcher(&RoutingControlObserverStub::updateGateway, "i");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_sinkID_t, am_sinkClass_t, am_SoundProperty_L, am_ConnectionFormat_L, am_MainSoundProperty_L>,
+ std::tuple<am_Error_e>
+ > updateSinkStubDispatcher(&RoutingControlObserverStub::updateSink, "i");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_sourceID_t, am_sourceClass_t, am_SoundProperty_L, am_ConnectionFormat_L, am_MainSoundProperty_L>,
+ std::tuple<am_Error_e>
+ > updateSourceStubDispatcher(&RoutingControlObserverStub::updateSource, "i");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_Volumes_L, am_Error_e>,
+ std::tuple<>
+ > ackSetVolumesStubDispatcher(&RoutingControlObserverStub::ackSetVolumes, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_Error_e>,
+ std::tuple<>
+ > ackSinkNotificationConfigurationStubDispatcher(&RoutingControlObserverStub::ackSinkNotificationConfiguration, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_Handle_s, am_Error_e>,
+ std::tuple<>
+ > ackSourceNotificationConfigurationStubDispatcher(&RoutingControlObserverStub::ackSourceNotificationConfiguration, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_sinkID_t, am_NotificationPayload_s>,
+ std::tuple<>
+ > hookSinkNotificationDataChangeStubDispatcher(&RoutingControlObserverStub::hookSinkNotificationDataChange, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<am_sourceID_t, am_NotificationPayload_s>,
+ std::tuple<>
+ > hookSourceNotificationDataChangeStubDispatcher(&RoutingControlObserverStub::hookSourceNotificationDataChange, "");
+static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
+ RoutingControlObserverStub,
+ std::tuple<std::string>,
+ std::tuple<>
+ > confirmRoutingRundownStubDispatcher(&RoutingControlObserverStub::confirmRoutingRundown, "");
+
+void RoutingControlObserverDBusStubAdapter::fireRoutingReadyAttributeChanged(const am_RoutingReady_e& value) {
+ CommonAPI::DBus::DBusStubSignalHelper<CommonAPI::DBus::DBusSerializableArguments<am_RoutingReady_e>>
+ ::sendSignal(
+ *this,
+ "onRoutingReadyAttributeChanged",
+ "i",
+ value
+ );
+}
+
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+template<>
+const org::genivi::am::RoutingControlObserverDBusStubAdapterHelper::StubDispatcherTable org::genivi::am::RoutingControlObserverDBusStubAdapterHelper::stubDispatcherTable_ = {
+ { { "getRoutingReadyAttribute", "" }, &org::genivi::am::getRoutingReadyAttributeStubDispatcher }
+ , { { "setRoutingReadyAttribute", "i" }, &org::genivi::am::setRoutingReadyAttributeStubDispatcher }
+ ,
+ { { "ackConnect", "(iq)qi" }, &org::genivi::am::ackConnectStubDispatcher },
+ { { "ackDisconnect", "(iq)qi" }, &org::genivi::am::ackDisconnectStubDispatcher },
+ { { "ackSetSinkVolumeChange", "(iq)ni" }, &org::genivi::am::ackSetSinkVolumeChangeStubDispatcher },
+ { { "ackSetSourceVolumeChange", "(iq)ni" }, &org::genivi::am::ackSetSourceVolumeChangeStubDispatcher },
+ { { "ackSetSourceState", "(iq)i" }, &org::genivi::am::ackSetSourceStateStubDispatcher },
+ { { "ackSetSinkSoundProperties", "(iq)i" }, &org::genivi::am::ackSetSinkSoundPropertiesStubDispatcher },
+ { { "ackSetSinkSoundProperty", "(iq)i" }, &org::genivi::am::ackSetSinkSoundPropertyStubDispatcher },
+ { { "ackSetSourceSoundProperties", "(iq)i" }, &org::genivi::am::ackSetSourceSoundPropertiesStubDispatcher },
+ { { "ackSetSourceSoundProperty", "(iq)i" }, &org::genivi::am::ackSetSourceSoundPropertyStubDispatcher },
+ { { "ackCrossFading", "(iq)ii" }, &org::genivi::am::ackCrossFadingStubDispatcher },
+ { { "ackSourceVolumeTick", "(iq)qn" }, &org::genivi::am::ackSourceVolumeTickStubDispatcher },
+ { { "ackSinkVolumeTick", "(iq)qn" }, &org::genivi::am::ackSinkVolumeTickStubDispatcher },
+ { { "peekDomain", "s" }, &org::genivi::am::peekDomainStubDispatcher },
+ { { "registerDomain", "(qsssbbi)sss" }, &org::genivi::am::registerDomainStubDispatcher },
+ { { "deregisterDomain", "q" }, &org::genivi::am::deregisterDomainStubDispatcher },
+ { { "registerGateway", "(qsqqqqqaqaqab)" }, &org::genivi::am::registerGatewayStubDispatcher },
+ { { "deregisterGateway", "q" }, &org::genivi::am::deregisterGatewayStubDispatcher },
+ { { "peekSink", "s" }, &org::genivi::am::peekSinkStubDispatcher },
+ { { "registerSink", "(qsqqnb(iq)ina(qn)aqa(qn)a(qin)a(qin))" }, &org::genivi::am::registerSinkStubDispatcher },
+ { { "deregisterSink", "q" }, &org::genivi::am::deregisterSinkStubDispatcher },
+ { { "peekSource", "s" }, &org::genivi::am::peekSourceStubDispatcher },
+ { { "registerSource", "(qqsqinb(iq)ia(qn)aqa(qn)a(qin)a(qin))" }, &org::genivi::am::registerSourceStubDispatcher },
+ { { "deregisterSource", "q" }, &org::genivi::am::deregisterSourceStubDispatcher },
+ { { "registerCrossfader", "(qsqqqi)" }, &org::genivi::am::registerCrossfaderStubDispatcher },
+ { { "deregisterCrossfader", "q" }, &org::genivi::am::deregisterCrossfaderStubDispatcher },
+ { { "peekSourceClassID", "s" }, &org::genivi::am::peekSourceClassIDStubDispatcher },
+ { { "peekSinkClassID", "s" }, &org::genivi::am::peekSinkClassIDStubDispatcher },
+ { { "hookInterruptStatusChange", "qi" }, &org::genivi::am::hookInterruptStatusChangeStubDispatcher },
+ { { "hookDomainRegistrationComplete", "q" }, &org::genivi::am::hookDomainRegistrationCompleteStubDispatcher },
+ { { "hookSinkAvailablityStatusChange", "q(iq)" }, &org::genivi::am::hookSinkAvailablityStatusChangeStubDispatcher },
+ { { "hookSourceAvailablityStatusChange", "q(iq)" }, &org::genivi::am::hookSourceAvailablityStatusChangeStubDispatcher },
+ { { "hookDomainStateChange", "qi" }, &org::genivi::am::hookDomainStateChangeStubDispatcher },
+ { { "hookTimingInformationChanged", "qn" }, &org::genivi::am::hookTimingInformationChangedStubDispatcher },
+ { { "sendChangedData", "a(i(yv)(yv))" }, &org::genivi::am::sendChangedDataStubDispatcher },
+ { { "updateGateway", "qaqaqab" }, &org::genivi::am::updateGatewayStubDispatcher },
+ { { "updateSink", "qqa(qn)aqa(qn)" }, &org::genivi::am::updateSinkStubDispatcher },
+ { { "updateSource", "qqa(qn)aqa(qn)" }, &org::genivi::am::updateSourceStubDispatcher },
+ { { "ackSetVolumes", "(iq)a(i(yv)nqn)i" }, &org::genivi::am::ackSetVolumesStubDispatcher },
+ { { "ackSinkNotificationConfiguration", "(iq)i" }, &org::genivi::am::ackSinkNotificationConfigurationStubDispatcher },
+ { { "ackSourceNotificationConfiguration", "(iq)i" }, &org::genivi::am::ackSourceNotificationConfigurationStubDispatcher },
+ { { "hookSinkNotificationDataChange", "q(qn)" }, &org::genivi::am::hookSinkNotificationDataChangeStubDispatcher },
+ { { "hookSourceNotificationDataChange", "q(qn)" }, &org::genivi::am::hookSourceNotificationDataChangeStubDispatcher },
+ { { "confirmRoutingRundown", "s" }, &org::genivi::am::confirmRoutingRundownStubDispatcher }
+};
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusStubAdapter.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusStubAdapter.h
new file mode 100644
index 0000000..79d460f
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverDBusStubAdapter.h
@@ -0,0 +1,47 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_Observer_DBUS_STUB_ADAPTER_H_
+#define ORG_GENIVI_AM_Routing_Control_Observer_DBUS_STUB_ADAPTER_H_
+
+#include <org/genivi/am/RoutingControlObserverStub.h>
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
+#include <CommonAPI/DBus/DBusStubAdapterHelper.h>
+#include <CommonAPI/DBus/DBusFactory.h>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+namespace org {
+namespace genivi {
+namespace am {
+
+typedef CommonAPI::DBus::DBusStubAdapterHelper<RoutingControlObserverStub> RoutingControlObserverDBusStubAdapterHelper;
+
+class RoutingControlObserverDBusStubAdapter: public RoutingControlObserverStubAdapter, public RoutingControlObserverDBusStubAdapterHelper {
+ public:
+ RoutingControlObserverDBusStubAdapter(
+ const std::string& commonApiAddress,
+ const std::string& dbusInterfaceName,
+ const std::string& dbusBusName,
+ const std::string& dbusObjectPath,
+ const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusConnection,
+ const std::shared_ptr<CommonAPI::StubBase>& stub);
+
+ void fireRoutingReadyAttributeChanged(const am_RoutingReady_e& value);
+
+
+ protected:
+ virtual const char* getMethodsDBusIntrospectionXmlData() const;
+};
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+#endif // ORG_GENIVI_AM_Routing_Control_Observer_DBUS_STUB_ADAPTER_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceProxy.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverProxy.h
index 7633ea6..8ad2394 100644
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceProxy.h
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverProxy.h
@@ -1,51 +1,37 @@
/*
* This file was generated by the CommonAPI Generators.
*
- * Copyright (c) 2012 BMW
+ * Copyright (C) 2013, BMW AG
*
- * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
- *
- * \copyright
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * For further information see http://www.genivi.org/.
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
*/
-#ifndef ORG_GENIVI_AUDIOMANAGER_Routing_Interface_PROXY_H_
-#define ORG_GENIVI_AUDIOMANAGER_Routing_Interface_PROXY_H_
+#ifndef ORG_GENIVI_AM_Routing_Control_Observer_PROXY_H_
+#define ORG_GENIVI_AM_Routing_Control_Observer_PROXY_H_
-#include "RoutingInterfaceProxyBase.h"
+#include "RoutingControlObserverProxyBase.h"
#define COMMONAPI_INTERNAL_COMPILATION
+#include <CommonAPI/AttributeExtension.h>
+#include <CommonAPI/Factory.h>
#undef COMMONAPI_INTERNAL_COMPILATION
namespace org {
namespace genivi {
-namespace audiomanager {
+namespace am {
template <typename ... _AttributeExtensions>
-class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public RoutingInterfaceProxyBase, public _AttributeExtensions... {
+class RoutingControlObserverProxy: virtual public RoutingControlObserver, virtual public RoutingControlObserverProxyBase, public _AttributeExtensions... {
public:
- RoutingInterfaceProxy(std::shared_ptr<CommonAPI::Proxy> delegate);
- ~RoutingInterfaceProxy();
-
+ RoutingControlObserverProxy(std::shared_ptr<CommonAPI::Proxy> delegate);
+ ~RoutingControlObserverProxy();
- /// Returns the wrapper class that provides access to the broadcast setRoutingReady.
- virtual SetRoutingReadyEvent& getSetRoutingReadyEvent() {
- return delegate_->getSetRoutingReadyEvent();
+ /// Returns the wrapper class that provides access to the attribute RoutingReady.
+ virtual RoutingReadyAttribute& getRoutingReadyAttribute() {
+ return delegate_->getRoutingReadyAttribute();
}
- /// Returns the wrapper class that provides access to the broadcast setRoutingRundown.
- virtual SetRoutingRundownEvent& getSetRoutingRundownEvent() {
- return delegate_->getSetRoutingRundownEvent();
- }
@@ -58,7 +44,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackConnect(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackConnect with asynchronous semantics.
*
@@ -69,7 +55,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackConnectAsync(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, AckConnectAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckConnectAsyncCallback callback);
/**
* Calls ackDisconnect with synchronous semantics.
@@ -80,7 +66,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackDisconnect(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackDisconnect with asynchronous semantics.
*
@@ -91,10 +77,10 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackDisconnectAsync(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, AckDisconnectAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckDisconnectAsyncCallback callback);
/**
- * Calls ackSetSinkVolume with synchronous semantics.
+ * Calls ackSetSinkVolumeChange with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -102,9 +88,9 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSetSinkVolume(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSetSinkVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
- * Calls ackSetSinkVolume with asynchronous semantics.
+ * Calls ackSetSinkVolumeChange with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -113,10 +99,10 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSetSinkVolumeAsync(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, AckSetSinkVolumeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSetSinkVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSinkVolumeChangeAsyncCallback callback);
/**
- * Calls ackSetSourceVolume with synchronous semantics.
+ * Calls ackSetSourceVolumeChange with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -124,9 +110,9 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSetSourceVolume(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSetSourceVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
- * Calls ackSetSourceVolume with asynchronous semantics.
+ * Calls ackSetSourceVolumeChange with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -135,7 +121,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSetSourceVolumeAsync(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, AckSetSourceVolumeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSourceVolumeChangeAsyncCallback callback);
/**
* Calls ackSetSourceState with synchronous semantics.
@@ -146,7 +132,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSetSourceState(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSetSourceState(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackSetSourceState with asynchronous semantics.
*
@@ -157,7 +143,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSetSourceStateAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceStateAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceStateAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceStateAsyncCallback callback);
/**
* Calls ackSetSinkSoundProperties with synchronous semantics.
@@ -168,7 +154,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSetSinkSoundProperties(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSetSinkSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackSetSinkSoundProperties with asynchronous semantics.
*
@@ -179,7 +165,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertiesAsync(const uint16_t& handle, const uint16_t& error, AckSetSinkSoundPropertiesAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertiesAsyncCallback callback);
/**
* Calls ackSetSinkSoundProperty with synchronous semantics.
@@ -190,7 +176,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSetSinkSoundProperty(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSetSinkSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackSetSinkSoundProperty with asynchronous semantics.
*
@@ -201,7 +187,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertyAsync(const uint16_t& handle, const uint16_t& error, AckSetSinkSoundPropertyAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertyAsyncCallback callback);
/**
* Calls ackSetSourceSoundProperties with synchronous semantics.
@@ -212,7 +198,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSetSourceSoundProperties(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSetSourceSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackSetSourceSoundProperties with asynchronous semantics.
*
@@ -223,7 +209,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertiesAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceSoundPropertiesAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertiesAsyncCallback callback);
/**
* Calls ackSetSourceSoundProperty with synchronous semantics.
@@ -234,7 +220,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSetSourceSoundProperty(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSetSourceSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackSetSourceSoundProperty with asynchronous semantics.
*
@@ -245,10 +231,10 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertyAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceSoundPropertyAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertyAsyncCallback callback);
/**
- * Calls ackSourceVolumeTick with synchronous semantics.
+ * Calls ackCrossFading with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -256,9 +242,9 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSourceVolumeTick(const uint16_t& handle, const am_gen::am_sourceID_t& source, const am_gen::am_volume_t& volume, CommonAPI::CallStatus& callStatus);
+ virtual void ackCrossFading(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
- * Calls ackSourceVolumeTick with asynchronous semantics.
+ * Calls ackCrossFading with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -267,10 +253,10 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSourceVolumeTickAsync(const uint16_t& handle, const am_gen::am_sourceID_t& source, const am_gen::am_volume_t& volume, AckSourceVolumeTickAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackCrossFadingAsync(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, AckCrossFadingAsyncCallback callback);
/**
- * Calls ackSinkVolumeTick with synchronous semantics.
+ * Calls ackSourceVolumeTick with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -278,9 +264,9 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSinkVolumeTick(const uint16_t& handle, const am_gen::am_sinkID_t& sink, const am_gen::am_volume_t& volume, CommonAPI::CallStatus& callStatus);
+ virtual void ackSourceVolumeTick(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus);
/**
- * Calls ackSinkVolumeTick with asynchronous semantics.
+ * Calls ackSourceVolumeTick with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -289,10 +275,10 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSinkVolumeTickAsync(const uint16_t& handle, const am_gen::am_sinkID_t& sink, const am_gen::am_volume_t& volume, AckSinkVolumeTickAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSourceVolumeTickAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, AckSourceVolumeTickAsyncCallback callback);
/**
- * Calls ackCrossFading with synchronous semantics.
+ * Calls ackSinkVolumeTick with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -300,9 +286,9 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackCrossFading(const uint16_t& handle, const am_gen::am_HotSink_e& hotSink, const am_gen::am_Error_e& returnError, CommonAPI::CallStatus& callStatus);
+ virtual void ackSinkVolumeTick(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus);
/**
- * Calls ackCrossFading with asynchronous semantics.
+ * Calls ackSinkVolumeTick with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -311,7 +297,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackCrossFadingAsync(const uint16_t& handle, const am_gen::am_HotSink_e& hotSink, const am_gen::am_Error_e& returnError, AckCrossFadingAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSinkVolumeTickAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, AckSinkVolumeTickAsyncCallback callback);
/**
* Calls peekDomain with synchronous semantics.
@@ -323,7 +309,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void peekDomain(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error);
+ virtual void peekDomain(const std::string& name, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error);
/**
* Calls peekDomain with asynchronous semantics.
*
@@ -346,7 +332,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void registerDomain(const am_gen::am_Domain_s& domainData, const std::string& returnBusname, const std::string& returnPath, const std::string& returnInterface, CommonAPI::CallStatus& callStatus, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error);
+ virtual void registerDomain(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error);
/**
* Calls registerDomain with asynchronous semantics.
*
@@ -357,7 +343,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> registerDomainAsync(const am_gen::am_Domain_s& domainData, const std::string& returnBusname, const std::string& returnPath, const std::string& returnInterface, RegisterDomainAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> registerDomainAsync(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, RegisterDomainAsyncCallback callback);
/**
* Calls deregisterDomain with synchronous semantics.
@@ -369,7 +355,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void deregisterDomain(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
+ virtual void deregisterDomain(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
/**
* Calls deregisterDomain with asynchronous semantics.
*
@@ -380,7 +366,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> deregisterDomainAsync(const am_gen::am_domainID_t& domainID, DeregisterDomainAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> deregisterDomainAsync(const am_domainID_t& domainID, DeregisterDomainAsyncCallback callback);
/**
* Calls registerGateway with synchronous semantics.
@@ -392,7 +378,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void registerGateway(const am_gen::am_Gateway_s& gatewayData, CommonAPI::CallStatus& callStatus, am_gen::am_gatewayID_t& gatewayID, am_gen::am_Error_e& error);
+ virtual void registerGateway(const am_Gateway_s& gatewayData, CommonAPI::CallStatus& callStatus, am_gatewayID_t& gatewayID, am_Error_e& error);
/**
* Calls registerGateway with asynchronous semantics.
*
@@ -403,7 +389,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> registerGatewayAsync(const am_gen::am_Gateway_s& gatewayData, RegisterGatewayAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> registerGatewayAsync(const am_Gateway_s& gatewayData, RegisterGatewayAsyncCallback callback);
/**
* Calls deregisterGateway with synchronous semantics.
@@ -415,7 +401,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void deregisterGateway(const am_gen::am_gatewayID_t& gatewayID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
+ virtual void deregisterGateway(const am_gatewayID_t& gatewayID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
/**
* Calls deregisterGateway with asynchronous semantics.
*
@@ -426,7 +412,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> deregisterGatewayAsync(const am_gen::am_gatewayID_t& gatewayID, DeregisterGatewayAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> deregisterGatewayAsync(const am_gatewayID_t& gatewayID, DeregisterGatewayAsyncCallback callback);
/**
* Calls peekSink with synchronous semantics.
@@ -438,7 +424,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void peekSink(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error);
+ virtual void peekSink(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error);
/**
* Calls peekSink with asynchronous semantics.
*
@@ -461,7 +447,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void registerSink(const am_gen::sinkData_s& sinkData, CommonAPI::CallStatus& callStatus, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error);
+ virtual void registerSink(const am_Sink_s& sinkData, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error);
/**
* Calls registerSink with asynchronous semantics.
*
@@ -472,7 +458,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> registerSinkAsync(const am_gen::sinkData_s& sinkData, RegisterSinkAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> registerSinkAsync(const am_Sink_s& sinkData, RegisterSinkAsyncCallback callback);
/**
* Calls deregisterSink with synchronous semantics.
@@ -484,7 +470,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void deregisterSink(const am_gen::am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
+ virtual void deregisterSink(const am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
/**
* Calls deregisterSink with asynchronous semantics.
*
@@ -495,7 +481,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> deregisterSinkAsync(const am_gen::am_sinkID_t& sinkID, DeregisterSinkAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> deregisterSinkAsync(const am_sinkID_t& sinkID, DeregisterSinkAsyncCallback callback);
/**
* Calls peekSource with synchronous semantics.
@@ -507,7 +493,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void peekSource(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error);
+ virtual void peekSource(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error);
/**
* Calls peekSource with asynchronous semantics.
*
@@ -530,7 +516,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void registerSource(const am_gen::sourceData_s& sourceData, CommonAPI::CallStatus& callStatus, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error);
+ virtual void registerSource(const am_Source_s& sourceData, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error);
/**
* Calls registerSource with asynchronous semantics.
*
@@ -541,7 +527,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> registerSourceAsync(const am_gen::sourceData_s& sourceData, RegisterSourceAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> registerSourceAsync(const am_Source_s& sourceData, RegisterSourceAsyncCallback callback);
/**
* Calls deregisterSource with synchronous semantics.
@@ -553,7 +539,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void deregisterSource(const am_gen::am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
+ virtual void deregisterSource(const am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
/**
* Calls deregisterSource with asynchronous semantics.
*
@@ -564,7 +550,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> deregisterSourceAsync(const am_gen::am_sourceID_t& sourceID, DeregisterSourceAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> deregisterSourceAsync(const am_sourceID_t& sourceID, DeregisterSourceAsyncCallback callback);
/**
* Calls registerCrossfader with synchronous semantics.
@@ -576,7 +562,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void registerCrossfader(const am_gen::crossfaderData_s& crossfaderData, CommonAPI::CallStatus& callStatus, am_gen::am_crossfaderID_t& crossfaderID, am_gen::am_Error_e& error);
+ virtual void registerCrossfader(const am_Crossfader_s& crossfaderData, CommonAPI::CallStatus& callStatus, am_crossfaderID_t& crossfaderID, am_Error_e& error);
/**
* Calls registerCrossfader with asynchronous semantics.
*
@@ -587,7 +573,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> registerCrossfaderAsync(const am_gen::crossfaderData_s& crossfaderData, RegisterCrossfaderAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> registerCrossfaderAsync(const am_Crossfader_s& crossfaderData, RegisterCrossfaderAsyncCallback callback);
/**
* Calls deregisterCrossfader with synchronous semantics.
@@ -599,7 +585,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void deregisterCrossfader(const am_gen::am_crossfaderID_t& crossfaderID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
+ virtual void deregisterCrossfader(const am_crossfaderID_t& crossfaderID, CommonAPI::CallStatus& callStatus, am_Error_e& error);
/**
* Calls deregisterCrossfader with asynchronous semantics.
*
@@ -610,7 +596,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> deregisterCrossfaderAsync(const am_gen::am_crossfaderID_t& crossfaderID, DeregisterCrossfaderAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> deregisterCrossfaderAsync(const am_crossfaderID_t& crossfaderID, DeregisterCrossfaderAsyncCallback callback);
/**
* Calls peekSourceClassID with synchronous semantics.
@@ -622,7 +608,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void peekSourceClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sourceClass_t& sourceClassID, am_gen::am_Error_e& error);
+ virtual void peekSourceClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceClass_t& sourceClassID, am_Error_e& error);
/**
* Calls peekSourceClassID with asynchronous semantics.
*
@@ -645,7 +631,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void peekSinkClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sinkClass_t& sinkClassID, am_gen::am_Error_e& error);
+ virtual void peekSinkClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkClass_t& sinkClassID, am_Error_e& error);
/**
* Calls peekSinkClassID with asynchronous semantics.
*
@@ -667,7 +653,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void hookInterruptStatusChange(const am_gen::am_sourceID_t& sourceID, const uint16_t& interruptState, CommonAPI::CallStatus& callStatus);
+ virtual void hookInterruptStatusChange(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, CommonAPI::CallStatus& callStatus);
/**
* Calls hookInterruptStatusChange with asynchronous semantics.
*
@@ -678,7 +664,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> hookInterruptStatusChangeAsync(const am_gen::am_sourceID_t& sourceID, const uint16_t& interruptState, HookInterruptStatusChangeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> hookInterruptStatusChangeAsync(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, HookInterruptStatusChangeAsyncCallback callback);
/**
* Calls hookDomainRegistrationComplete with synchronous semantics.
@@ -689,7 +675,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void hookDomainRegistrationComplete(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus);
+ virtual void hookDomainRegistrationComplete(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus);
/**
* Calls hookDomainRegistrationComplete with asynchronous semantics.
*
@@ -700,7 +686,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> hookDomainRegistrationCompleteAsync(const am_gen::am_domainID_t& domainID, HookDomainRegistrationCompleteAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> hookDomainRegistrationCompleteAsync(const am_domainID_t& domainID, HookDomainRegistrationCompleteAsyncCallback callback);
/**
* Calls hookSinkAvailablityStatusChange with synchronous semantics.
@@ -711,7 +697,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void hookSinkAvailablityStatusChange(const am_gen::am_sinkID_t& sinkID, const am_gen::am_Availability_s& availability, CommonAPI::CallStatus& callStatus);
+ virtual void hookSinkAvailablityStatusChange(const am_sinkID_t& sinkID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus);
/**
* Calls hookSinkAvailablityStatusChange with asynchronous semantics.
*
@@ -722,7 +708,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> hookSinkAvailablityStatusChangeAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::am_Availability_s& availability, HookSinkAvailablityStatusChangeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> hookSinkAvailablityStatusChangeAsync(const am_sinkID_t& sinkID, const am_Availability_s& availability, HookSinkAvailablityStatusChangeAsyncCallback callback);
/**
* Calls hookSourceAvailablityStatusChange with synchronous semantics.
@@ -733,7 +719,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void hookSourceAvailablityStatusChange(const am_gen::am_sourceID_t& sourceID, const am_gen::am_Availability_s& availability, CommonAPI::CallStatus& callStatus);
+ virtual void hookSourceAvailablityStatusChange(const am_sourceID_t& sourceID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus);
/**
* Calls hookSourceAvailablityStatusChange with asynchronous semantics.
*
@@ -744,7 +730,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> hookSourceAvailablityStatusChangeAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::am_Availability_s& availability, HookSourceAvailablityStatusChangeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> hookSourceAvailablityStatusChangeAsync(const am_sourceID_t& sourceID, const am_Availability_s& availability, HookSourceAvailablityStatusChangeAsyncCallback callback);
/**
* Calls hookDomainStateChange with synchronous semantics.
@@ -755,7 +741,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void hookDomainStateChange(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus);
+ virtual void hookDomainStateChange(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus);
/**
* Calls hookDomainStateChange with asynchronous semantics.
*
@@ -766,7 +752,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> hookDomainStateChangeAsync(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, HookDomainStateChangeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> hookDomainStateChangeAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, HookDomainStateChangeAsyncCallback callback);
/**
* Calls hookTimingInformationChanged with synchronous semantics.
@@ -777,7 +763,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void hookTimingInformationChanged(const am_gen::am_connectionID_t& connectionID, const int16_t& delay, CommonAPI::CallStatus& callStatus);
+ virtual void hookTimingInformationChanged(const am_connectionID_t& connectionID, const am_timeSync_t& delay, CommonAPI::CallStatus& callStatus);
/**
* Calls hookTimingInformationChanged with asynchronous semantics.
*
@@ -788,7 +774,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> hookTimingInformationChangedAsync(const am_gen::am_connectionID_t& connectionID, const int16_t& delay, HookTimingInformationChangedAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> hookTimingInformationChangedAsync(const am_connectionID_t& connectionID, const am_timeSync_t& delay, HookTimingInformationChangedAsyncCallback callback);
/**
* Calls sendChangedData with synchronous semantics.
@@ -799,7 +785,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void sendChangedData(const am_gen::am_EarlyData_l& earlyData_volumes, const am_gen::am_EarlyData_l& earlyData_soundproperties, CommonAPI::CallStatus& callStatus);
+ virtual void sendChangedData(const am_EarlyData_L& earlyData, CommonAPI::CallStatus& callStatus);
/**
* Calls sendChangedData with asynchronous semantics.
*
@@ -810,62 +796,19 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> sendChangedDataAsync(const am_gen::am_EarlyData_l& earlyData_volumes, const am_gen::am_EarlyData_l& earlyData_soundproperties, SendChangedDataAsyncCallback callback);
-
- /**
- * Calls confirmRoutingReady with synchronous semantics.
- *
- * All const parameters are input parameters to this method.
- * The CallStatus will be filled when the method returns and indicate either
- * "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus
- * will be set.
- * Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
- */
- virtual void confirmRoutingReady(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus);
- /**
- * Calls confirmRoutingReady with asynchronous semantics.
- *
- * The provided callback will be called when the reply to this call arrives or
- * an error occurs during the call. The CallStatus will indicate either "SUCCESS"
- * or which type of error has occurred. In case of any error, ONLY the CallStatus
- * will have a defined value.
- * The std::future returned by this method will be fulfilled at arrival of the reply.
- * It will provide the same value for CallStatus as will be handed to the callback.
- */
- virtual std::future<CommonAPI::CallStatus> confirmRoutingReadyAsync(const am_gen::am_domainID_t& domainID, ConfirmRoutingReadyAsyncCallback callback);
-
- /**
- * Calls confirmRoutingRundown with synchronous semantics.
- *
- * All const parameters are input parameters to this method.
- * The CallStatus will be filled when the method returns and indicate either
- * "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus
- * will be set.
- * Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
- */
- virtual void confirmRoutingRundown(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus);
- /**
- * Calls confirmRoutingRundown with asynchronous semantics.
- *
- * The provided callback will be called when the reply to this call arrives or
- * an error occurs during the call. The CallStatus will indicate either "SUCCESS"
- * or which type of error has occurred. In case of any error, ONLY the CallStatus
- * will have a defined value.
- * The std::future returned by this method will be fulfilled at arrival of the reply.
- * It will provide the same value for CallStatus as will be handed to the callback.
- */
- virtual std::future<CommonAPI::CallStatus> confirmRoutingRundownAsync(const am_gen::am_domainID_t& domainID, ConfirmRoutingRundownAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> sendChangedDataAsync(const am_EarlyData_L& earlyData, SendChangedDataAsyncCallback callback);
/**
* Calls updateGateway with synchronous semantics.
*
* All const parameters are input parameters to this method.
+ * All non-const parameters will be filled with the returned values.
* The CallStatus will be filled when the method returns and indicate either
* "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void updateGateway(const am_gen::am_gatewayID_t& gatewayID, const am_gen::am_ConnectionFormat_L& listSourceFormats, const am_gen::am_ConnectionFormat_L& listSinkFormats, const am_gen::bool_L& convertionMatrix, CommonAPI::CallStatus& callStatus);
+ virtual void updateGateway(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, CommonAPI::CallStatus& callStatus, am_Error_e& error);
/**
* Calls updateGateway with asynchronous semantics.
*
@@ -876,18 +819,19 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> updateGatewayAsync(const am_gen::am_gatewayID_t& gatewayID, const am_gen::am_ConnectionFormat_L& listSourceFormats, const am_gen::am_ConnectionFormat_L& listSinkFormats, const am_gen::bool_L& convertionMatrix, UpdateGatewayAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> updateGatewayAsync(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, UpdateGatewayAsyncCallback callback);
/**
* Calls updateSink with synchronous semantics.
*
* All const parameters are input parameters to this method.
+ * All non-const parameters will be filled with the returned values.
* The CallStatus will be filled when the method returns and indicate either
* "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void updateSink(const am_gen::am_sinkID_t& sinkID, const am_gen::am_sinkClass_t& sinkClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus);
+ virtual void updateSink(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error);
/**
* Calls updateSink with asynchronous semantics.
*
@@ -898,18 +842,19 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> updateSinkAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::am_sinkClass_t& sinkClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, UpdateSinkAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> updateSinkAsync(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSinkAsyncCallback callback);
/**
* Calls updateSource with synchronous semantics.
*
* All const parameters are input parameters to this method.
+ * All non-const parameters will be filled with the returned values.
* The CallStatus will be filled when the method returns and indicate either
* "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void updateSource(const am_gen::am_sourceID_t& sourceID, const am_gen::am_sourceClass_t& sourceClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus);
+ virtual void updateSource(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error);
/**
* Calls updateSource with asynchronous semantics.
*
@@ -920,7 +865,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> updateSourceAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::am_sourceClass_t& sourceClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, UpdateSourceAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> updateSourceAsync(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSourceAsyncCallback callback);
/**
* Calls ackSetVolumes with synchronous semantics.
@@ -931,7 +876,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSetVolumes(const uint16_t& handle, const am_gen::am_Volumes_l& listVolumes, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSetVolumes(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackSetVolumes with asynchronous semantics.
*
@@ -942,7 +887,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSetVolumesAsync(const uint16_t& handle, const am_gen::am_Volumes_l& listVolumes, const uint16_t& error, AckSetVolumesAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, AckSetVolumesAsyncCallback callback);
/**
* Calls ackSinkNotificationConfiguration with synchronous semantics.
@@ -953,7 +898,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSinkNotificationConfiguration(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSinkNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackSinkNotificationConfiguration with asynchronous semantics.
*
@@ -964,7 +909,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSinkNotificationConfigurationAsync(const uint16_t& handle, const uint16_t& error, AckSinkNotificationConfigurationAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSinkNotificationConfigurationAsyncCallback callback);
/**
* Calls ackSourceNotificationConfiguration with synchronous semantics.
@@ -975,7 +920,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void ackSourceNotificationConfiguration(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
+ virtual void ackSourceNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus);
/**
* Calls ackSourceNotificationConfiguration with asynchronous semantics.
*
@@ -986,7 +931,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> ackSourceNotificationConfigurationAsync(const uint16_t& handle, const uint16_t& error, AckSourceNotificationConfigurationAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> ackSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSourceNotificationConfigurationAsyncCallback callback);
/**
* Calls hookSinkNotificationDataChange with synchronous semantics.
@@ -997,7 +942,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void hookSinkNotificationDataChange(const am_gen::am_sinkID_t& sinkID, const am_gen::notificationPayload_s& payload, CommonAPI::CallStatus& callStatus);
+ virtual void hookSinkNotificationDataChange(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus);
/**
* Calls hookSinkNotificationDataChange with asynchronous semantics.
*
@@ -1008,7 +953,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> hookSinkNotificationDataChangeAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::notificationPayload_s& payload, HookSinkNotificationDataChangeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> hookSinkNotificationDataChangeAsync(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, HookSinkNotificationDataChangeAsyncCallback callback);
/**
* Calls hookSourceNotificationDataChange with synchronous semantics.
@@ -1019,7 +964,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void hookSourceNotificationDataChange(const am_gen::am_sourceID_t& sourceID, const am_gen::notificationPayload_s& payload, CommonAPI::CallStatus& callStatus);
+ virtual void hookSourceNotificationDataChange(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus);
/**
* Calls hookSourceNotificationDataChange with asynchronous semantics.
*
@@ -1030,20 +975,20 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> hookSourceNotificationDataChangeAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::notificationPayload_s& payload, HookSourceNotificationDataChangeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> hookSourceNotificationDataChangeAsync(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, HookSourceNotificationDataChangeAsyncCallback callback);
/**
- * Calls getRoutingReadyState with synchronous semantics.
+ * Calls confirmRoutingRundown with synchronous semantics.
*
- * All non-const parameters will be filled with the returned values.
+ * All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
* "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void getRoutingReadyState(CommonAPI::CallStatus& callStatus, bool& readyState);
+ virtual void confirmRoutingRundown(const std::string& domainName, CommonAPI::CallStatus& callStatus);
/**
- * Calls getRoutingReadyState with asynchronous semantics.
+ * Calls confirmRoutingRundown with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -1052,7 +997,7 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> getRoutingReadyStateAsync(GetRoutingReadyStateAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> confirmRoutingRundownAsync(const std::string& domainName, ConfirmRoutingRundownAsyncCallback callback);
/// Returns the CommonAPI address of the remote partner this proxy communicates with.
virtual std::string getAddress() const;
@@ -1082,513 +1027,523 @@ class RoutingInterfaceProxy: virtual public RoutingInterface, virtual public Rou
virtual CommonAPI::InterfaceVersionAttribute& getInterfaceVersionAttribute();
private:
- std::shared_ptr<RoutingInterfaceProxyBase> delegate_;
+ std::shared_ptr<RoutingControlObserverProxyBase> delegate_;
};
+namespace RoutingControlObserverExtensions {
+ template <template <typename > class _ExtensionType>
+ class RoutingReadyAttributeExtension {
+ public:
+ typedef _ExtensionType<RoutingControlObserverProxyBase::RoutingReadyAttribute> extension_type;
+
+ static_assert(std::is_base_of<typename CommonAPI::AttributeExtension<RoutingControlObserverProxyBase::RoutingReadyAttribute>, extension_type>::value,
+ "Not CommonAPI Attribute Extension!");
+
+ RoutingReadyAttributeExtension(RoutingControlObserverProxyBase& proxy): attributeExtension_(proxy.getRoutingReadyAttribute()) {
+ }
+
+ inline extension_type& getRoutingReadyAttributeExtension() {
+ return attributeExtension_;
+ }
+
+ private:
+ extension_type attributeExtension_;
+ };
+
+} // namespace RoutingControlObserverExtensions
//
-// RoutingInterfaceProxy Implementation
+// RoutingControlObserverProxy Implementation
//
template <typename ... _AttributeExtensions>
-RoutingInterfaceProxy<_AttributeExtensions...>::RoutingInterfaceProxy(std::shared_ptr<CommonAPI::Proxy> delegate):
- delegate_(std::dynamic_pointer_cast<RoutingInterfaceProxyBase>(delegate)),
- _AttributeExtensions(*(std::dynamic_pointer_cast<RoutingInterfaceProxyBase>(delegate)))... {
+RoutingControlObserverProxy<_AttributeExtensions...>::RoutingControlObserverProxy(std::shared_ptr<CommonAPI::Proxy> delegate):
+ delegate_(std::dynamic_pointer_cast<RoutingControlObserverProxyBase>(delegate)),
+ _AttributeExtensions(*(std::dynamic_pointer_cast<RoutingControlObserverProxyBase>(delegate)))... {
}
template <typename ... _AttributeExtensions>
-RoutingInterfaceProxy<_AttributeExtensions...>::~RoutingInterfaceProxy() {
+RoutingControlObserverProxy<_AttributeExtensions...>::~RoutingControlObserverProxy() {
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackConnect(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
delegate_->ackConnect(handle, connectionID, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackConnectAsync(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, AckConnectAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckConnectAsyncCallback callback) {
return delegate_->ackConnectAsync(handle, connectionID, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackDisconnect(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
delegate_->ackDisconnect(handle, connectionID, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackDisconnectAsync(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, AckDisconnectAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckDisconnectAsyncCallback callback) {
return delegate_->ackDisconnectAsync(handle, connectionID, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSinkVolume(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- delegate_->ackSetSinkVolume(handle, volume, error, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSinkVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ delegate_->ackSetSinkVolumeChange(handle, volume, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSinkVolumeAsync(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, AckSetSinkVolumeAsyncCallback callback) {
- return delegate_->ackSetSinkVolumeAsync(handle, volume, error, callback);
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSinkVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSinkVolumeChangeAsyncCallback callback) {
+ return delegate_->ackSetSinkVolumeChangeAsync(handle, volume, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSourceVolume(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- delegate_->ackSetSourceVolume(handle, volume, error, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSourceVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ delegate_->ackSetSourceVolumeChange(handle, volume, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSourceVolumeAsync(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, AckSetSourceVolumeAsyncCallback callback) {
- return delegate_->ackSetSourceVolumeAsync(handle, volume, error, callback);
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSourceVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSourceVolumeChangeAsyncCallback callback) {
+ return delegate_->ackSetSourceVolumeChangeAsync(handle, volume, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSourceState(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSourceState(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
delegate_->ackSetSourceState(handle, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSourceStateAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceStateAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSourceStateAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceStateAsyncCallback callback) {
return delegate_->ackSetSourceStateAsync(handle, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSinkSoundProperties(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSinkSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
delegate_->ackSetSinkSoundProperties(handle, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSinkSoundPropertiesAsync(const uint16_t& handle, const uint16_t& error, AckSetSinkSoundPropertiesAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertiesAsyncCallback callback) {
return delegate_->ackSetSinkSoundPropertiesAsync(handle, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSinkSoundProperty(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSinkSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
delegate_->ackSetSinkSoundProperty(handle, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSinkSoundPropertyAsync(const uint16_t& handle, const uint16_t& error, AckSetSinkSoundPropertyAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertyAsyncCallback callback) {
return delegate_->ackSetSinkSoundPropertyAsync(handle, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSourceSoundProperties(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSourceSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
delegate_->ackSetSourceSoundProperties(handle, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSourceSoundPropertiesAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceSoundPropertiesAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertiesAsyncCallback callback) {
return delegate_->ackSetSourceSoundPropertiesAsync(handle, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSourceSoundProperty(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSourceSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
delegate_->ackSetSourceSoundProperty(handle, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSetSourceSoundPropertyAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceSoundPropertyAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertyAsyncCallback callback) {
return delegate_->ackSetSourceSoundPropertyAsync(handle, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSourceVolumeTick(const uint16_t& handle, const am_gen::am_sourceID_t& source, const am_gen::am_volume_t& volume, CommonAPI::CallStatus& callStatus) {
- delegate_->ackSourceVolumeTick(handle, source, volume, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackCrossFading(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ delegate_->ackCrossFading(handle, hotSink, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSourceVolumeTickAsync(const uint16_t& handle, const am_gen::am_sourceID_t& source, const am_gen::am_volume_t& volume, AckSourceVolumeTickAsyncCallback callback) {
- return delegate_->ackSourceVolumeTickAsync(handle, source, volume, callback);
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackCrossFadingAsync(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, AckCrossFadingAsyncCallback callback) {
+ return delegate_->ackCrossFadingAsync(handle, hotSink, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSinkVolumeTick(const uint16_t& handle, const am_gen::am_sinkID_t& sink, const am_gen::am_volume_t& volume, CommonAPI::CallStatus& callStatus) {
- delegate_->ackSinkVolumeTick(handle, sink, volume, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSourceVolumeTick(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus) {
+ delegate_->ackSourceVolumeTick(handle, sourceID, volume, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSinkVolumeTickAsync(const uint16_t& handle, const am_gen::am_sinkID_t& sink, const am_gen::am_volume_t& volume, AckSinkVolumeTickAsyncCallback callback) {
- return delegate_->ackSinkVolumeTickAsync(handle, sink, volume, callback);
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSourceVolumeTickAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, AckSourceVolumeTickAsyncCallback callback) {
+ return delegate_->ackSourceVolumeTickAsync(handle, sourceID, volume, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackCrossFading(const uint16_t& handle, const am_gen::am_HotSink_e& hotSink, const am_gen::am_Error_e& returnError, CommonAPI::CallStatus& callStatus) {
- delegate_->ackCrossFading(handle, hotSink, returnError, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSinkVolumeTick(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus) {
+ delegate_->ackSinkVolumeTick(handle, sinkID, volume, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackCrossFadingAsync(const uint16_t& handle, const am_gen::am_HotSink_e& hotSink, const am_gen::am_Error_e& returnError, AckCrossFadingAsyncCallback callback) {
- return delegate_->ackCrossFadingAsync(handle, hotSink, returnError, callback);
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSinkVolumeTickAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, AckSinkVolumeTickAsyncCallback callback) {
+ return delegate_->ackSinkVolumeTickAsync(handle, sinkID, volume, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::peekDomain(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::peekDomain(const std::string& name, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error) {
delegate_->peekDomain(name, callStatus, domainID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::peekDomainAsync(const std::string& name, PeekDomainAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::peekDomainAsync(const std::string& name, PeekDomainAsyncCallback callback) {
return delegate_->peekDomainAsync(name, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::registerDomain(const am_gen::am_Domain_s& domainData, const std::string& returnBusname, const std::string& returnPath, const std::string& returnInterface, CommonAPI::CallStatus& callStatus, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error) {
- delegate_->registerDomain(domainData, returnBusname, returnPath, returnInterface, callStatus, domainID, error);
+void RoutingControlObserverProxy<_AttributeExtensions...>::registerDomain(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error) {
+ delegate_->registerDomain(domainData, returnInterface, returnPath, returnBusname, callStatus, domainID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::registerDomainAsync(const am_gen::am_Domain_s& domainData, const std::string& returnBusname, const std::string& returnPath, const std::string& returnInterface, RegisterDomainAsyncCallback callback) {
- return delegate_->registerDomainAsync(domainData, returnBusname, returnPath, returnInterface, callback);
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::registerDomainAsync(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, RegisterDomainAsyncCallback callback) {
+ return delegate_->registerDomainAsync(domainData, returnInterface, returnPath, returnBusname, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::deregisterDomain(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- delegate_->deregisterDomain(domainID, callStatus, returnError);
+void RoutingControlObserverProxy<_AttributeExtensions...>::deregisterDomain(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ delegate_->deregisterDomain(domainID, callStatus, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::deregisterDomainAsync(const am_gen::am_domainID_t& domainID, DeregisterDomainAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::deregisterDomainAsync(const am_domainID_t& domainID, DeregisterDomainAsyncCallback callback) {
return delegate_->deregisterDomainAsync(domainID, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::registerGateway(const am_gen::am_Gateway_s& gatewayData, CommonAPI::CallStatus& callStatus, am_gen::am_gatewayID_t& gatewayID, am_gen::am_Error_e& error) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::registerGateway(const am_Gateway_s& gatewayData, CommonAPI::CallStatus& callStatus, am_gatewayID_t& gatewayID, am_Error_e& error) {
delegate_->registerGateway(gatewayData, callStatus, gatewayID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::registerGatewayAsync(const am_gen::am_Gateway_s& gatewayData, RegisterGatewayAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::registerGatewayAsync(const am_Gateway_s& gatewayData, RegisterGatewayAsyncCallback callback) {
return delegate_->registerGatewayAsync(gatewayData, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::deregisterGateway(const am_gen::am_gatewayID_t& gatewayID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- delegate_->deregisterGateway(gatewayID, callStatus, returnError);
+void RoutingControlObserverProxy<_AttributeExtensions...>::deregisterGateway(const am_gatewayID_t& gatewayID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ delegate_->deregisterGateway(gatewayID, callStatus, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::deregisterGatewayAsync(const am_gen::am_gatewayID_t& gatewayID, DeregisterGatewayAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::deregisterGatewayAsync(const am_gatewayID_t& gatewayID, DeregisterGatewayAsyncCallback callback) {
return delegate_->deregisterGatewayAsync(gatewayID, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::peekSink(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::peekSink(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error) {
delegate_->peekSink(name, callStatus, sinkID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::peekSinkAsync(const std::string& name, PeekSinkAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::peekSinkAsync(const std::string& name, PeekSinkAsyncCallback callback) {
return delegate_->peekSinkAsync(name, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::registerSink(const am_gen::sinkData_s& sinkData, CommonAPI::CallStatus& callStatus, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::registerSink(const am_Sink_s& sinkData, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error) {
delegate_->registerSink(sinkData, callStatus, sinkID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::registerSinkAsync(const am_gen::sinkData_s& sinkData, RegisterSinkAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::registerSinkAsync(const am_Sink_s& sinkData, RegisterSinkAsyncCallback callback) {
return delegate_->registerSinkAsync(sinkData, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::deregisterSink(const am_gen::am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- delegate_->deregisterSink(sinkID, callStatus, returnError);
+void RoutingControlObserverProxy<_AttributeExtensions...>::deregisterSink(const am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ delegate_->deregisterSink(sinkID, callStatus, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::deregisterSinkAsync(const am_gen::am_sinkID_t& sinkID, DeregisterSinkAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::deregisterSinkAsync(const am_sinkID_t& sinkID, DeregisterSinkAsyncCallback callback) {
return delegate_->deregisterSinkAsync(sinkID, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::peekSource(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::peekSource(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error) {
delegate_->peekSource(name, callStatus, sourceID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::peekSourceAsync(const std::string& name, PeekSourceAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::peekSourceAsync(const std::string& name, PeekSourceAsyncCallback callback) {
return delegate_->peekSourceAsync(name, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::registerSource(const am_gen::sourceData_s& sourceData, CommonAPI::CallStatus& callStatus, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::registerSource(const am_Source_s& sourceData, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error) {
delegate_->registerSource(sourceData, callStatus, sourceID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::registerSourceAsync(const am_gen::sourceData_s& sourceData, RegisterSourceAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::registerSourceAsync(const am_Source_s& sourceData, RegisterSourceAsyncCallback callback) {
return delegate_->registerSourceAsync(sourceData, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::deregisterSource(const am_gen::am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- delegate_->deregisterSource(sourceID, callStatus, returnError);
+void RoutingControlObserverProxy<_AttributeExtensions...>::deregisterSource(const am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ delegate_->deregisterSource(sourceID, callStatus, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::deregisterSourceAsync(const am_gen::am_sourceID_t& sourceID, DeregisterSourceAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::deregisterSourceAsync(const am_sourceID_t& sourceID, DeregisterSourceAsyncCallback callback) {
return delegate_->deregisterSourceAsync(sourceID, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::registerCrossfader(const am_gen::crossfaderData_s& crossfaderData, CommonAPI::CallStatus& callStatus, am_gen::am_crossfaderID_t& crossfaderID, am_gen::am_Error_e& error) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::registerCrossfader(const am_Crossfader_s& crossfaderData, CommonAPI::CallStatus& callStatus, am_crossfaderID_t& crossfaderID, am_Error_e& error) {
delegate_->registerCrossfader(crossfaderData, callStatus, crossfaderID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::registerCrossfaderAsync(const am_gen::crossfaderData_s& crossfaderData, RegisterCrossfaderAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::registerCrossfaderAsync(const am_Crossfader_s& crossfaderData, RegisterCrossfaderAsyncCallback callback) {
return delegate_->registerCrossfaderAsync(crossfaderData, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::deregisterCrossfader(const am_gen::am_crossfaderID_t& crossfaderID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- delegate_->deregisterCrossfader(crossfaderID, callStatus, returnError);
+void RoutingControlObserverProxy<_AttributeExtensions...>::deregisterCrossfader(const am_crossfaderID_t& crossfaderID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ delegate_->deregisterCrossfader(crossfaderID, callStatus, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::deregisterCrossfaderAsync(const am_gen::am_crossfaderID_t& crossfaderID, DeregisterCrossfaderAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::deregisterCrossfaderAsync(const am_crossfaderID_t& crossfaderID, DeregisterCrossfaderAsyncCallback callback) {
return delegate_->deregisterCrossfaderAsync(crossfaderID, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::peekSourceClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sourceClass_t& sourceClassID, am_gen::am_Error_e& error) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::peekSourceClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceClass_t& sourceClassID, am_Error_e& error) {
delegate_->peekSourceClassID(name, callStatus, sourceClassID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::peekSourceClassIDAsync(const std::string& name, PeekSourceClassIDAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::peekSourceClassIDAsync(const std::string& name, PeekSourceClassIDAsyncCallback callback) {
return delegate_->peekSourceClassIDAsync(name, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::peekSinkClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sinkClass_t& sinkClassID, am_gen::am_Error_e& error) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::peekSinkClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkClass_t& sinkClassID, am_Error_e& error) {
delegate_->peekSinkClassID(name, callStatus, sinkClassID, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::peekSinkClassIDAsync(const std::string& name, PeekSinkClassIDAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::peekSinkClassIDAsync(const std::string& name, PeekSinkClassIDAsyncCallback callback) {
return delegate_->peekSinkClassIDAsync(name, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::hookInterruptStatusChange(const am_gen::am_sourceID_t& sourceID, const uint16_t& interruptState, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::hookInterruptStatusChange(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, CommonAPI::CallStatus& callStatus) {
delegate_->hookInterruptStatusChange(sourceID, interruptState, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::hookInterruptStatusChangeAsync(const am_gen::am_sourceID_t& sourceID, const uint16_t& interruptState, HookInterruptStatusChangeAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::hookInterruptStatusChangeAsync(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, HookInterruptStatusChangeAsyncCallback callback) {
return delegate_->hookInterruptStatusChangeAsync(sourceID, interruptState, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::hookDomainRegistrationComplete(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::hookDomainRegistrationComplete(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus) {
delegate_->hookDomainRegistrationComplete(domainID, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::hookDomainRegistrationCompleteAsync(const am_gen::am_domainID_t& domainID, HookDomainRegistrationCompleteAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::hookDomainRegistrationCompleteAsync(const am_domainID_t& domainID, HookDomainRegistrationCompleteAsyncCallback callback) {
return delegate_->hookDomainRegistrationCompleteAsync(domainID, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::hookSinkAvailablityStatusChange(const am_gen::am_sinkID_t& sinkID, const am_gen::am_Availability_s& availability, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::hookSinkAvailablityStatusChange(const am_sinkID_t& sinkID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus) {
delegate_->hookSinkAvailablityStatusChange(sinkID, availability, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::hookSinkAvailablityStatusChangeAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::am_Availability_s& availability, HookSinkAvailablityStatusChangeAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::hookSinkAvailablityStatusChangeAsync(const am_sinkID_t& sinkID, const am_Availability_s& availability, HookSinkAvailablityStatusChangeAsyncCallback callback) {
return delegate_->hookSinkAvailablityStatusChangeAsync(sinkID, availability, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::hookSourceAvailablityStatusChange(const am_gen::am_sourceID_t& sourceID, const am_gen::am_Availability_s& availability, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::hookSourceAvailablityStatusChange(const am_sourceID_t& sourceID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus) {
delegate_->hookSourceAvailablityStatusChange(sourceID, availability, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::hookSourceAvailablityStatusChangeAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::am_Availability_s& availability, HookSourceAvailablityStatusChangeAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::hookSourceAvailablityStatusChangeAsync(const am_sourceID_t& sourceID, const am_Availability_s& availability, HookSourceAvailablityStatusChangeAsyncCallback callback) {
return delegate_->hookSourceAvailablityStatusChangeAsync(sourceID, availability, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::hookDomainStateChange(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::hookDomainStateChange(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus) {
delegate_->hookDomainStateChange(domainID, domainState, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::hookDomainStateChangeAsync(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, HookDomainStateChangeAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::hookDomainStateChangeAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, HookDomainStateChangeAsyncCallback callback) {
return delegate_->hookDomainStateChangeAsync(domainID, domainState, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::hookTimingInformationChanged(const am_gen::am_connectionID_t& connectionID, const int16_t& delay, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::hookTimingInformationChanged(const am_connectionID_t& connectionID, const am_timeSync_t& delay, CommonAPI::CallStatus& callStatus) {
delegate_->hookTimingInformationChanged(connectionID, delay, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::hookTimingInformationChangedAsync(const am_gen::am_connectionID_t& connectionID, const int16_t& delay, HookTimingInformationChangedAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::hookTimingInformationChangedAsync(const am_connectionID_t& connectionID, const am_timeSync_t& delay, HookTimingInformationChangedAsyncCallback callback) {
return delegate_->hookTimingInformationChangedAsync(connectionID, delay, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::sendChangedData(const am_gen::am_EarlyData_l& earlyData_volumes, const am_gen::am_EarlyData_l& earlyData_soundproperties, CommonAPI::CallStatus& callStatus) {
- delegate_->sendChangedData(earlyData_volumes, earlyData_soundproperties, callStatus);
-}
-
-template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::sendChangedDataAsync(const am_gen::am_EarlyData_l& earlyData_volumes, const am_gen::am_EarlyData_l& earlyData_soundproperties, SendChangedDataAsyncCallback callback) {
- return delegate_->sendChangedDataAsync(earlyData_volumes, earlyData_soundproperties, callback);
-}
-
-template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::confirmRoutingReady(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus) {
- delegate_->confirmRoutingReady(domainID, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::sendChangedData(const am_EarlyData_L& earlyData, CommonAPI::CallStatus& callStatus) {
+ delegate_->sendChangedData(earlyData, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::confirmRoutingReadyAsync(const am_gen::am_domainID_t& domainID, ConfirmRoutingReadyAsyncCallback callback) {
- return delegate_->confirmRoutingReadyAsync(domainID, callback);
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::sendChangedDataAsync(const am_EarlyData_L& earlyData, SendChangedDataAsyncCallback callback) {
+ return delegate_->sendChangedDataAsync(earlyData, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::confirmRoutingRundown(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus) {
- delegate_->confirmRoutingRundown(domainID, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::updateGateway(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ delegate_->updateGateway(gatewayID, listSourceFormats, listSinkFormats, convertionMatrix, callStatus, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::confirmRoutingRundownAsync(const am_gen::am_domainID_t& domainID, ConfirmRoutingRundownAsyncCallback callback) {
- return delegate_->confirmRoutingRundownAsync(domainID, callback);
-}
-
-template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::updateGateway(const am_gen::am_gatewayID_t& gatewayID, const am_gen::am_ConnectionFormat_L& listSourceFormats, const am_gen::am_ConnectionFormat_L& listSinkFormats, const am_gen::bool_L& convertionMatrix, CommonAPI::CallStatus& callStatus) {
- delegate_->updateGateway(gatewayID, listSourceFormats, listSinkFormats, convertionMatrix, callStatus);
-}
-
-template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::updateGatewayAsync(const am_gen::am_gatewayID_t& gatewayID, const am_gen::am_ConnectionFormat_L& listSourceFormats, const am_gen::am_ConnectionFormat_L& listSinkFormats, const am_gen::bool_L& convertionMatrix, UpdateGatewayAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::updateGatewayAsync(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, UpdateGatewayAsyncCallback callback) {
return delegate_->updateGatewayAsync(gatewayID, listSourceFormats, listSinkFormats, convertionMatrix, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::updateSink(const am_gen::am_sinkID_t& sinkID, const am_gen::am_sinkClass_t& sinkClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus) {
- delegate_->updateSink(sinkID, sinkClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::updateSink(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ delegate_->updateSink(sinkID, sinkClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties, callStatus, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::updateSinkAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::am_sinkClass_t& sinkClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, UpdateSinkAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::updateSinkAsync(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSinkAsyncCallback callback) {
return delegate_->updateSinkAsync(sinkID, sinkClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::updateSource(const am_gen::am_sourceID_t& sourceID, const am_gen::am_sourceClass_t& sourceClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus) {
- delegate_->updateSource(sourceID, sourceClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::updateSource(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ delegate_->updateSource(sourceID, sourceClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties, callStatus, error);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::updateSourceAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::am_sourceClass_t& sourceClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, UpdateSourceAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::updateSourceAsync(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSourceAsyncCallback callback) {
return delegate_->updateSourceAsync(sourceID, sourceClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSetVolumes(const uint16_t& handle, const am_gen::am_Volumes_l& listVolumes, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- delegate_->ackSetVolumes(handle, listVolumes, error, callStatus);
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSetVolumes(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
+ delegate_->ackSetVolumes(handle, listvolumes, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSetVolumesAsync(const uint16_t& handle, const am_gen::am_Volumes_l& listVolumes, const uint16_t& error, AckSetVolumesAsyncCallback callback) {
- return delegate_->ackSetVolumesAsync(handle, listVolumes, error, callback);
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, AckSetVolumesAsyncCallback callback) {
+ return delegate_->ackSetVolumesAsync(handle, listvolumes, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSinkNotificationConfiguration(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSinkNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
delegate_->ackSinkNotificationConfiguration(handle, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSinkNotificationConfigurationAsync(const uint16_t& handle, const uint16_t& error, AckSinkNotificationConfigurationAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSinkNotificationConfigurationAsyncCallback callback) {
return delegate_->ackSinkNotificationConfigurationAsync(handle, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::ackSourceNotificationConfiguration(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::ackSourceNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) {
delegate_->ackSourceNotificationConfiguration(handle, error, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::ackSourceNotificationConfigurationAsync(const uint16_t& handle, const uint16_t& error, AckSourceNotificationConfigurationAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::ackSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSourceNotificationConfigurationAsyncCallback callback) {
return delegate_->ackSourceNotificationConfigurationAsync(handle, error, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::hookSinkNotificationDataChange(const am_gen::am_sinkID_t& sinkID, const am_gen::notificationPayload_s& payload, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::hookSinkNotificationDataChange(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus) {
delegate_->hookSinkNotificationDataChange(sinkID, payload, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::hookSinkNotificationDataChangeAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::notificationPayload_s& payload, HookSinkNotificationDataChangeAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::hookSinkNotificationDataChangeAsync(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, HookSinkNotificationDataChangeAsyncCallback callback) {
return delegate_->hookSinkNotificationDataChangeAsync(sinkID, payload, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::hookSourceNotificationDataChange(const am_gen::am_sourceID_t& sourceID, const am_gen::notificationPayload_s& payload, CommonAPI::CallStatus& callStatus) {
+void RoutingControlObserverProxy<_AttributeExtensions...>::hookSourceNotificationDataChange(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus) {
delegate_->hookSourceNotificationDataChange(sourceID, payload, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::hookSourceNotificationDataChangeAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::notificationPayload_s& payload, HookSourceNotificationDataChangeAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::hookSourceNotificationDataChangeAsync(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, HookSourceNotificationDataChangeAsyncCallback callback) {
return delegate_->hookSourceNotificationDataChangeAsync(sourceID, payload, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingInterfaceProxy<_AttributeExtensions...>::getRoutingReadyState(CommonAPI::CallStatus& callStatus, bool& readyState) {
- delegate_->getRoutingReadyState(callStatus, readyState);
+void RoutingControlObserverProxy<_AttributeExtensions...>::confirmRoutingRundown(const std::string& domainName, CommonAPI::CallStatus& callStatus) {
+ delegate_->confirmRoutingRundown(domainName, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingInterfaceProxy<_AttributeExtensions...>::getRoutingReadyStateAsync(GetRoutingReadyStateAsyncCallback callback) {
- return delegate_->getRoutingReadyStateAsync(callback);
+std::future<CommonAPI::CallStatus> RoutingControlObserverProxy<_AttributeExtensions...>::confirmRoutingRundownAsync(const std::string& domainName, ConfirmRoutingRundownAsyncCallback callback) {
+ return delegate_->confirmRoutingRundownAsync(domainName, callback);
}
template <typename ... _AttributeExtensions>
-std::string RoutingInterfaceProxy<_AttributeExtensions...>::getAddress() const {
+std::string RoutingControlObserverProxy<_AttributeExtensions...>::getAddress() const {
return delegate_->getAddress();
}
template <typename ... _AttributeExtensions>
-const std::string& RoutingInterfaceProxy<_AttributeExtensions...>::getDomain() const {
+const std::string& RoutingControlObserverProxy<_AttributeExtensions...>::getDomain() const {
return delegate_->getDomain();
}
template <typename ... _AttributeExtensions>
-const std::string& RoutingInterfaceProxy<_AttributeExtensions...>::getServiceId() const {
+const std::string& RoutingControlObserverProxy<_AttributeExtensions...>::getServiceId() const {
return delegate_->getServiceId();
}
template <typename ... _AttributeExtensions>
-const std::string& RoutingInterfaceProxy<_AttributeExtensions...>::getInstanceId() const {
+const std::string& RoutingControlObserverProxy<_AttributeExtensions...>::getInstanceId() const {
return delegate_->getInstanceId();
}
template <typename ... _AttributeExtensions>
-bool RoutingInterfaceProxy<_AttributeExtensions...>::isAvailable() const {
+bool RoutingControlObserverProxy<_AttributeExtensions...>::isAvailable() const {
return delegate_->isAvailable();
}
template <typename ... _AttributeExtensions>
-CommonAPI::ProxyStatusEvent& RoutingInterfaceProxy<_AttributeExtensions...>::getProxyStatusEvent() {
+CommonAPI::ProxyStatusEvent& RoutingControlObserverProxy<_AttributeExtensions...>::getProxyStatusEvent() {
return delegate_->getProxyStatusEvent();
}
template <typename ... _AttributeExtensions>
-CommonAPI::InterfaceVersionAttribute& RoutingInterfaceProxy<_AttributeExtensions...>::getInterfaceVersionAttribute() {
+CommonAPI::InterfaceVersionAttribute& RoutingControlObserverProxy<_AttributeExtensions...>::getInterfaceVersionAttribute() {
return delegate_->getInterfaceVersionAttribute();
}
-} // namespace audiomanager
+} // namespace am
} // namespace genivi
} // namespace org
+namespace CommonAPI {
+template<template<typename > class _AttributeExtension>
+struct DefaultAttributeProxyFactoryHelper<org::genivi::am::RoutingControlObserverProxy,
+ _AttributeExtension> {
+ typedef typename org::genivi::am::RoutingControlObserverProxy<
+ org::genivi::am::RoutingControlObserverExtensions::RoutingReadyAttributeExtension<_AttributeExtension>
+ > class_t;
+};
+}
-#endif // ORG_GENIVI_AUDIOMANAGER_Routing_Interface_PROXY_H_
+#endif // ORG_GENIVI_AM_Routing_Control_Observer_PROXY_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverProxyBase.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverProxyBase.h
new file mode 100644
index 0000000..de76001
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverProxyBase.h
@@ -0,0 +1,221 @@
+ /*
+ * This file was generated by the CommonAPI Generators.
+ *
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+ */
+ #ifndef ORG_GENIVI_AM_Routing_Control_Observer_PROXY_BASE_H_
+ #define ORG_GENIVI_AM_Routing_Control_Observer_PROXY_BASE_H_
+
+ #include "RoutingControlObserver.h"
+
+
+ #include <org/genivi/am.h>
+
+ #define COMMONAPI_INTERNAL_COMPILATION
+
+ #include <CommonAPI/InputStream.h>
+ #include <CommonAPI/OutputStream.h>
+ #include <CommonAPI/SerializableStruct.h>
+ #include <cstdint>
+ #include <string>
+ #include <vector>
+
+ #include <CommonAPI/Attribute.h>
+ #include <CommonAPI/Proxy.h>
+ #include <functional>
+ #include <future>
+
+ #undef COMMONAPI_INTERNAL_COMPILATION
+
+ namespace org {
+ namespace genivi {
+ namespace am {
+
+ class RoutingControlObserverProxyBase: virtual public CommonAPI::Proxy {
+ public:
+ typedef CommonAPI::ObservableAttribute<am_RoutingReady_e> RoutingReadyAttribute;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckConnectAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckDisconnectAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSinkVolumeChangeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSourceVolumeChangeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSourceStateAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSinkSoundPropertiesAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSinkSoundPropertyAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSourceSoundPropertiesAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSourceSoundPropertyAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckCrossFadingAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSourceVolumeTickAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSinkVolumeTickAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_domainID_t&, const am_Error_e&)> PeekDomainAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_domainID_t&, const am_Error_e&)> RegisterDomainAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_Error_e&)> DeregisterDomainAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_gatewayID_t&, const am_Error_e&)> RegisterGatewayAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_Error_e&)> DeregisterGatewayAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_sinkID_t&, const am_Error_e&)> PeekSinkAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_sinkID_t&, const am_Error_e&)> RegisterSinkAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_Error_e&)> DeregisterSinkAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_sourceID_t&, const am_Error_e&)> PeekSourceAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_sourceID_t&, const am_Error_e&)> RegisterSourceAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_Error_e&)> DeregisterSourceAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_crossfaderID_t&, const am_Error_e&)> RegisterCrossfaderAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_Error_e&)> DeregisterCrossfaderAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_sourceClass_t&, const am_Error_e&)> PeekSourceClassIDAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_sinkClass_t&, const am_Error_e&)> PeekSinkClassIDAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> HookInterruptStatusChangeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> HookDomainRegistrationCompleteAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> HookSinkAvailablityStatusChangeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> HookSourceAvailablityStatusChangeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> HookDomainStateChangeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> HookTimingInformationChangedAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> SendChangedDataAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_Error_e&)> UpdateGatewayAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_Error_e&)> UpdateSinkAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_Error_e&)> UpdateSourceAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSetVolumesAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSinkNotificationConfigurationAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AckSourceNotificationConfigurationAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> HookSinkNotificationDataChangeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> HookSourceNotificationDataChangeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> ConfirmRoutingRundownAsyncCallback;
+
+ virtual RoutingReadyAttribute& getRoutingReadyAttribute() = 0;
+
+
+
+ virtual void ackConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckConnectAsyncCallback callback) = 0;
+
+ virtual void ackDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_Error_e& error, AckDisconnectAsyncCallback callback) = 0;
+
+ virtual void ackSetSinkVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSetSinkVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSinkVolumeChangeAsyncCallback callback) = 0;
+
+ virtual void ackSetSourceVolumeChange(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceVolumeChangeAsync(const am_Handle_s& handle, const am_volume_t& volume, const am_Error_e& error, AckSetSourceVolumeChangeAsyncCallback callback) = 0;
+
+ virtual void ackSetSourceState(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceStateAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceStateAsyncCallback callback) = 0;
+
+ virtual void ackSetSinkSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertiesAsyncCallback callback) = 0;
+
+ virtual void ackSetSinkSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSinkSoundPropertyAsyncCallback callback) = 0;
+
+ virtual void ackSetSourceSoundProperties(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertiesAsyncCallback callback) = 0;
+
+ virtual void ackSetSourceSoundProperty(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_Error_e& error, AckSetSourceSoundPropertyAsyncCallback callback) = 0;
+
+ virtual void ackCrossFading(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackCrossFadingAsync(const am_Handle_s& handle, const am_HotSink_e& hotSink, const am_Error_e& error, AckCrossFadingAsyncCallback callback) = 0;
+
+ virtual void ackSourceVolumeTick(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSourceVolumeTickAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, AckSourceVolumeTickAsyncCallback callback) = 0;
+
+ virtual void ackSinkVolumeTick(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSinkVolumeTickAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, AckSinkVolumeTickAsyncCallback callback) = 0;
+
+ virtual void peekDomain(const std::string& name, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> peekDomainAsync(const std::string& name, PeekDomainAsyncCallback callback) = 0;
+
+ virtual void registerDomain(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, CommonAPI::CallStatus& callStatus, am_domainID_t& domainID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> registerDomainAsync(const am_Domain_s& domainData, const std::string& returnInterface, const std::string& returnPath, const std::string& returnBusname, RegisterDomainAsyncCallback callback) = 0;
+
+ virtual void deregisterDomain(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> deregisterDomainAsync(const am_domainID_t& domainID, DeregisterDomainAsyncCallback callback) = 0;
+
+ virtual void registerGateway(const am_Gateway_s& gatewayData, CommonAPI::CallStatus& callStatus, am_gatewayID_t& gatewayID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> registerGatewayAsync(const am_Gateway_s& gatewayData, RegisterGatewayAsyncCallback callback) = 0;
+
+ virtual void deregisterGateway(const am_gatewayID_t& gatewayID, CommonAPI::CallStatus& callStatus, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> deregisterGatewayAsync(const am_gatewayID_t& gatewayID, DeregisterGatewayAsyncCallback callback) = 0;
+
+ virtual void peekSink(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> peekSinkAsync(const std::string& name, PeekSinkAsyncCallback callback) = 0;
+
+ virtual void registerSink(const am_Sink_s& sinkData, CommonAPI::CallStatus& callStatus, am_sinkID_t& sinkID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> registerSinkAsync(const am_Sink_s& sinkData, RegisterSinkAsyncCallback callback) = 0;
+
+ virtual void deregisterSink(const am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> deregisterSinkAsync(const am_sinkID_t& sinkID, DeregisterSinkAsyncCallback callback) = 0;
+
+ virtual void peekSource(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> peekSourceAsync(const std::string& name, PeekSourceAsyncCallback callback) = 0;
+
+ virtual void registerSource(const am_Source_s& sourceData, CommonAPI::CallStatus& callStatus, am_sourceID_t& sourceID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> registerSourceAsync(const am_Source_s& sourceData, RegisterSourceAsyncCallback callback) = 0;
+
+ virtual void deregisterSource(const am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> deregisterSourceAsync(const am_sourceID_t& sourceID, DeregisterSourceAsyncCallback callback) = 0;
+
+ virtual void registerCrossfader(const am_Crossfader_s& crossfaderData, CommonAPI::CallStatus& callStatus, am_crossfaderID_t& crossfaderID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> registerCrossfaderAsync(const am_Crossfader_s& crossfaderData, RegisterCrossfaderAsyncCallback callback) = 0;
+
+ virtual void deregisterCrossfader(const am_crossfaderID_t& crossfaderID, CommonAPI::CallStatus& callStatus, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> deregisterCrossfaderAsync(const am_crossfaderID_t& crossfaderID, DeregisterCrossfaderAsyncCallback callback) = 0;
+
+ virtual void peekSourceClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sourceClass_t& sourceClassID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> peekSourceClassIDAsync(const std::string& name, PeekSourceClassIDAsyncCallback callback) = 0;
+
+ virtual void peekSinkClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_sinkClass_t& sinkClassID, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> peekSinkClassIDAsync(const std::string& name, PeekSinkClassIDAsyncCallback callback) = 0;
+
+ virtual void hookInterruptStatusChange(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> hookInterruptStatusChangeAsync(const am_sourceID_t& sourceID, const am_InterruptState_e& interruptState, HookInterruptStatusChangeAsyncCallback callback) = 0;
+
+ virtual void hookDomainRegistrationComplete(const am_domainID_t& domainID, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> hookDomainRegistrationCompleteAsync(const am_domainID_t& domainID, HookDomainRegistrationCompleteAsyncCallback callback) = 0;
+
+ virtual void hookSinkAvailablityStatusChange(const am_sinkID_t& sinkID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> hookSinkAvailablityStatusChangeAsync(const am_sinkID_t& sinkID, const am_Availability_s& availability, HookSinkAvailablityStatusChangeAsyncCallback callback) = 0;
+
+ virtual void hookSourceAvailablityStatusChange(const am_sourceID_t& sourceID, const am_Availability_s& availability, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> hookSourceAvailablityStatusChangeAsync(const am_sourceID_t& sourceID, const am_Availability_s& availability, HookSourceAvailablityStatusChangeAsyncCallback callback) = 0;
+
+ virtual void hookDomainStateChange(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> hookDomainStateChangeAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, HookDomainStateChangeAsyncCallback callback) = 0;
+
+ virtual void hookTimingInformationChanged(const am_connectionID_t& connectionID, const am_timeSync_t& delay, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> hookTimingInformationChangedAsync(const am_connectionID_t& connectionID, const am_timeSync_t& delay, HookTimingInformationChangedAsyncCallback callback) = 0;
+
+ virtual void sendChangedData(const am_EarlyData_L& earlyData, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> sendChangedDataAsync(const am_EarlyData_L& earlyData, SendChangedDataAsyncCallback callback) = 0;
+
+ virtual void updateGateway(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, CommonAPI::CallStatus& callStatus, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> updateGatewayAsync(const am_gatewayID_t& gatewayID, const am_ConnectionFormat_L& listSourceFormats, const am_ConnectionFormat_L& listSinkFormats, const am_Convertion_L& convertionMatrix, UpdateGatewayAsyncCallback callback) = 0;
+
+ virtual void updateSink(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> updateSinkAsync(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSinkAsyncCallback callback) = 0;
+
+ virtual void updateSource(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> updateSourceAsync(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_SoundProperty_L& listSoundProperties, const am_ConnectionFormat_L& listConnectionFormats, const am_MainSoundProperty_L& listMainSoundProperties, UpdateSourceAsyncCallback callback) = 0;
+
+ virtual void ackSetVolumes(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& listvolumes, const am_Error_e& error, AckSetVolumesAsyncCallback callback) = 0;
+
+ virtual void ackSinkNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSinkNotificationConfigurationAsyncCallback callback) = 0;
+
+ virtual void ackSourceNotificationConfiguration(const am_Handle_s& handle, const am_Error_e& error, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> ackSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_Error_e& error, AckSourceNotificationConfigurationAsyncCallback callback) = 0;
+
+ virtual void hookSinkNotificationDataChange(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> hookSinkNotificationDataChangeAsync(const am_sinkID_t& sinkID, const am_NotificationPayload_s& payload, HookSinkNotificationDataChangeAsyncCallback callback) = 0;
+
+ virtual void hookSourceNotificationDataChange(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> hookSourceNotificationDataChangeAsync(const am_sourceID_t& sourceID, const am_NotificationPayload_s& payload, HookSourceNotificationDataChangeAsyncCallback callback) = 0;
+
+ virtual void confirmRoutingRundown(const std::string& domainName, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> confirmRoutingRundownAsync(const std::string& domainName, ConfirmRoutingRundownAsyncCallback callback) = 0;
+ };
+
+ } // namespace am
+ } // namespace genivi
+ } // namespace org
+
+ #endif // ORG_GENIVI_AM_Routing_Control_Observer_PROXY_BASE_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStub.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStub.h
new file mode 100644
index 0000000..803fa59
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStub.h
@@ -0,0 +1,178 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_Observer_STUB_H_
+#define ORG_GENIVI_AM_Routing_Control_Observer_STUB_H_
+
+
+
+#include <org/genivi/am.h>
+
+#include "RoutingControlObserver.h"
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
+#include <CommonAPI/InputStream.h>
+#include <CommonAPI/OutputStream.h>
+#include <CommonAPI/SerializableStruct.h>
+#include <cstdint>
+#include <string>
+#include <vector>
+
+#include <CommonAPI/Stub.h>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+namespace org {
+namespace genivi {
+namespace am {
+
+/**
+ * Receives messages from remote and handles all dispatching of deserialized calls
+ * to a stub for the service RoutingControlObserver. Also provides means to send broadcasts
+ * and attribute-changed-notifications of observable attributes as defined by this service.
+ * An application developer should not need to bother with this class.
+ */
+class RoutingControlObserverStubAdapter: virtual public CommonAPI::StubAdapter, public RoutingControlObserver {
+ public:
+ ///Notifies all remote listeners about a change of value of the attribute RoutingReady.
+ virtual void fireRoutingReadyAttributeChanged(const am_RoutingReady_e& RoutingReady) = 0;
+
+};
+
+
+/**
+ * Defines the necessary callbacks to handle remote set events related to the attributes
+ * defined in the IDL description for RoutingControlObserver.
+ * For each attribute two callbacks are defined:
+ * - a verification callback that allows to verify the requested value and to prevent setting
+ * e.g. an invalid value ("onRemoteSet<AttributeName>").
+ * - an action callback to do local work after the attribute value has been changed
+ * ("onRemote<AttributeName>Changed").
+ *
+ * This class and the one below are the ones an application developer needs to have
+ * a look at if he wants to implement a service.
+ */
+class RoutingControlObserverStubRemoteEvent {
+ public:
+ virtual ~RoutingControlObserverStubRemoteEvent() { }
+
+ /// Verification callback for remote set requests on the attribute RoutingReady.
+ virtual bool onRemoteSetRoutingReadyAttribute(am_RoutingReady_e RoutingReady) = 0;
+ /// Action callback for remote set requests on the attribute RoutingReady.
+ virtual void onRemoteRoutingReadyAttributeChanged() = 0;
+
+};
+
+
+/**
+ * Defines the interface that must be implemented by any class that should provide
+ * the service RoutingControlObserver to remote clients.
+ * This class and the one above are the ones an application developer needs to have
+ * a look at if he wants to implement a service.
+ */
+class RoutingControlObserverStub : public CommonAPI::Stub<RoutingControlObserverStubAdapter , RoutingControlObserverStubRemoteEvent> {
+ public:
+ virtual ~RoutingControlObserverStub() { }
+
+ /// Provides getter access to the attribute RoutingReady.
+ virtual const am_RoutingReady_e& getRoutingReadyAttribute() = 0;
+
+ /// This is the method that will be called on remote calls on the method ackConnect.
+ virtual void ackConnect(am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackDisconnect.
+ virtual void ackDisconnect(am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSetSinkVolumeChange.
+ virtual void ackSetSinkVolumeChange(am_Handle_s handle, am_volume_t volume, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSetSourceVolumeChange.
+ virtual void ackSetSourceVolumeChange(am_Handle_s handle, am_volume_t volume, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSetSourceState.
+ virtual void ackSetSourceState(am_Handle_s handle, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSetSinkSoundProperties.
+ virtual void ackSetSinkSoundProperties(am_Handle_s handle, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSetSinkSoundProperty.
+ virtual void ackSetSinkSoundProperty(am_Handle_s handle, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSetSourceSoundProperties.
+ virtual void ackSetSourceSoundProperties(am_Handle_s handle, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSetSourceSoundProperty.
+ virtual void ackSetSourceSoundProperty(am_Handle_s handle, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackCrossFading.
+ virtual void ackCrossFading(am_Handle_s handle, am_HotSink_e hotSink, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSourceVolumeTick.
+ virtual void ackSourceVolumeTick(am_Handle_s handle, am_sourceID_t sourceID, am_volume_t volume) = 0;
+ /// This is the method that will be called on remote calls on the method ackSinkVolumeTick.
+ virtual void ackSinkVolumeTick(am_Handle_s handle, am_sinkID_t sinkID, am_volume_t volume) = 0;
+ /// This is the method that will be called on remote calls on the method peekDomain.
+ virtual void peekDomain(std::string name, am_domainID_t& domainID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method registerDomain.
+ virtual void registerDomain(am_Domain_s domainData, std::string returnInterface, std::string returnPath, std::string returnBusname, am_domainID_t& domainID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method deregisterDomain.
+ virtual void deregisterDomain(am_domainID_t domainID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method registerGateway.
+ virtual void registerGateway(am_Gateway_s gatewayData, am_gatewayID_t& gatewayID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method deregisterGateway.
+ virtual void deregisterGateway(am_gatewayID_t gatewayID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method peekSink.
+ virtual void peekSink(std::string name, am_sinkID_t& sinkID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method registerSink.
+ virtual void registerSink(am_Sink_s sinkData, am_sinkID_t& sinkID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method deregisterSink.
+ virtual void deregisterSink(am_sinkID_t sinkID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method peekSource.
+ virtual void peekSource(std::string name, am_sourceID_t& sourceID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method registerSource.
+ virtual void registerSource(am_Source_s sourceData, am_sourceID_t& sourceID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method deregisterSource.
+ virtual void deregisterSource(am_sourceID_t sourceID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method registerCrossfader.
+ virtual void registerCrossfader(am_Crossfader_s crossfaderData, am_crossfaderID_t& crossfaderID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method deregisterCrossfader.
+ virtual void deregisterCrossfader(am_crossfaderID_t crossfaderID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method peekSourceClassID.
+ virtual void peekSourceClassID(std::string name, am_sourceClass_t& sourceClassID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method peekSinkClassID.
+ virtual void peekSinkClassID(std::string name, am_sinkClass_t& sinkClassID, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method hookInterruptStatusChange.
+ virtual void hookInterruptStatusChange(am_sourceID_t sourceID, am_InterruptState_e interruptState) = 0;
+ /// This is the method that will be called on remote calls on the method hookDomainRegistrationComplete.
+ virtual void hookDomainRegistrationComplete(am_domainID_t domainID) = 0;
+ /// This is the method that will be called on remote calls on the method hookSinkAvailablityStatusChange.
+ virtual void hookSinkAvailablityStatusChange(am_sinkID_t sinkID, am_Availability_s availability) = 0;
+ /// This is the method that will be called on remote calls on the method hookSourceAvailablityStatusChange.
+ virtual void hookSourceAvailablityStatusChange(am_sourceID_t sourceID, am_Availability_s availability) = 0;
+ /// This is the method that will be called on remote calls on the method hookDomainStateChange.
+ virtual void hookDomainStateChange(am_domainID_t domainID, am_DomainState_e domainState) = 0;
+ /// This is the method that will be called on remote calls on the method hookTimingInformationChanged.
+ virtual void hookTimingInformationChanged(am_connectionID_t connectionID, am_timeSync_t delay) = 0;
+ /// This is the method that will be called on remote calls on the method sendChangedData.
+ virtual void sendChangedData(am_EarlyData_L earlyData) = 0;
+ /// This is the method that will be called on remote calls on the method updateGateway.
+ virtual void updateGateway(am_gatewayID_t gatewayID, am_ConnectionFormat_L listSourceFormats, am_ConnectionFormat_L listSinkFormats, am_Convertion_L convertionMatrix, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method updateSink.
+ virtual void updateSink(am_sinkID_t sinkID, am_sinkClass_t sinkClassID, am_SoundProperty_L listSoundProperties, am_ConnectionFormat_L listConnectionFormats, am_MainSoundProperty_L listMainSoundProperties, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method updateSource.
+ virtual void updateSource(am_sourceID_t sourceID, am_sourceClass_t sourceClassID, am_SoundProperty_L listSoundProperties, am_ConnectionFormat_L listConnectionFormats, am_MainSoundProperty_L listMainSoundProperties, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSetVolumes.
+ virtual void ackSetVolumes(am_Handle_s handle, am_Volumes_L listvolumes, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSinkNotificationConfiguration.
+ virtual void ackSinkNotificationConfiguration(am_Handle_s handle, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method ackSourceNotificationConfiguration.
+ virtual void ackSourceNotificationConfiguration(am_Handle_s handle, am_Error_e error) = 0;
+ /// This is the method that will be called on remote calls on the method hookSinkNotificationDataChange.
+ virtual void hookSinkNotificationDataChange(am_sinkID_t sinkID, am_NotificationPayload_s payload) = 0;
+ /// This is the method that will be called on remote calls on the method hookSourceNotificationDataChange.
+ virtual void hookSourceNotificationDataChange(am_sourceID_t sourceID, am_NotificationPayload_s payload) = 0;
+ /// This is the method that will be called on remote calls on the method confirmRoutingRundown.
+ virtual void confirmRoutingRundown(std::string domainName) = 0;
+
+};
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+#endif // ORG_GENIVI_AM_Routing_Control_Observer_STUB_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.cpp
new file mode 100644
index 0000000..2483387
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.cpp
@@ -0,0 +1,239 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#include <org/genivi/am/RoutingControlObserverStubDefault.h>
+
+namespace org {
+namespace genivi {
+namespace am {
+
+RoutingControlObserverStubDefault::RoutingControlObserverStubDefault():
+ remoteEventHandler_(this) {
+}
+
+RoutingControlObserverStubRemoteEvent* RoutingControlObserverStubDefault::initStubAdapter(const std::shared_ptr<RoutingControlObserverStubAdapter>& stubAdapter) {
+ stubAdapter_ = stubAdapter;
+ return &remoteEventHandler_;
+}
+
+const am_RoutingReady_e& RoutingControlObserverStubDefault::getRoutingReadyAttribute() {
+ return routingReadyAttributeValue_;
+}
+
+void RoutingControlObserverStubDefault::setRoutingReadyAttribute(am_RoutingReady_e value) {
+ const bool valueChanged = trySetRoutingReadyAttribute(std::move(value));
+ if (valueChanged)
+ stubAdapter_->fireRoutingReadyAttributeChanged(routingReadyAttributeValue_);
+}
+
+void RoutingControlObserverStubDefault::onRemoteRoutingReadyAttributeChanged() {
+ // No operation in default
+}
+
+bool RoutingControlObserverStubDefault::trySetRoutingReadyAttribute(am_RoutingReady_e value) {
+ if (!validateRoutingReadyAttributeRequestedValue(value))
+ return false;
+
+ const bool valueChanged = (routingReadyAttributeValue_ != value);
+ routingReadyAttributeValue_ = std::move(value);
+ return valueChanged;
+}
+
+bool RoutingControlObserverStubDefault::validateRoutingReadyAttributeRequestedValue(const am_RoutingReady_e& value) {
+ return true;
+}
+
+bool RoutingControlObserverStubDefault::RemoteEventHandler::onRemoteSetRoutingReadyAttribute(am_RoutingReady_e value) {
+ return defaultStub_->trySetRoutingReadyAttribute(std::move(value));
+}
+
+void RoutingControlObserverStubDefault::RemoteEventHandler::onRemoteRoutingReadyAttributeChanged() {
+ defaultStub_->onRemoteRoutingReadyAttributeChanged();
+}
+
+
+void RoutingControlObserverStubDefault::ackConnect(am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackDisconnect(am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSetSinkVolumeChange(am_Handle_s handle, am_volume_t volume, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSetSourceVolumeChange(am_Handle_s handle, am_volume_t volume, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSetSourceState(am_Handle_s handle, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSetSinkSoundProperties(am_Handle_s handle, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSetSinkSoundProperty(am_Handle_s handle, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSetSourceSoundProperties(am_Handle_s handle, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSetSourceSoundProperty(am_Handle_s handle, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackCrossFading(am_Handle_s handle, am_HotSink_e hotSink, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSourceVolumeTick(am_Handle_s handle, am_sourceID_t sourceID, am_volume_t volume) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSinkVolumeTick(am_Handle_s handle, am_sinkID_t sinkID, am_volume_t volume) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::peekDomain(std::string name, am_domainID_t& domainID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::registerDomain(am_Domain_s domainData, std::string returnInterface, std::string returnPath, std::string returnBusname, am_domainID_t& domainID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::deregisterDomain(am_domainID_t domainID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::registerGateway(am_Gateway_s gatewayData, am_gatewayID_t& gatewayID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::deregisterGateway(am_gatewayID_t gatewayID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::peekSink(std::string name, am_sinkID_t& sinkID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::registerSink(am_Sink_s sinkData, am_sinkID_t& sinkID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::deregisterSink(am_sinkID_t sinkID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::peekSource(std::string name, am_sourceID_t& sourceID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::registerSource(am_Source_s sourceData, am_sourceID_t& sourceID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::deregisterSource(am_sourceID_t sourceID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::registerCrossfader(am_Crossfader_s crossfaderData, am_crossfaderID_t& crossfaderID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::deregisterCrossfader(am_crossfaderID_t crossfaderID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::peekSourceClassID(std::string name, am_sourceClass_t& sourceClassID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::peekSinkClassID(std::string name, am_sinkClass_t& sinkClassID, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::hookInterruptStatusChange(am_sourceID_t sourceID, am_InterruptState_e interruptState) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::hookDomainRegistrationComplete(am_domainID_t domainID) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::hookSinkAvailablityStatusChange(am_sinkID_t sinkID, am_Availability_s availability) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::hookSourceAvailablityStatusChange(am_sourceID_t sourceID, am_Availability_s availability) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::hookDomainStateChange(am_domainID_t domainID, am_DomainState_e domainState) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::hookTimingInformationChanged(am_connectionID_t connectionID, am_timeSync_t delay) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::sendChangedData(am_EarlyData_L earlyData) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::updateGateway(am_gatewayID_t gatewayID, am_ConnectionFormat_L listSourceFormats, am_ConnectionFormat_L listSinkFormats, am_Convertion_L convertionMatrix, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::updateSink(am_sinkID_t sinkID, am_sinkClass_t sinkClassID, am_SoundProperty_L listSoundProperties, am_ConnectionFormat_L listConnectionFormats, am_MainSoundProperty_L listMainSoundProperties, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::updateSource(am_sourceID_t sourceID, am_sourceClass_t sourceClassID, am_SoundProperty_L listSoundProperties, am_ConnectionFormat_L listConnectionFormats, am_MainSoundProperty_L listMainSoundProperties, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSetVolumes(am_Handle_s handle, am_Volumes_L listvolumes, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSinkNotificationConfiguration(am_Handle_s handle, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::ackSourceNotificationConfiguration(am_Handle_s handle, am_Error_e error) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::hookSinkNotificationDataChange(am_sinkID_t sinkID, am_NotificationPayload_s payload) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::hookSourceNotificationDataChange(am_sourceID_t sourceID, am_NotificationPayload_s payload) {
+ // No operation in default
+}
+
+void RoutingControlObserverStubDefault::confirmRoutingRundown(std::string domainName) {
+ // No operation in default
+}
+
+
+
+RoutingControlObserverStubDefault::RemoteEventHandler::RemoteEventHandler(RoutingControlObserverStubDefault* defaultStub):
+ defaultStub_(defaultStub) {
+}
+
+} // namespace am
+} // namespace genivi
+} // namespace org
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h
new file mode 100644
index 0000000..5ff81d0
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlObserverStubDefault.h
@@ -0,0 +1,154 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_Observer_STUB_DEFAULT_H_
+#define ORG_GENIVI_AM_Routing_Control_Observer_STUB_DEFAULT_H_
+
+#include <org/genivi/am/RoutingControlObserverStub.h>
+
+namespace org {
+namespace genivi {
+namespace am {
+
+/**
+ * Provides a default implementation for RoutingControlObserverStubRemoteEvent and
+ * RoutingControlObserverStub. Method callbacks have an empty implementation,
+ * remote set calls on attributes will always change the value of the attribute
+ * to the one received.
+ *
+ * Override this stub if you only want to provide a subset of the functionality
+ * that would be defined for this service, and/or if you do not need any non-default
+ * behaviour.
+ */
+class RoutingControlObserverStubDefault : public RoutingControlObserverStub {
+ public:
+ RoutingControlObserverStubDefault();
+
+ RoutingControlObserverStubRemoteEvent* initStubAdapter(const std::shared_ptr<RoutingControlObserverStubAdapter>& stubAdapter);
+
+ virtual const am_RoutingReady_e& getRoutingReadyAttribute();
+ virtual void setRoutingReadyAttribute(am_RoutingReady_e value);
+
+
+ virtual void ackConnect(am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error);
+
+ virtual void ackDisconnect(am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error);
+
+ virtual void ackSetSinkVolumeChange(am_Handle_s handle, am_volume_t volume, am_Error_e error);
+
+ virtual void ackSetSourceVolumeChange(am_Handle_s handle, am_volume_t volume, am_Error_e error);
+
+ virtual void ackSetSourceState(am_Handle_s handle, am_Error_e error);
+
+ virtual void ackSetSinkSoundProperties(am_Handle_s handle, am_Error_e error);
+
+ virtual void ackSetSinkSoundProperty(am_Handle_s handle, am_Error_e error);
+
+ virtual void ackSetSourceSoundProperties(am_Handle_s handle, am_Error_e error);
+
+ virtual void ackSetSourceSoundProperty(am_Handle_s handle, am_Error_e error);
+
+ virtual void ackCrossFading(am_Handle_s handle, am_HotSink_e hotSink, am_Error_e error);
+
+ virtual void ackSourceVolumeTick(am_Handle_s handle, am_sourceID_t sourceID, am_volume_t volume);
+
+ virtual void ackSinkVolumeTick(am_Handle_s handle, am_sinkID_t sinkID, am_volume_t volume);
+
+ virtual void peekDomain(std::string name, am_domainID_t& domainID, am_Error_e& error);
+
+ virtual void registerDomain(am_Domain_s domainData, std::string returnInterface, std::string returnPath, std::string returnBusname, am_domainID_t& domainID, am_Error_e& error);
+
+ virtual void deregisterDomain(am_domainID_t domainID, am_Error_e& error);
+
+ virtual void registerGateway(am_Gateway_s gatewayData, am_gatewayID_t& gatewayID, am_Error_e& error);
+
+ virtual void deregisterGateway(am_gatewayID_t gatewayID, am_Error_e& error);
+
+ virtual void peekSink(std::string name, am_sinkID_t& sinkID, am_Error_e& error);
+
+ virtual void registerSink(am_Sink_s sinkData, am_sinkID_t& sinkID, am_Error_e& error);
+
+ virtual void deregisterSink(am_sinkID_t sinkID, am_Error_e& error);
+
+ virtual void peekSource(std::string name, am_sourceID_t& sourceID, am_Error_e& error);
+
+ virtual void registerSource(am_Source_s sourceData, am_sourceID_t& sourceID, am_Error_e& error);
+
+ virtual void deregisterSource(am_sourceID_t sourceID, am_Error_e& error);
+
+ virtual void registerCrossfader(am_Crossfader_s crossfaderData, am_crossfaderID_t& crossfaderID, am_Error_e& error);
+
+ virtual void deregisterCrossfader(am_crossfaderID_t crossfaderID, am_Error_e& error);
+
+ virtual void peekSourceClassID(std::string name, am_sourceClass_t& sourceClassID, am_Error_e& error);
+
+ virtual void peekSinkClassID(std::string name, am_sinkClass_t& sinkClassID, am_Error_e& error);
+
+ virtual void hookInterruptStatusChange(am_sourceID_t sourceID, am_InterruptState_e interruptState);
+
+ virtual void hookDomainRegistrationComplete(am_domainID_t domainID);
+
+ virtual void hookSinkAvailablityStatusChange(am_sinkID_t sinkID, am_Availability_s availability);
+
+ virtual void hookSourceAvailablityStatusChange(am_sourceID_t sourceID, am_Availability_s availability);
+
+ virtual void hookDomainStateChange(am_domainID_t domainID, am_DomainState_e domainState);
+
+ virtual void hookTimingInformationChanged(am_connectionID_t connectionID, am_timeSync_t delay);
+
+ virtual void sendChangedData(am_EarlyData_L earlyData);
+
+ virtual void updateGateway(am_gatewayID_t gatewayID, am_ConnectionFormat_L listSourceFormats, am_ConnectionFormat_L listSinkFormats, am_Convertion_L convertionMatrix, am_Error_e& error);
+
+ virtual void updateSink(am_sinkID_t sinkID, am_sinkClass_t sinkClassID, am_SoundProperty_L listSoundProperties, am_ConnectionFormat_L listConnectionFormats, am_MainSoundProperty_L listMainSoundProperties, am_Error_e& error);
+
+ virtual void updateSource(am_sourceID_t sourceID, am_sourceClass_t sourceClassID, am_SoundProperty_L listSoundProperties, am_ConnectionFormat_L listConnectionFormats, am_MainSoundProperty_L listMainSoundProperties, am_Error_e& error);
+
+ virtual void ackSetVolumes(am_Handle_s handle, am_Volumes_L listvolumes, am_Error_e error);
+
+ virtual void ackSinkNotificationConfiguration(am_Handle_s handle, am_Error_e error);
+
+ virtual void ackSourceNotificationConfiguration(am_Handle_s handle, am_Error_e error);
+
+ virtual void hookSinkNotificationDataChange(am_sinkID_t sinkID, am_NotificationPayload_s payload);
+
+ virtual void hookSourceNotificationDataChange(am_sourceID_t sourceID, am_NotificationPayload_s payload);
+
+ virtual void confirmRoutingRundown(std::string domainName);
+
+
+
+ protected:
+ virtual void onRemoteRoutingReadyAttributeChanged();
+ virtual bool trySetRoutingReadyAttribute(am_RoutingReady_e value);
+ virtual bool validateRoutingReadyAttributeRequestedValue(const am_RoutingReady_e& value);
+
+
+ private:
+ class RemoteEventHandler: public RoutingControlObserverStubRemoteEvent {
+ public:
+ RemoteEventHandler(RoutingControlObserverStubDefault* defaultStub);
+
+ virtual bool onRemoteSetRoutingReadyAttribute(am_RoutingReady_e value);
+ virtual void onRemoteRoutingReadyAttributeChanged();
+
+
+ private:
+ RoutingControlObserverStubDefault* defaultStub_;
+ };
+
+ RemoteEventHandler remoteEventHandler_;
+ std::shared_ptr<RoutingControlObserverStubAdapter> stubAdapter_;
+
+ am_RoutingReady_e routingReadyAttributeValue_;
+};
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+#endif // ORG_GENIVI_AM_Routing_Control_Observer_STUB_DEFAULT_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderProxy.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlProxy.h
index b58f31a..817567f 100644
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingSenderProxy.h
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlProxy.h
@@ -1,25 +1,14 @@
/*
* This file was generated by the CommonAPI Generators.
*
- * Copyright (c) 2012 BMW
+ * Copyright (C) 2013, BMW AG
*
- * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
- *
- * \copyright
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * For further information see http://www.genivi.org/.
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
*/
-#ifndef ORG_GENIVI_AUDIOMANAGER_Routing_Sender_PROXY_H_
-#define ORG_GENIVI_AUDIOMANAGER_Routing_Sender_PROXY_H_
+#ifndef ORG_GENIVI_AM_Routing_Control_PROXY_H_
+#define ORG_GENIVI_AM_Routing_Control_PROXY_H_
-#include "RoutingSenderProxyBase.h"
+#include "RoutingControlProxyBase.h"
#define COMMONAPI_INTERNAL_COMPILATION
@@ -28,19 +17,19 @@
namespace org {
namespace genivi {
-namespace audiomanager {
+namespace am {
template <typename ... _AttributeExtensions>
-class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSenderProxyBase, public _AttributeExtensions... {
+class RoutingControlProxy: virtual public RoutingControl, virtual public RoutingControlProxyBase, public _AttributeExtensions... {
public:
- RoutingSenderProxy(std::shared_ptr<CommonAPI::Proxy> delegate);
- ~RoutingSenderProxy();
+ RoutingControlProxy(std::shared_ptr<CommonAPI::Proxy> delegate);
+ ~RoutingControlProxy();
/**
- * Calls asyncSetSourceState with synchronous semantics.
+ * Calls asyncAbort with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -48,9 +37,9 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetSourceState(const uint16_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SourceState_e& sourceState, CommonAPI::CallStatus& callStatus);
+ virtual void asyncAbort(const am_Handle_s& handle, CommonAPI::CallStatus& callStatus);
/**
- * Calls asyncSetSourceState with asynchronous semantics.
+ * Calls asyncAbort with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -59,21 +48,20 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetSourceStateAsync(const uint16_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SourceState_e& sourceState, AsyncSetSourceStateAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncAbortAsync(const am_Handle_s& handle, AsyncAbortAsyncCallback callback);
/**
- * Calls setDomainState with synchronous semantics.
+ * Calls asyncConnect with synchronous semantics.
*
* All const parameters are input parameters to this method.
- * All non-const parameters will be filled with the returned values.
* The CallStatus will be filled when the method returns and indicate either
* "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void setDomainState(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& error);
+ virtual void asyncConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, CommonAPI::CallStatus& callStatus);
/**
- * Calls setDomainState with asynchronous semantics.
+ * Calls asyncConnect with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -82,10 +70,10 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> setDomainStateAsync(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, SetDomainStateAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, AsyncConnectAsyncCallback callback);
/**
- * Calls asyncSetSourceVolume with synchronous semantics.
+ * Calls asyncDisconnect with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -93,9 +81,9 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetSourceVolume(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_volume_t& volume, const am_gen::am_RampType_e& ramp, const am_gen::am_time_t& time, CommonAPI::CallStatus& callStatus);
+ virtual void asyncDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, CommonAPI::CallStatus& callStatus);
/**
- * Calls asyncSetSourceVolume with asynchronous semantics.
+ * Calls asyncDisconnect with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -104,7 +92,7 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetSourceVolumeAsync(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_volume_t& volume, const am_gen::am_RampType_e& ramp, const am_gen::am_time_t& time, AsyncSetSourceVolumeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, AsyncDisconnectAsyncCallback callback);
/**
* Calls asyncSetSinkVolume with synchronous semantics.
@@ -115,7 +103,7 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetSinkVolume(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_volume_t& volume, const am_gen::am_RampType_e& ramp, const am_gen::am_time_t& time, CommonAPI::CallStatus& callStatus);
+ virtual void asyncSetSinkVolume(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus);
/**
* Calls asyncSetSinkVolume with asynchronous semantics.
*
@@ -126,10 +114,10 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetSinkVolumeAsync(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_volume_t& volume, const am_gen::am_RampType_e& ramp, const am_gen::am_time_t& time, AsyncSetSinkVolumeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkVolumeAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSinkVolumeAsyncCallback callback);
/**
- * Calls asyncConnect with synchronous semantics.
+ * Calls asyncSetSourceVolume with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -137,9 +125,9 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncConnect(const am_gen::am_handle_t& handle, const am_gen::am_connectionID_t& connectionID, const am_gen::am_sourceID_t& sourceID, const am_gen::am_sinkID_t& sinkID, const am_gen::am_ConnectionFormat_e& connectionFormat, CommonAPI::CallStatus& callStatus);
+ virtual void asyncSetSourceVolume(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus);
/**
- * Calls asyncConnect with asynchronous semantics.
+ * Calls asyncSetSourceVolume with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -148,10 +136,10 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncConnectAsync(const am_gen::am_handle_t& handle, const am_gen::am_connectionID_t& connectionID, const am_gen::am_sourceID_t& sourceID, const am_gen::am_sinkID_t& sinkID, const am_gen::am_ConnectionFormat_e& connectionFormat, AsyncConnectAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceVolumeAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSourceVolumeAsyncCallback callback);
/**
- * Calls asyncDisconnect with synchronous semantics.
+ * Calls asyncSetSourceState with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -159,9 +147,9 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncDisconnect(const am_gen::am_handle_t& handle, const am_gen::am_connectionID_t& connectionID, CommonAPI::CallStatus& callStatus);
+ virtual void asyncSetSourceState(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, CommonAPI::CallStatus& callStatus);
/**
- * Calls asyncDisconnect with asynchronous semantics.
+ * Calls asyncSetSourceState with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -170,21 +158,20 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncDisconnectAsync(const am_gen::am_handle_t& handle, const am_gen::am_connectionID_t& connectionID, AsyncDisconnectAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceStateAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, AsyncSetSourceStateAsyncCallback callback);
/**
- * Calls asyncAbort with synchronous semantics.
+ * Calls asyncSetSinkSoundProperties with synchronous semantics.
*
* All const parameters are input parameters to this method.
- * All non-const parameters will be filled with the returned values.
* The CallStatus will be filled when the method returns and indicate either
* "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncAbort(const am_gen::am_handle_t& handle, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& error);
+ virtual void asyncSetSinkSoundProperties(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus);
/**
- * Calls asyncAbort with asynchronous semantics.
+ * Calls asyncSetSinkSoundProperties with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -193,10 +180,10 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncAbortAsync(const am_gen::am_handle_t& handle, AsyncAbortAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, AsyncSetSinkSoundPropertiesAsyncCallback callback);
/**
- * Calls asyncSetSinkSoundProperties with synchronous semantics.
+ * Calls asyncSetSinkSoundProperty with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -204,9 +191,9 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetSinkSoundProperties(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus);
+ virtual void asyncSetSinkSoundProperty(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus);
/**
- * Calls asyncSetSinkSoundProperties with asynchronous semantics.
+ * Calls asyncSetSinkSoundProperty with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -215,10 +202,10 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetSinkSoundPropertiesAsync(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_SoundProperty_L& listSoundProperties, AsyncSetSinkSoundPropertiesAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, AsyncSetSinkSoundPropertyAsyncCallback callback);
/**
- * Calls asyncSetSinkSoundProperty with synchronous semantics.
+ * Calls asyncSetSourceSoundProperties with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -226,9 +213,9 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetSinkSoundProperty(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus);
+ virtual void asyncSetSourceSoundProperties(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus);
/**
- * Calls asyncSetSinkSoundProperty with asynchronous semantics.
+ * Calls asyncSetSourceSoundProperties with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -237,10 +224,10 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetSinkSoundPropertyAsync(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_SoundProperty_s& soundProperty, AsyncSetSinkSoundPropertyAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, AsyncSetSourceSoundPropertiesAsyncCallback callback);
/**
- * Calls asyncSetSourceSoundProperties with synchronous semantics.
+ * Calls asyncSetSourceSoundProperty with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -248,9 +235,9 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetSourceSoundProperties(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus);
+ virtual void asyncSetSourceSoundProperty(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus);
/**
- * Calls asyncSetSourceSoundProperties with asynchronous semantics.
+ * Calls asyncSetSourceSoundProperty with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -259,10 +246,10 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetSourceSoundPropertiesAsync(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SoundProperty_L& listSoundProperties, AsyncSetSourceSoundPropertiesAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, AsyncSetSourceSoundPropertyAsyncCallback callback);
/**
- * Calls asyncSetSourceSoundProperty with synchronous semantics.
+ * Calls asyncCrossFade with synchronous semantics.
*
* All const parameters are input parameters to this method.
* The CallStatus will be filled when the method returns and indicate either
@@ -270,9 +257,9 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetSourceSoundProperty(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus);
+ virtual void asyncCrossFade(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, CommonAPI::CallStatus& callStatus);
/**
- * Calls asyncSetSourceSoundProperty with asynchronous semantics.
+ * Calls asyncCrossFade with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -281,20 +268,21 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetSourceSoundPropertyAsync(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SoundProperty_s& soundProperty, AsyncSetSourceSoundPropertyAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncCrossFadeAsync(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, AsyncCrossFadeAsyncCallback callback);
/**
- * Calls asyncCrossFade with synchronous semantics.
+ * Calls setDomainState with synchronous semantics.
*
* All const parameters are input parameters to this method.
+ * All non-const parameters will be filled with the returned values.
* The CallStatus will be filled when the method returns and indicate either
* "SUCCESS" or which type of error has occurred. In case of an error, ONLY the CallStatus
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncCrossFade(const am_gen::am_handle_t& handle, const am_gen::am_crossfaderID_t& crossfaderID, const am_gen::am_HotSink_e& hotSink, const am_gen::am_RampType_e& rampType, const am_gen::am_time_t& time, CommonAPI::CallStatus& callStatus);
+ virtual void setDomainState(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus, am_Error_e& error);
/**
- * Calls asyncCrossFade with asynchronous semantics.
+ * Calls setDomainState with asynchronous semantics.
*
* The provided callback will be called when the reply to this call arrives or
* an error occurs during the call. The CallStatus will indicate either "SUCCESS"
@@ -303,7 +291,7 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncCrossFadeAsync(const am_gen::am_handle_t& handle, const am_gen::am_crossfaderID_t& crossfaderID, const am_gen::am_HotSink_e& hotSink, const am_gen::am_RampType_e& rampType, const am_gen::am_time_t& time, AsyncCrossFadeAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> setDomainStateAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, SetDomainStateAsyncCallback callback);
/**
* Calls asyncSetVolumes with synchronous semantics.
@@ -314,7 +302,7 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetVolumes(const am_gen::am_handle_t& handle, const am_gen::am_Volumes_l& volumes, CommonAPI::CallStatus& callStatus);
+ virtual void asyncSetVolumes(const am_Handle_s& handle, const am_Volumes_L& volumes, CommonAPI::CallStatus& callStatus);
/**
* Calls asyncSetVolumes with asynchronous semantics.
*
@@ -325,7 +313,7 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetVolumesAsync(const am_gen::am_handle_t& handle, const am_gen::am_Volumes_l& volumes, AsyncSetVolumesAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& volumes, AsyncSetVolumesAsyncCallback callback);
/**
* Calls asyncSetSinkNotificationConfiguration with synchronous semantics.
@@ -336,7 +324,7 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetSinkNotificationConfiguration(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus);
+ virtual void asyncSetSinkNotificationConfiguration(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus);
/**
* Calls asyncSetSinkNotificationConfiguration with asynchronous semantics.
*
@@ -347,7 +335,7 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetSinkNotificationConfigurationAsync(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSinkNotificationConfigurationAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSinkNotificationConfigurationAsyncCallback callback);
/**
* Calls asyncSetSourceNotificationConfiguration with synchronous semantics.
@@ -358,7 +346,7 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* will be set.
* Synchronous calls are not supported (will block indefinitely) when mainloop integration is used.
*/
- virtual void asyncSetSourceNotificationConfiguration(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus);
+ virtual void asyncSetSourceNotificationConfiguration(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus);
/**
* Calls asyncSetSourceNotificationConfiguration with asynchronous semantics.
*
@@ -369,7 +357,7 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
* The std::future returned by this method will be fulfilled at arrival of the reply.
* It will provide the same value for CallStatus as will be handed to the callback.
*/
- virtual std::future<CommonAPI::CallStatus> asyncSetSourceNotificationConfigurationAsync(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSourceNotificationConfigurationAsyncCallback callback);
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSourceNotificationConfigurationAsyncCallback callback);
/// Returns the CommonAPI address of the remote partner this proxy communicates with.
virtual std::string getAddress() const;
@@ -399,213 +387,213 @@ class RoutingSenderProxy: virtual public RoutingSender, virtual public RoutingSe
virtual CommonAPI::InterfaceVersionAttribute& getInterfaceVersionAttribute();
private:
- std::shared_ptr<RoutingSenderProxyBase> delegate_;
+ std::shared_ptr<RoutingControlProxyBase> delegate_;
};
//
-// RoutingSenderProxy Implementation
+// RoutingControlProxy Implementation
//
template <typename ... _AttributeExtensions>
-RoutingSenderProxy<_AttributeExtensions...>::RoutingSenderProxy(std::shared_ptr<CommonAPI::Proxy> delegate):
- delegate_(std::dynamic_pointer_cast<RoutingSenderProxyBase>(delegate)),
- _AttributeExtensions(*(std::dynamic_pointer_cast<RoutingSenderProxyBase>(delegate)))... {
+RoutingControlProxy<_AttributeExtensions...>::RoutingControlProxy(std::shared_ptr<CommonAPI::Proxy> delegate):
+ delegate_(std::dynamic_pointer_cast<RoutingControlProxyBase>(delegate)),
+ _AttributeExtensions(*(std::dynamic_pointer_cast<RoutingControlProxyBase>(delegate)))... {
}
template <typename ... _AttributeExtensions>
-RoutingSenderProxy<_AttributeExtensions...>::~RoutingSenderProxy() {
+RoutingControlProxy<_AttributeExtensions...>::~RoutingControlProxy() {
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceState(const uint16_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SourceState_e& sourceState, CommonAPI::CallStatus& callStatus) {
- delegate_->asyncSetSourceState(handle, sourceID, sourceState, callStatus);
+void RoutingControlProxy<_AttributeExtensions...>::asyncAbort(const am_Handle_s& handle, CommonAPI::CallStatus& callStatus) {
+ delegate_->asyncAbort(handle, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceStateAsync(const uint16_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SourceState_e& sourceState, AsyncSetSourceStateAsyncCallback callback) {
- return delegate_->asyncSetSourceStateAsync(handle, sourceID, sourceState, callback);
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncAbortAsync(const am_Handle_s& handle, AsyncAbortAsyncCallback callback) {
+ return delegate_->asyncAbortAsync(handle, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::setDomainState(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& error) {
- delegate_->setDomainState(domainID, domainState, callStatus, error);
+void RoutingControlProxy<_AttributeExtensions...>::asyncConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, CommonAPI::CallStatus& callStatus) {
+ delegate_->asyncConnect(handle, connectionID, sourceID, sinkID, connectionFormat, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::setDomainStateAsync(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, SetDomainStateAsyncCallback callback) {
- return delegate_->setDomainStateAsync(domainID, domainState, callback);
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, AsyncConnectAsyncCallback callback) {
+ return delegate_->asyncConnectAsync(handle, connectionID, sourceID, sinkID, connectionFormat, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceVolume(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_volume_t& volume, const am_gen::am_RampType_e& ramp, const am_gen::am_time_t& time, CommonAPI::CallStatus& callStatus) {
- delegate_->asyncSetSourceVolume(handle, sourceID, volume, ramp, time, callStatus);
+void RoutingControlProxy<_AttributeExtensions...>::asyncDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, CommonAPI::CallStatus& callStatus) {
+ delegate_->asyncDisconnect(handle, connectionID, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceVolumeAsync(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_volume_t& volume, const am_gen::am_RampType_e& ramp, const am_gen::am_time_t& time, AsyncSetSourceVolumeAsyncCallback callback) {
- return delegate_->asyncSetSourceVolumeAsync(handle, sourceID, volume, ramp, time, callback);
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, AsyncDisconnectAsyncCallback callback) {
+ return delegate_->asyncDisconnectAsync(handle, connectionID, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetSinkVolume(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_volume_t& volume, const am_gen::am_RampType_e& ramp, const am_gen::am_time_t& time, CommonAPI::CallStatus& callStatus) {
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetSinkVolume(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus) {
delegate_->asyncSetSinkVolume(handle, sinkID, volume, ramp, time, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetSinkVolumeAsync(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_volume_t& volume, const am_gen::am_RampType_e& ramp, const am_gen::am_time_t& time, AsyncSetSinkVolumeAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetSinkVolumeAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSinkVolumeAsyncCallback callback) {
return delegate_->asyncSetSinkVolumeAsync(handle, sinkID, volume, ramp, time, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncConnect(const am_gen::am_handle_t& handle, const am_gen::am_connectionID_t& connectionID, const am_gen::am_sourceID_t& sourceID, const am_gen::am_sinkID_t& sinkID, const am_gen::am_ConnectionFormat_e& connectionFormat, CommonAPI::CallStatus& callStatus) {
- delegate_->asyncConnect(handle, connectionID, sourceID, sinkID, connectionFormat, callStatus);
-}
-
-template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncConnectAsync(const am_gen::am_handle_t& handle, const am_gen::am_connectionID_t& connectionID, const am_gen::am_sourceID_t& sourceID, const am_gen::am_sinkID_t& sinkID, const am_gen::am_ConnectionFormat_e& connectionFormat, AsyncConnectAsyncCallback callback) {
- return delegate_->asyncConnectAsync(handle, connectionID, sourceID, sinkID, connectionFormat, callback);
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceVolume(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus) {
+ delegate_->asyncSetSourceVolume(handle, sourceID, volume, ramp, time, callStatus);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncDisconnect(const am_gen::am_handle_t& handle, const am_gen::am_connectionID_t& connectionID, CommonAPI::CallStatus& callStatus) {
- delegate_->asyncDisconnect(handle, connectionID, callStatus);
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceVolumeAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSourceVolumeAsyncCallback callback) {
+ return delegate_->asyncSetSourceVolumeAsync(handle, sourceID, volume, ramp, time, callback);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncDisconnectAsync(const am_gen::am_handle_t& handle, const am_gen::am_connectionID_t& connectionID, AsyncDisconnectAsyncCallback callback) {
- return delegate_->asyncDisconnectAsync(handle, connectionID, callback);
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceState(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, CommonAPI::CallStatus& callStatus) {
+ delegate_->asyncSetSourceState(handle, sourceID, state, callStatus);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncAbort(const am_gen::am_handle_t& handle, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& error) {
- delegate_->asyncAbort(handle, callStatus, error);
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceStateAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, AsyncSetSourceStateAsyncCallback callback) {
+ return delegate_->asyncSetSourceStateAsync(handle, sourceID, state, callback);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncAbortAsync(const am_gen::am_handle_t& handle, AsyncAbortAsyncCallback callback) {
- return delegate_->asyncAbortAsync(handle, callback);
-}
-
-template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetSinkSoundProperties(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) {
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetSinkSoundProperties(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) {
delegate_->asyncSetSinkSoundProperties(handle, sinkID, listSoundProperties, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetSinkSoundPropertiesAsync(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_SoundProperty_L& listSoundProperties, AsyncSetSinkSoundPropertiesAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, AsyncSetSinkSoundPropertiesAsyncCallback callback) {
return delegate_->asyncSetSinkSoundPropertiesAsync(handle, sinkID, listSoundProperties, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetSinkSoundProperty(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) {
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetSinkSoundProperty(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) {
delegate_->asyncSetSinkSoundProperty(handle, sinkID, soundProperty, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetSinkSoundPropertyAsync(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_SoundProperty_s& soundProperty, AsyncSetSinkSoundPropertyAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, AsyncSetSinkSoundPropertyAsyncCallback callback) {
return delegate_->asyncSetSinkSoundPropertyAsync(handle, sinkID, soundProperty, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceSoundProperties(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) {
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceSoundProperties(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) {
delegate_->asyncSetSourceSoundProperties(handle, sourceID, listSoundProperties, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceSoundPropertiesAsync(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SoundProperty_L& listSoundProperties, AsyncSetSourceSoundPropertiesAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, AsyncSetSourceSoundPropertiesAsyncCallback callback) {
return delegate_->asyncSetSourceSoundPropertiesAsync(handle, sourceID, listSoundProperties, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceSoundProperty(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) {
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceSoundProperty(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) {
delegate_->asyncSetSourceSoundProperty(handle, sourceID, soundProperty, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceSoundPropertyAsync(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_SoundProperty_s& soundProperty, AsyncSetSourceSoundPropertyAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, AsyncSetSourceSoundPropertyAsyncCallback callback) {
return delegate_->asyncSetSourceSoundPropertyAsync(handle, sourceID, soundProperty, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncCrossFade(const am_gen::am_handle_t& handle, const am_gen::am_crossfaderID_t& crossfaderID, const am_gen::am_HotSink_e& hotSink, const am_gen::am_RampType_e& rampType, const am_gen::am_time_t& time, CommonAPI::CallStatus& callStatus) {
+void RoutingControlProxy<_AttributeExtensions...>::asyncCrossFade(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, CommonAPI::CallStatus& callStatus) {
delegate_->asyncCrossFade(handle, crossfaderID, hotSink, rampType, time, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncCrossFadeAsync(const am_gen::am_handle_t& handle, const am_gen::am_crossfaderID_t& crossfaderID, const am_gen::am_HotSink_e& hotSink, const am_gen::am_RampType_e& rampType, const am_gen::am_time_t& time, AsyncCrossFadeAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncCrossFadeAsync(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, AsyncCrossFadeAsyncCallback callback) {
return delegate_->asyncCrossFadeAsync(handle, crossfaderID, hotSink, rampType, time, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetVolumes(const am_gen::am_handle_t& handle, const am_gen::am_Volumes_l& volumes, CommonAPI::CallStatus& callStatus) {
+void RoutingControlProxy<_AttributeExtensions...>::setDomainState(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
+ delegate_->setDomainState(domainID, domainState, callStatus, error);
+}
+
+template <typename ... _AttributeExtensions>
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::setDomainStateAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, SetDomainStateAsyncCallback callback) {
+ return delegate_->setDomainStateAsync(domainID, domainState, callback);
+}
+
+template <typename ... _AttributeExtensions>
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetVolumes(const am_Handle_s& handle, const am_Volumes_L& volumes, CommonAPI::CallStatus& callStatus) {
delegate_->asyncSetVolumes(handle, volumes, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetVolumesAsync(const am_gen::am_handle_t& handle, const am_gen::am_Volumes_l& volumes, AsyncSetVolumesAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& volumes, AsyncSetVolumesAsyncCallback callback) {
return delegate_->asyncSetVolumesAsync(handle, volumes, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetSinkNotificationConfiguration(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) {
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetSinkNotificationConfiguration(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) {
delegate_->asyncSetSinkNotificationConfiguration(handle, sinkID, notificationConfiguration, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetSinkNotificationConfigurationAsync(const am_gen::am_handle_t& handle, const am_gen::am_sinkID_t& sinkID, const am_gen::am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSinkNotificationConfigurationAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSinkNotificationConfigurationAsyncCallback callback) {
return delegate_->asyncSetSinkNotificationConfigurationAsync(handle, sinkID, notificationConfiguration, callback);
}
template <typename ... _AttributeExtensions>
-void RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceNotificationConfiguration(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) {
+void RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceNotificationConfiguration(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) {
delegate_->asyncSetSourceNotificationConfiguration(handle, sourceID, notificationConfiguration, callStatus);
}
template <typename ... _AttributeExtensions>
-std::future<CommonAPI::CallStatus> RoutingSenderProxy<_AttributeExtensions...>::asyncSetSourceNotificationConfigurationAsync(const am_gen::am_handle_t& handle, const am_gen::am_sourceID_t& sourceID, const am_gen::am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSourceNotificationConfigurationAsyncCallback callback) {
+std::future<CommonAPI::CallStatus> RoutingControlProxy<_AttributeExtensions...>::asyncSetSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSourceNotificationConfigurationAsyncCallback callback) {
return delegate_->asyncSetSourceNotificationConfigurationAsync(handle, sourceID, notificationConfiguration, callback);
}
template <typename ... _AttributeExtensions>
-std::string RoutingSenderProxy<_AttributeExtensions...>::getAddress() const {
+std::string RoutingControlProxy<_AttributeExtensions...>::getAddress() const {
return delegate_->getAddress();
}
template <typename ... _AttributeExtensions>
-const std::string& RoutingSenderProxy<_AttributeExtensions...>::getDomain() const {
+const std::string& RoutingControlProxy<_AttributeExtensions...>::getDomain() const {
return delegate_->getDomain();
}
template <typename ... _AttributeExtensions>
-const std::string& RoutingSenderProxy<_AttributeExtensions...>::getServiceId() const {
+const std::string& RoutingControlProxy<_AttributeExtensions...>::getServiceId() const {
return delegate_->getServiceId();
}
template <typename ... _AttributeExtensions>
-const std::string& RoutingSenderProxy<_AttributeExtensions...>::getInstanceId() const {
+const std::string& RoutingControlProxy<_AttributeExtensions...>::getInstanceId() const {
return delegate_->getInstanceId();
}
template <typename ... _AttributeExtensions>
-bool RoutingSenderProxy<_AttributeExtensions...>::isAvailable() const {
+bool RoutingControlProxy<_AttributeExtensions...>::isAvailable() const {
return delegate_->isAvailable();
}
template <typename ... _AttributeExtensions>
-CommonAPI::ProxyStatusEvent& RoutingSenderProxy<_AttributeExtensions...>::getProxyStatusEvent() {
+CommonAPI::ProxyStatusEvent& RoutingControlProxy<_AttributeExtensions...>::getProxyStatusEvent() {
return delegate_->getProxyStatusEvent();
}
template <typename ... _AttributeExtensions>
-CommonAPI::InterfaceVersionAttribute& RoutingSenderProxy<_AttributeExtensions...>::getInterfaceVersionAttribute() {
+CommonAPI::InterfaceVersionAttribute& RoutingControlProxy<_AttributeExtensions...>::getInterfaceVersionAttribute() {
return delegate_->getInterfaceVersionAttribute();
}
-} // namespace audiomanager
+} // namespace am
} // namespace genivi
} // namespace org
-#endif // ORG_GENIVI_AUDIOMANAGER_Routing_Sender_PROXY_H_
+#endif // ORG_GENIVI_AM_Routing_Control_PROXY_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlProxyBase.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlProxyBase.h
new file mode 100644
index 0000000..8f2bc8e
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlProxyBase.h
@@ -0,0 +1,105 @@
+ /*
+ * This file was generated by the CommonAPI Generators.
+ *
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+ */
+ #ifndef ORG_GENIVI_AM_Routing_Control_PROXY_BASE_H_
+ #define ORG_GENIVI_AM_Routing_Control_PROXY_BASE_H_
+
+ #include "RoutingControl.h"
+
+
+ #include <org/genivi/am.h>
+
+ #define COMMONAPI_INTERNAL_COMPILATION
+
+ #include <CommonAPI/InputStream.h>
+ #include <CommonAPI/OutputStream.h>
+ #include <CommonAPI/SerializableStruct.h>
+ #include <cstdint>
+ #include <vector>
+
+ #include <CommonAPI/Proxy.h>
+ #include <functional>
+ #include <future>
+
+ #undef COMMONAPI_INTERNAL_COMPILATION
+
+ namespace org {
+ namespace genivi {
+ namespace am {
+
+ class RoutingControlProxyBase: virtual public CommonAPI::Proxy {
+ public:
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncAbortAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncConnectAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncDisconnectAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetSinkVolumeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetSourceVolumeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetSourceStateAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetSinkSoundPropertiesAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetSinkSoundPropertyAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetSourceSoundPropertiesAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetSourceSoundPropertyAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncCrossFadeAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&, const am_Error_e&)> SetDomainStateAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetVolumesAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetSinkNotificationConfigurationAsyncCallback;
+ typedef std::function<void(const CommonAPI::CallStatus&)> AsyncSetSourceNotificationConfigurationAsyncCallback;
+
+
+
+
+ virtual void asyncAbort(const am_Handle_s& handle, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncAbortAsync(const am_Handle_s& handle, AsyncAbortAsyncCallback callback) = 0;
+
+ virtual void asyncConnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncConnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, const am_ConnectionFormat_pe& connectionFormat, AsyncConnectAsyncCallback callback) = 0;
+
+ virtual void asyncDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, AsyncDisconnectAsyncCallback callback) = 0;
+
+ virtual void asyncSetSinkVolume(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkVolumeAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSinkVolumeAsyncCallback callback) = 0;
+
+ virtual void asyncSetSourceVolume(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceVolumeAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_volume_t& volume, const am_RampType_pe& ramp, const am_time_t& time, AsyncSetSourceVolumeAsyncCallback callback) = 0;
+
+ virtual void asyncSetSourceState(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceStateAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, AsyncSetSourceStateAsyncCallback callback) = 0;
+
+ virtual void asyncSetSinkSoundProperties(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, AsyncSetSinkSoundPropertiesAsyncCallback callback) = 0;
+
+ virtual void asyncSetSinkSoundProperty(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, AsyncSetSinkSoundPropertyAsyncCallback callback) = 0;
+
+ virtual void asyncSetSourceSoundProperties(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, AsyncSetSourceSoundPropertiesAsyncCallback callback) = 0;
+
+ virtual void asyncSetSourceSoundProperty(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, AsyncSetSourceSoundPropertyAsyncCallback callback) = 0;
+
+ virtual void asyncCrossFade(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncCrossFadeAsync(const am_Handle_s& handle, const am_crossfaderID_t& crossfaderID, const am_HotSink_e& hotSink, const am_RampType_pe& rampType, const am_time_t& time, AsyncCrossFadeAsyncCallback callback) = 0;
+
+ virtual void setDomainState(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus, am_Error_e& error) = 0;
+ virtual std::future<CommonAPI::CallStatus> setDomainStateAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, SetDomainStateAsyncCallback callback) = 0;
+
+ virtual void asyncSetVolumes(const am_Handle_s& handle, const am_Volumes_L& volumes, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& volumes, AsyncSetVolumesAsyncCallback callback) = 0;
+
+ virtual void asyncSetSinkNotificationConfiguration(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSinkNotificationConfigurationAsyncCallback callback) = 0;
+
+ virtual void asyncSetSourceNotificationConfiguration(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) = 0;
+ virtual std::future<CommonAPI::CallStatus> asyncSetSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSourceNotificationConfigurationAsyncCallback callback) = 0;
+ };
+
+ } // namespace am
+ } // namespace genivi
+ } // namespace org
+
+ #endif // ORG_GENIVI_AM_Routing_Control_PROXY_BASE_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStub.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStub.h
new file mode 100644
index 0000000..cdaebc4
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStub.h
@@ -0,0 +1,112 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_STUB_H_
+#define ORG_GENIVI_AM_Routing_Control_STUB_H_
+
+
+
+#include <org/genivi/am.h>
+
+#include "RoutingControl.h"
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
+#include <CommonAPI/InputStream.h>
+#include <CommonAPI/OutputStream.h>
+#include <CommonAPI/SerializableStruct.h>
+#include <cstdint>
+#include <vector>
+
+#include <CommonAPI/Stub.h>
+
+#undef COMMONAPI_INTERNAL_COMPILATION
+
+namespace org {
+namespace genivi {
+namespace am {
+
+/**
+ * Receives messages from remote and handles all dispatching of deserialized calls
+ * to a stub for the service RoutingControl. Also provides means to send broadcasts
+ * and attribute-changed-notifications of observable attributes as defined by this service.
+ * An application developer should not need to bother with this class.
+ */
+class RoutingControlStubAdapter: virtual public CommonAPI::StubAdapter, public RoutingControl {
+ public:
+
+};
+
+
+/**
+ * Defines the necessary callbacks to handle remote set events related to the attributes
+ * defined in the IDL description for RoutingControl.
+ * For each attribute two callbacks are defined:
+ * - a verification callback that allows to verify the requested value and to prevent setting
+ * e.g. an invalid value ("onRemoteSet<AttributeName>").
+ * - an action callback to do local work after the attribute value has been changed
+ * ("onRemote<AttributeName>Changed").
+ *
+ * This class and the one below are the ones an application developer needs to have
+ * a look at if he wants to implement a service.
+ */
+class RoutingControlStubRemoteEvent {
+ public:
+ virtual ~RoutingControlStubRemoteEvent() { }
+
+};
+
+
+/**
+ * Defines the interface that must be implemented by any class that should provide
+ * the service RoutingControl to remote clients.
+ * This class and the one above are the ones an application developer needs to have
+ * a look at if he wants to implement a service.
+ */
+class RoutingControlStub : public CommonAPI::Stub<RoutingControlStubAdapter , RoutingControlStubRemoteEvent> {
+ public:
+ virtual ~RoutingControlStub() { }
+
+
+ /// This is the method that will be called on remote calls on the method asyncAbort.
+ virtual void asyncAbort(am_Handle_s handle) = 0;
+ /// This is the method that will be called on remote calls on the method asyncConnect.
+ virtual void asyncConnect(am_Handle_s handle, am_connectionID_t connectionID, am_sourceID_t sourceID, am_sinkID_t sinkID, am_ConnectionFormat_pe connectionFormat) = 0;
+ /// This is the method that will be called on remote calls on the method asyncDisconnect.
+ virtual void asyncDisconnect(am_Handle_s handle, am_connectionID_t connectionID) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetSinkVolume.
+ virtual void asyncSetSinkVolume(am_Handle_s handle, am_sinkID_t sinkID, am_volume_t volume, am_RampType_pe ramp, am_time_t time) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetSourceVolume.
+ virtual void asyncSetSourceVolume(am_Handle_s handle, am_sourceID_t sourceID, am_volume_t volume, am_RampType_pe ramp, am_time_t time) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetSourceState.
+ virtual void asyncSetSourceState(am_Handle_s handle, am_sourceID_t sourceID, am_SourceState_e state) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetSinkSoundProperties.
+ virtual void asyncSetSinkSoundProperties(am_Handle_s handle, am_sinkID_t sinkID, am_SoundProperty_L listSoundProperties) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetSinkSoundProperty.
+ virtual void asyncSetSinkSoundProperty(am_Handle_s handle, am_sinkID_t sinkID, am_SoundProperty_s soundProperty) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetSourceSoundProperties.
+ virtual void asyncSetSourceSoundProperties(am_Handle_s handle, am_sourceID_t sourceID, am_SoundProperty_L listSoundProperties) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetSourceSoundProperty.
+ virtual void asyncSetSourceSoundProperty(am_Handle_s handle, am_sourceID_t sourceID, am_SoundProperty_s soundProperty) = 0;
+ /// This is the method that will be called on remote calls on the method asyncCrossFade.
+ virtual void asyncCrossFade(am_Handle_s handle, am_crossfaderID_t crossfaderID, am_HotSink_e hotSink, am_RampType_pe rampType, am_time_t time) = 0;
+ /// This is the method that will be called on remote calls on the method setDomainState.
+ virtual void setDomainState(am_domainID_t domainID, am_DomainState_e domainState, am_Error_e& error) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetVolumes.
+ virtual void asyncSetVolumes(am_Handle_s handle, am_Volumes_L volumes) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetSinkNotificationConfiguration.
+ virtual void asyncSetSinkNotificationConfiguration(am_Handle_s handle, am_sinkID_t sinkID, am_NotificationConfiguration_s notificationConfiguration) = 0;
+ /// This is the method that will be called on remote calls on the method asyncSetSourceNotificationConfiguration.
+ virtual void asyncSetSourceNotificationConfiguration(am_Handle_s handle, am_sourceID_t sourceID, am_NotificationConfiguration_s notificationConfiguration) = 0;
+
+};
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+#endif // ORG_GENIVI_AM_Routing_Control_STUB_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStubDefault.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStubDefault.cpp
new file mode 100644
index 0000000..69a0e6e
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStubDefault.cpp
@@ -0,0 +1,92 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#include <org/genivi/am/RoutingControlStubDefault.h>
+
+namespace org {
+namespace genivi {
+namespace am {
+
+RoutingControlStubDefault::RoutingControlStubDefault():
+ remoteEventHandler_(this) {
+}
+
+RoutingControlStubRemoteEvent* RoutingControlStubDefault::initStubAdapter(const std::shared_ptr<RoutingControlStubAdapter>& stubAdapter) {
+ stubAdapter_ = stubAdapter;
+ return &remoteEventHandler_;
+}
+
+
+void RoutingControlStubDefault::asyncAbort(am_Handle_s handle) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncConnect(am_Handle_s handle, am_connectionID_t connectionID, am_sourceID_t sourceID, am_sinkID_t sinkID, am_ConnectionFormat_pe connectionFormat) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncDisconnect(am_Handle_s handle, am_connectionID_t connectionID) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetSinkVolume(am_Handle_s handle, am_sinkID_t sinkID, am_volume_t volume, am_RampType_pe ramp, am_time_t time) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetSourceVolume(am_Handle_s handle, am_sourceID_t sourceID, am_volume_t volume, am_RampType_pe ramp, am_time_t time) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetSourceState(am_Handle_s handle, am_sourceID_t sourceID, am_SourceState_e state) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetSinkSoundProperties(am_Handle_s handle, am_sinkID_t sinkID, am_SoundProperty_L listSoundProperties) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetSinkSoundProperty(am_Handle_s handle, am_sinkID_t sinkID, am_SoundProperty_s soundProperty) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetSourceSoundProperties(am_Handle_s handle, am_sourceID_t sourceID, am_SoundProperty_L listSoundProperties) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetSourceSoundProperty(am_Handle_s handle, am_sourceID_t sourceID, am_SoundProperty_s soundProperty) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncCrossFade(am_Handle_s handle, am_crossfaderID_t crossfaderID, am_HotSink_e hotSink, am_RampType_pe rampType, am_time_t time) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::setDomainState(am_domainID_t domainID, am_DomainState_e domainState, am_Error_e& error) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetVolumes(am_Handle_s handle, am_Volumes_L volumes) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetSinkNotificationConfiguration(am_Handle_s handle, am_sinkID_t sinkID, am_NotificationConfiguration_s notificationConfiguration) {
+ // No operation in default
+}
+
+void RoutingControlStubDefault::asyncSetSourceNotificationConfiguration(am_Handle_s handle, am_sourceID_t sourceID, am_NotificationConfiguration_s notificationConfiguration) {
+ // No operation in default
+}
+
+
+
+RoutingControlStubDefault::RemoteEventHandler::RemoteEventHandler(RoutingControlStubDefault* defaultStub):
+ defaultStub_(defaultStub) {
+}
+
+} // namespace am
+} // namespace genivi
+} // namespace org
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStubDefault.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStubDefault.h
new file mode 100644
index 0000000..922c975
--- /dev/null
+++ b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/am/RoutingControlStubDefault.h
@@ -0,0 +1,87 @@
+/*
+* This file was generated by the CommonAPI Generators.
+*
+ * Copyright (C) 2013, BMW AG
+ *
+ * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
+*/
+#ifndef ORG_GENIVI_AM_Routing_Control_STUB_DEFAULT_H_
+#define ORG_GENIVI_AM_Routing_Control_STUB_DEFAULT_H_
+
+#include <org/genivi/am/RoutingControlStub.h>
+
+namespace org {
+namespace genivi {
+namespace am {
+
+/**
+ * Provides a default implementation for RoutingControlStubRemoteEvent and
+ * RoutingControlStub. Method callbacks have an empty implementation,
+ * remote set calls on attributes will always change the value of the attribute
+ * to the one received.
+ *
+ * Override this stub if you only want to provide a subset of the functionality
+ * that would be defined for this service, and/or if you do not need any non-default
+ * behaviour.
+ */
+class RoutingControlStubDefault : public RoutingControlStub {
+ public:
+ RoutingControlStubDefault();
+
+ RoutingControlStubRemoteEvent* initStubAdapter(const std::shared_ptr<RoutingControlStubAdapter>& stubAdapter);
+
+
+ virtual void asyncAbort(am_Handle_s handle);
+
+ virtual void asyncConnect(am_Handle_s handle, am_connectionID_t connectionID, am_sourceID_t sourceID, am_sinkID_t sinkID, am_ConnectionFormat_pe connectionFormat);
+
+ virtual void asyncDisconnect(am_Handle_s handle, am_connectionID_t connectionID);
+
+ virtual void asyncSetSinkVolume(am_Handle_s handle, am_sinkID_t sinkID, am_volume_t volume, am_RampType_pe ramp, am_time_t time);
+
+ virtual void asyncSetSourceVolume(am_Handle_s handle, am_sourceID_t sourceID, am_volume_t volume, am_RampType_pe ramp, am_time_t time);
+
+ virtual void asyncSetSourceState(am_Handle_s handle, am_sourceID_t sourceID, am_SourceState_e state);
+
+ virtual void asyncSetSinkSoundProperties(am_Handle_s handle, am_sinkID_t sinkID, am_SoundProperty_L listSoundProperties);
+
+ virtual void asyncSetSinkSoundProperty(am_Handle_s handle, am_sinkID_t sinkID, am_SoundProperty_s soundProperty);
+
+ virtual void asyncSetSourceSoundProperties(am_Handle_s handle, am_sourceID_t sourceID, am_SoundProperty_L listSoundProperties);
+
+ virtual void asyncSetSourceSoundProperty(am_Handle_s handle, am_sourceID_t sourceID, am_SoundProperty_s soundProperty);
+
+ virtual void asyncCrossFade(am_Handle_s handle, am_crossfaderID_t crossfaderID, am_HotSink_e hotSink, am_RampType_pe rampType, am_time_t time);
+
+ virtual void setDomainState(am_domainID_t domainID, am_DomainState_e domainState, am_Error_e& error);
+
+ virtual void asyncSetVolumes(am_Handle_s handle, am_Volumes_L volumes);
+
+ virtual void asyncSetSinkNotificationConfiguration(am_Handle_s handle, am_sinkID_t sinkID, am_NotificationConfiguration_s notificationConfiguration);
+
+ virtual void asyncSetSourceNotificationConfiguration(am_Handle_s handle, am_sourceID_t sourceID, am_NotificationConfiguration_s notificationConfiguration);
+
+
+
+ protected:
+
+ private:
+ class RemoteEventHandler: public RoutingControlStubRemoteEvent {
+ public:
+ RemoteEventHandler(RoutingControlStubDefault* defaultStub);
+
+
+ private:
+ RoutingControlStubDefault* defaultStub_;
+ };
+
+ RemoteEventHandler remoteEventHandler_;
+ std::shared_ptr<RoutingControlStubAdapter> stubAdapter_;
+
+};
+
+} // namespace am
+} // namespace genivi
+} // namespace org
+
+#endif // ORG_GENIVI_AM_Routing_Control_STUB_DEFAULT_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterface.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterface.h
deleted file mode 100644
index 50ececf..0000000
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterface.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
-* This file was generated by the CommonAPI Generators.
-*
- * Copyright (c) 2012 BMW
- *
- * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
- *
- * \copyright
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * For further information see http://www.genivi.org/.
-*/
-#ifndef ORG_GENIVI_AUDIOMANAGER_Routing_Interface_H_
-#define ORG_GENIVI_AUDIOMANAGER_Routing_Interface_H_
-
-
-
-#define COMMONAPI_INTERNAL_COMPILATION
-
-#include <CommonAPI/types.h>
-
-#undef COMMONAPI_INTERNAL_COMPILATION
-
-namespace org {
-namespace genivi {
-namespace audiomanager {
-
-class RoutingInterface {
- public:
- virtual ~RoutingInterface() { }
-
- static inline const char* getInterfaceId();
- static inline CommonAPI::Version getInterfaceVersion();
-};
-
-const char* RoutingInterface::getInterfaceId() {
- return "org.genivi.audiomanager.RoutingInterface";
-}
-
-CommonAPI::Version RoutingInterface::getInterfaceVersion() {
- return CommonAPI::Version(0, 1);
-}
-
-
-} // namespace audiomanager
-} // namespace genivi
-} // namespace org
-
-namespace CommonAPI {
-
-}
-
-
-namespace std {
- //hashes for types
-
- //hashes for error types
-}
-
-#endif // ORG_GENIVI_AUDIOMANAGER_Routing_Interface_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusProxy.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusProxy.cpp
deleted file mode 100644
index 2a19ff4..0000000
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusProxy.cpp
+++ /dev/null
@@ -1,920 +0,0 @@
-/*
-* This file was generated by the CommonAPI Generators.
-*
- * Copyright (c) 2012 BMW
- *
- * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
- *
- * \copyright
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * For further information see http://www.genivi.org/.
-*/
-#include "RoutingInterfaceDBusProxy.h"
-
-namespace org {
-namespace genivi {
-namespace audiomanager {
-
-std::shared_ptr<CommonAPI::DBus::DBusProxy> createRoutingInterfaceDBusProxy(
- const std::string& commonApiAddress,
- const std::string& interfaceName,
- const std::string& busName,
- const std::string& objectPath,
- const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyConnection) {
- return std::make_shared<RoutingInterfaceDBusProxy>(commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection);
-}
-
-__attribute__((constructor)) void registerRoutingInterfaceDBusProxy(void) {
- CommonAPI::DBus::DBusFactory::registerProxyFactoryMethod(RoutingInterface::getInterfaceId(),
- &createRoutingInterfaceDBusProxy);
-}
-
-RoutingInterfaceDBusProxy::RoutingInterfaceDBusProxy(
- const std::string& commonApiAddress,
- const std::string& interfaceName,
- const std::string& busName,
- const std::string& objectPath,
- const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection):
- CommonAPI::DBus::DBusProxy(commonApiAddress, interfaceName, busName, objectPath, dbusProxyconnection)
-, setRoutingReady_(*this, "setRoutingReady", ""),
- setRoutingRundown_(*this, "setRoutingRundown", "")
- {
-}
-
-
-RoutingInterfaceDBusProxy::SetRoutingReadyEvent& RoutingInterfaceDBusProxy::getSetRoutingReadyEvent() {
- return setRoutingReady_;
-}
-RoutingInterfaceDBusProxy::SetRoutingRundownEvent& RoutingInterfaceDBusProxy::getSetRoutingRundownEvent() {
- return setRoutingRundown_;
-}
-
-void RoutingInterfaceDBusProxy::ackConnect(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_connectionID_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackConnect",
- "qqq",
- handle, connectionID, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackConnectAsync(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, AckConnectAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_connectionID_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackConnect",
- "qqq",
- handle, connectionID, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackDisconnect(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_connectionID_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackDisconnect",
- "qqq",
- handle, connectionID, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackDisconnectAsync(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, AckDisconnectAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_connectionID_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackDisconnect",
- "qqq",
- handle, connectionID, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSetSinkVolume(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_volume_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSetSinkVolume",
- "qnq",
- handle, volume, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSetSinkVolumeAsync(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, AckSetSinkVolumeAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_volume_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSetSinkVolume",
- "qnq",
- handle, volume, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSetSourceVolume(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_volume_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSetSourceVolume",
- "qnq",
- handle, volume, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSetSourceVolumeAsync(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, AckSetSourceVolumeAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_volume_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSetSourceVolume",
- "qnq",
- handle, volume, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSetSourceState(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSetSourceState",
- "qq",
- handle, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSetSourceStateAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceStateAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSetSourceState",
- "qq",
- handle, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSetSinkSoundProperties(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSetSinkSoundProperties",
- "qq",
- handle, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSetSinkSoundPropertiesAsync(const uint16_t& handle, const uint16_t& error, AckSetSinkSoundPropertiesAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSetSinkSoundProperties",
- "qq",
- handle, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSetSinkSoundProperty(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSetSinkSoundProperty",
- "qq",
- handle, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSetSinkSoundPropertyAsync(const uint16_t& handle, const uint16_t& error, AckSetSinkSoundPropertyAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSetSinkSoundProperty",
- "qq",
- handle, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSetSourceSoundProperties(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSetSourceSoundProperties",
- "qq",
- handle, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSetSourceSoundPropertiesAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceSoundPropertiesAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSetSourceSoundProperties",
- "qq",
- handle, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSetSourceSoundProperty(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSetSourceSoundProperty",
- "qq",
- handle, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSetSourceSoundPropertyAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceSoundPropertyAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSetSourceSoundProperty",
- "qq",
- handle, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSourceVolumeTick(const uint16_t& handle, const am_gen::am_sourceID_t& source, const am_gen::am_volume_t& volume, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_sourceID_t, am_gen::am_volume_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSourceVolumeTick",
- "qqn",
- handle, source, volume,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSourceVolumeTickAsync(const uint16_t& handle, const am_gen::am_sourceID_t& source, const am_gen::am_volume_t& volume, AckSourceVolumeTickAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_sourceID_t, am_gen::am_volume_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSourceVolumeTick",
- "qqn",
- handle, source, volume,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSinkVolumeTick(const uint16_t& handle, const am_gen::am_sinkID_t& sink, const am_gen::am_volume_t& volume, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_sinkID_t, am_gen::am_volume_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSinkVolumeTick",
- "qqn",
- handle, sink, volume,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSinkVolumeTickAsync(const uint16_t& handle, const am_gen::am_sinkID_t& sink, const am_gen::am_volume_t& volume, AckSinkVolumeTickAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_sinkID_t, am_gen::am_volume_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSinkVolumeTick",
- "qqn",
- handle, sink, volume,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackCrossFading(const uint16_t& handle, const am_gen::am_HotSink_e& hotSink, const am_gen::am_Error_e& returnError, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_HotSink_e, am_gen::am_Error_e>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackCrossFading",
- "qii",
- handle, hotSink, returnError,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackCrossFadingAsync(const uint16_t& handle, const am_gen::am_HotSink_e& hotSink, const am_gen::am_Error_e& returnError, AckCrossFadingAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_HotSink_e, am_gen::am_Error_e>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackCrossFading",
- "qii",
- handle, hotSink, returnError,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::peekDomain(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "peekDomain",
- "s",
- name,
- callStatus
- , domainID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::peekDomainAsync(const std::string& name, PeekDomainAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "peekDomain",
- "s",
- name,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::registerDomain(const am_gen::am_Domain_s& domainData, const std::string& returnBusname, const std::string& returnPath, const std::string& returnInterface, CommonAPI::CallStatus& callStatus, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Domain_s, std::string, std::string, std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "registerDomain",
- "(qsssbbi)sss",
- domainData, returnBusname, returnPath, returnInterface,
- callStatus
- , domainID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::registerDomainAsync(const am_gen::am_Domain_s& domainData, const std::string& returnBusname, const std::string& returnPath, const std::string& returnInterface, RegisterDomainAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Domain_s, std::string, std::string, std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "registerDomain",
- "(qsssbbi)sss",
- domainData, returnBusname, returnPath, returnInterface,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::deregisterDomain(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "deregisterDomain",
- "q",
- domainID,
- callStatus
- , returnError);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::deregisterDomainAsync(const am_gen::am_domainID_t& domainID, DeregisterDomainAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "deregisterDomain",
- "q",
- domainID,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::registerGateway(const am_gen::am_Gateway_s& gatewayData, CommonAPI::CallStatus& callStatus, am_gen::am_gatewayID_t& gatewayID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Gateway_s>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_gatewayID_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "registerGateway",
- "(qsqqqqqaiaiab)",
- gatewayData,
- callStatus
- , gatewayID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::registerGatewayAsync(const am_gen::am_Gateway_s& gatewayData, RegisterGatewayAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Gateway_s>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_gatewayID_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "registerGateway",
- "(qsqqqqqaiaiab)",
- gatewayData,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::deregisterGateway(const am_gen::am_gatewayID_t& gatewayID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_gatewayID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "deregisterGateway",
- "q",
- gatewayID,
- callStatus
- , returnError);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::deregisterGatewayAsync(const am_gen::am_gatewayID_t& gatewayID, DeregisterGatewayAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_gatewayID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "deregisterGateway",
- "q",
- gatewayID,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::peekSink(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "peekSink",
- "s",
- name,
- callStatus
- , sinkID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::peekSinkAsync(const std::string& name, PeekSinkAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "peekSink",
- "s",
- name,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::registerSink(const am_gen::sinkData_s& sinkData, CommonAPI::CallStatus& callStatus, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::sinkData_s>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "registerSink",
- "(qsqqnb(ii)ina(in)aia(in)a(iin)a(iin))",
- sinkData,
- callStatus
- , sinkID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::registerSinkAsync(const am_gen::sinkData_s& sinkData, RegisterSinkAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::sinkData_s>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "registerSink",
- "(qsqqnb(ii)ina(in)aia(in)a(iin)a(iin))",
- sinkData,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::deregisterSink(const am_gen::am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "deregisterSink",
- "q",
- sinkID,
- callStatus
- , returnError);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::deregisterSinkAsync(const am_gen::am_sinkID_t& sinkID, DeregisterSinkAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "deregisterSink",
- "q",
- sinkID,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::peekSource(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "peekSource",
- "s",
- name,
- callStatus
- , sourceID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::peekSourceAsync(const std::string& name, PeekSourceAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "peekSource",
- "s",
- name,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::registerSource(const am_gen::sourceData_s& sourceData, CommonAPI::CallStatus& callStatus, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::sourceData_s>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "registerSource",
- "(qqsqinb(ii)ia(in)aia(in)a(iin)a(iin))",
- sourceData,
- callStatus
- , sourceID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::registerSourceAsync(const am_gen::sourceData_s& sourceData, RegisterSourceAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::sourceData_s>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "registerSource",
- "(qqsqinb(ii)ia(in)aia(in)a(iin)a(iin))",
- sourceData,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::deregisterSource(const am_gen::am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "deregisterSource",
- "q",
- sourceID,
- callStatus
- , returnError);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::deregisterSourceAsync(const am_gen::am_sourceID_t& sourceID, DeregisterSourceAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "deregisterSource",
- "q",
- sourceID,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::registerCrossfader(const am_gen::crossfaderData_s& crossfaderData, CommonAPI::CallStatus& callStatus, am_gen::am_crossfaderID_t& crossfaderID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::crossfaderData_s>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_crossfaderID_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "registerCrossfader",
- "(qsqqqi)",
- crossfaderData,
- callStatus
- , crossfaderID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::registerCrossfaderAsync(const am_gen::crossfaderData_s& crossfaderData, RegisterCrossfaderAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::crossfaderData_s>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_crossfaderID_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "registerCrossfader",
- "(qsqqqi)",
- crossfaderData,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::deregisterCrossfader(const am_gen::am_crossfaderID_t& crossfaderID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_crossfaderID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "deregisterCrossfader",
- "q",
- crossfaderID,
- callStatus
- , returnError);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::deregisterCrossfaderAsync(const am_gen::am_crossfaderID_t& crossfaderID, DeregisterCrossfaderAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_crossfaderID_t>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "deregisterCrossfader",
- "q",
- crossfaderID,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::peekSourceClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sourceClass_t& sourceClassID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceClass_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "peekSourceClassID",
- "s",
- name,
- callStatus
- , sourceClassID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::peekSourceClassIDAsync(const std::string& name, PeekSourceClassIDAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceClass_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "peekSourceClassID",
- "s",
- name,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::peekSinkClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sinkClass_t& sinkClassID, am_gen::am_Error_e& error) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkClass_t, am_gen::am_Error_e> >::callMethodWithReply(
- *this,
- "peekSinkClassID",
- "s",
- name,
- callStatus
- , sinkClassID, error);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::peekSinkClassIDAsync(const std::string& name, PeekSinkClassIDAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<std::string>,
- CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkClass_t, am_gen::am_Error_e> >::callMethodAsync(
- *this,
- "peekSinkClassID",
- "s",
- name,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::hookInterruptStatusChange(const am_gen::am_sourceID_t& sourceID, const uint16_t& interruptState, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "hookInterruptStatusChange",
- "qq",
- sourceID, interruptState,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::hookInterruptStatusChangeAsync(const am_gen::am_sourceID_t& sourceID, const uint16_t& interruptState, HookInterruptStatusChangeAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "hookInterruptStatusChange",
- "qq",
- sourceID, interruptState,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::hookDomainRegistrationComplete(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "hookDomainRegistrationComplete",
- "q",
- domainID,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::hookDomainRegistrationCompleteAsync(const am_gen::am_domainID_t& domainID, HookDomainRegistrationCompleteAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "hookDomainRegistrationComplete",
- "q",
- domainID,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::hookSinkAvailablityStatusChange(const am_gen::am_sinkID_t& sinkID, const am_gen::am_Availability_s& availability, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::am_Availability_s>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "hookSinkAvailablityStatusChange",
- "q(ii)",
- sinkID, availability,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::hookSinkAvailablityStatusChangeAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::am_Availability_s& availability, HookSinkAvailablityStatusChangeAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::am_Availability_s>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "hookSinkAvailablityStatusChange",
- "q(ii)",
- sinkID, availability,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::hookSourceAvailablityStatusChange(const am_gen::am_sourceID_t& sourceID, const am_gen::am_Availability_s& availability, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::am_Availability_s>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "hookSourceAvailablityStatusChange",
- "q(ii)",
- sourceID, availability,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::hookSourceAvailablityStatusChangeAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::am_Availability_s& availability, HookSourceAvailablityStatusChangeAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::am_Availability_s>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "hookSourceAvailablityStatusChange",
- "q(ii)",
- sourceID, availability,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::hookDomainStateChange(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t, am_gen::am_DomainState_e>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "hookDomainStateChange",
- "qi",
- domainID, domainState,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::hookDomainStateChangeAsync(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, HookDomainStateChangeAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t, am_gen::am_DomainState_e>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "hookDomainStateChange",
- "qi",
- domainID, domainState,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::hookTimingInformationChanged(const am_gen::am_connectionID_t& connectionID, const int16_t& delay, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_connectionID_t, int16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "hookTimingInformationChanged",
- "qn",
- connectionID, delay,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::hookTimingInformationChangedAsync(const am_gen::am_connectionID_t& connectionID, const int16_t& delay, HookTimingInformationChangedAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_connectionID_t, int16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "hookTimingInformationChanged",
- "qn",
- connectionID, delay,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::sendChangedData(const am_gen::am_EarlyData_l& earlyData_volumes, const am_gen::am_EarlyData_l& earlyData_soundproperties, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_EarlyData_l, am_gen::am_EarlyData_l>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "sendChangedData",
- "a(i(yv)(yv))a(i(yv)(yv))",
- earlyData_volumes, earlyData_soundproperties,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::sendChangedDataAsync(const am_gen::am_EarlyData_l& earlyData_volumes, const am_gen::am_EarlyData_l& earlyData_soundproperties, SendChangedDataAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_EarlyData_l, am_gen::am_EarlyData_l>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "sendChangedData",
- "a(i(yv)(yv))a(i(yv)(yv))",
- earlyData_volumes, earlyData_soundproperties,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::confirmRoutingReady(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "confirmRoutingReady",
- "q",
- domainID,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::confirmRoutingReadyAsync(const am_gen::am_domainID_t& domainID, ConfirmRoutingReadyAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "confirmRoutingReady",
- "q",
- domainID,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::confirmRoutingRundown(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "confirmRoutingRundown",
- "q",
- domainID,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::confirmRoutingRundownAsync(const am_gen::am_domainID_t& domainID, ConfirmRoutingRundownAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_domainID_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "confirmRoutingRundown",
- "q",
- domainID,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::updateGateway(const am_gen::am_gatewayID_t& gatewayID, const am_gen::am_ConnectionFormat_L& listSourceFormats, const am_gen::am_ConnectionFormat_L& listSinkFormats, const am_gen::bool_L& convertionMatrix, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_gatewayID_t, am_gen::am_ConnectionFormat_L, am_gen::am_ConnectionFormat_L, am_gen::bool_L>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "updateGateway",
- "qaiaiab",
- gatewayID, listSourceFormats, listSinkFormats, convertionMatrix,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::updateGatewayAsync(const am_gen::am_gatewayID_t& gatewayID, const am_gen::am_ConnectionFormat_L& listSourceFormats, const am_gen::am_ConnectionFormat_L& listSinkFormats, const am_gen::bool_L& convertionMatrix, UpdateGatewayAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_gatewayID_t, am_gen::am_ConnectionFormat_L, am_gen::am_ConnectionFormat_L, am_gen::bool_L>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "updateGateway",
- "qaiaiab",
- gatewayID, listSourceFormats, listSinkFormats, convertionMatrix,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::updateSink(const am_gen::am_sinkID_t& sinkID, const am_gen::am_sinkClass_t& sinkClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::am_sinkClass_t, am_gen::am_SoundProperty_L, am_gen::am_ConnectionFormat_L, am_gen::am_MainSoundProperty_L>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "updateSink",
- "qqa(in)aia(in)",
- sinkID, sinkClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::updateSinkAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::am_sinkClass_t& sinkClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, UpdateSinkAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::am_sinkClass_t, am_gen::am_SoundProperty_L, am_gen::am_ConnectionFormat_L, am_gen::am_MainSoundProperty_L>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "updateSink",
- "qqa(in)aia(in)",
- sinkID, sinkClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::updateSource(const am_gen::am_sourceID_t& sourceID, const am_gen::am_sourceClass_t& sourceClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::am_sourceClass_t, am_gen::am_SoundProperty_L, am_gen::am_ConnectionFormat_L, am_gen::am_MainSoundProperty_L>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "updateSource",
- "qqa(in)aia(in)",
- sourceID, sourceClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::updateSourceAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::am_sourceClass_t& sourceClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, UpdateSourceAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::am_sourceClass_t, am_gen::am_SoundProperty_L, am_gen::am_ConnectionFormat_L, am_gen::am_MainSoundProperty_L>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "updateSource",
- "qqa(in)aia(in)",
- sourceID, sourceClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSetVolumes(const uint16_t& handle, const am_gen::am_Volumes_l& listVolumes, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_Volumes_l, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSetVolumes",
- "qa(i(yv)niq)q",
- handle, listVolumes, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSetVolumesAsync(const uint16_t& handle, const am_gen::am_Volumes_l& listVolumes, const uint16_t& error, AckSetVolumesAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, am_gen::am_Volumes_l, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSetVolumes",
- "qa(i(yv)niq)q",
- handle, listVolumes, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSinkNotificationConfiguration(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSinkNotificationConfiguration",
- "qq",
- handle, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSinkNotificationConfigurationAsync(const uint16_t& handle, const uint16_t& error, AckSinkNotificationConfigurationAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSinkNotificationConfiguration",
- "qq",
- handle, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::ackSourceNotificationConfiguration(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "ackSourceNotificationConfiguration",
- "qq",
- handle, error,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::ackSourceNotificationConfigurationAsync(const uint16_t& handle, const uint16_t& error, AckSourceNotificationConfigurationAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<uint16_t, uint16_t>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "ackSourceNotificationConfiguration",
- "qq",
- handle, error,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::hookSinkNotificationDataChange(const am_gen::am_sinkID_t& sinkID, const am_gen::notificationPayload_s& payload, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::notificationPayload_s>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "hookSinkNotificationDataChange",
- "q(nn)",
- sinkID, payload,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::hookSinkNotificationDataChangeAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::notificationPayload_s& payload, HookSinkNotificationDataChangeAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sinkID_t, am_gen::notificationPayload_s>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "hookSinkNotificationDataChange",
- "q(nn)",
- sinkID, payload,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::hookSourceNotificationDataChange(const am_gen::am_sourceID_t& sourceID, const am_gen::notificationPayload_s& payload, CommonAPI::CallStatus& callStatus) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::notificationPayload_s>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
- *this,
- "hookSourceNotificationDataChange",
- "q(nn)",
- sourceID, payload,
- callStatus
- );
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::hookSourceNotificationDataChangeAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::notificationPayload_s& payload, HookSourceNotificationDataChangeAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_gen::am_sourceID_t, am_gen::notificationPayload_s>,
- CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
- *this,
- "hookSourceNotificationDataChange",
- "q(nn)",
- sourceID, payload,
- std::move(callback));
-}
-void RoutingInterfaceDBusProxy::getRoutingReadyState(CommonAPI::CallStatus& callStatus, bool& readyState) {
- CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
- CommonAPI::DBus::DBusSerializableArguments<bool> >::callMethodWithReply(
- *this,
- "getRoutingReadyState",
- "",
- callStatus
- , readyState);
-}
-std::future<CommonAPI::CallStatus> RoutingInterfaceDBusProxy::getRoutingReadyStateAsync(GetRoutingReadyStateAsyncCallback callback) {
- return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
- CommonAPI::DBus::DBusSerializableArguments<bool> >::callMethodAsync(
- *this,
- "getRoutingReadyState",
- "",
- std::move(callback));
-}
-
-void RoutingInterfaceDBusProxy::getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const {
- ownVersionMajor = 0;
- ownVersionMinor = 1;
-}
-
-} // namespace audiomanager
-} // namespace genivi
-} // namespace org
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusProxy.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusProxy.h
deleted file mode 100644
index 893d736..0000000
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusProxy.h
+++ /dev/null
@@ -1,201 +0,0 @@
-/*
-* This file was generated by the CommonAPI Generators.
-*
- * Copyright (c) 2012 BMW
- *
- * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
- *
- * \copyright
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * For further information see http://www.genivi.org/.
-*/
-#ifndef ORG_GENIVI_AUDIOMANAGER_Routing_Interface_DBUS_PROXY_H_
-#define ORG_GENIVI_AUDIOMANAGER_Routing_Interface_DBUS_PROXY_H_
-
-#include <org/genivi/audiomanager/RoutingInterfaceProxyBase.h>
-
-#define COMMONAPI_INTERNAL_COMPILATION
-
-#include <CommonAPI/DBus/DBusFactory.h>
-#include <CommonAPI/DBus/DBusProxy.h>
-#include <CommonAPI/DBus/DBusEvent.h>
-
-#undef COMMONAPI_INTERNAL_COMPILATION
-
-#include <string>
-
-namespace org {
-namespace genivi {
-namespace audiomanager {
-
-class RoutingInterfaceDBusProxy: virtual public RoutingInterfaceProxyBase, virtual public CommonAPI::DBus::DBusProxy {
- public:
- RoutingInterfaceDBusProxy(
- const std::string& commonApiAddress,
- const std::string& interfaceName,
- const std::string& busName,
- const std::string& objectPath,
- const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection);
-
- virtual ~RoutingInterfaceDBusProxy() { }
-
-
- virtual SetRoutingReadyEvent& getSetRoutingReadyEvent();
- virtual SetRoutingRundownEvent& getSetRoutingRundownEvent();
-
-
- virtual void ackConnect(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackConnectAsync(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, AckConnectAsyncCallback callback);
-
- virtual void ackDisconnect(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackDisconnectAsync(const uint16_t& handle, const am_gen::am_connectionID_t& connectionID, const uint16_t& error, AckDisconnectAsyncCallback callback);
-
- virtual void ackSetSinkVolume(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSetSinkVolumeAsync(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, AckSetSinkVolumeAsyncCallback callback);
-
- virtual void ackSetSourceVolume(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSetSourceVolumeAsync(const uint16_t& handle, const am_gen::am_volume_t& volume, const uint16_t& error, AckSetSourceVolumeAsyncCallback callback);
-
- virtual void ackSetSourceState(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSetSourceStateAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceStateAsyncCallback callback);
-
- virtual void ackSetSinkSoundProperties(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertiesAsync(const uint16_t& handle, const uint16_t& error, AckSetSinkSoundPropertiesAsyncCallback callback);
-
- virtual void ackSetSinkSoundProperty(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSetSinkSoundPropertyAsync(const uint16_t& handle, const uint16_t& error, AckSetSinkSoundPropertyAsyncCallback callback);
-
- virtual void ackSetSourceSoundProperties(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertiesAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceSoundPropertiesAsyncCallback callback);
-
- virtual void ackSetSourceSoundProperty(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSetSourceSoundPropertyAsync(const uint16_t& handle, const uint16_t& error, AckSetSourceSoundPropertyAsyncCallback callback);
-
- virtual void ackSourceVolumeTick(const uint16_t& handle, const am_gen::am_sourceID_t& source, const am_gen::am_volume_t& volume, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSourceVolumeTickAsync(const uint16_t& handle, const am_gen::am_sourceID_t& source, const am_gen::am_volume_t& volume, AckSourceVolumeTickAsyncCallback callback);
-
- virtual void ackSinkVolumeTick(const uint16_t& handle, const am_gen::am_sinkID_t& sink, const am_gen::am_volume_t& volume, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSinkVolumeTickAsync(const uint16_t& handle, const am_gen::am_sinkID_t& sink, const am_gen::am_volume_t& volume, AckSinkVolumeTickAsyncCallback callback);
-
- virtual void ackCrossFading(const uint16_t& handle, const am_gen::am_HotSink_e& hotSink, const am_gen::am_Error_e& returnError, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackCrossFadingAsync(const uint16_t& handle, const am_gen::am_HotSink_e& hotSink, const am_gen::am_Error_e& returnError, AckCrossFadingAsyncCallback callback);
-
- virtual void peekDomain(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> peekDomainAsync(const std::string& name, PeekDomainAsyncCallback callback);
-
- virtual void registerDomain(const am_gen::am_Domain_s& domainData, const std::string& returnBusname, const std::string& returnPath, const std::string& returnInterface, CommonAPI::CallStatus& callStatus, am_gen::am_domainID_t& domainID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> registerDomainAsync(const am_gen::am_Domain_s& domainData, const std::string& returnBusname, const std::string& returnPath, const std::string& returnInterface, RegisterDomainAsyncCallback callback);
-
- virtual void deregisterDomain(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
- virtual std::future<CommonAPI::CallStatus> deregisterDomainAsync(const am_gen::am_domainID_t& domainID, DeregisterDomainAsyncCallback callback);
-
- virtual void registerGateway(const am_gen::am_Gateway_s& gatewayData, CommonAPI::CallStatus& callStatus, am_gen::am_gatewayID_t& gatewayID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> registerGatewayAsync(const am_gen::am_Gateway_s& gatewayData, RegisterGatewayAsyncCallback callback);
-
- virtual void deregisterGateway(const am_gen::am_gatewayID_t& gatewayID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
- virtual std::future<CommonAPI::CallStatus> deregisterGatewayAsync(const am_gen::am_gatewayID_t& gatewayID, DeregisterGatewayAsyncCallback callback);
-
- virtual void peekSink(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> peekSinkAsync(const std::string& name, PeekSinkAsyncCallback callback);
-
- virtual void registerSink(const am_gen::sinkData_s& sinkData, CommonAPI::CallStatus& callStatus, am_gen::am_sinkID_t& sinkID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> registerSinkAsync(const am_gen::sinkData_s& sinkData, RegisterSinkAsyncCallback callback);
-
- virtual void deregisterSink(const am_gen::am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
- virtual std::future<CommonAPI::CallStatus> deregisterSinkAsync(const am_gen::am_sinkID_t& sinkID, DeregisterSinkAsyncCallback callback);
-
- virtual void peekSource(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> peekSourceAsync(const std::string& name, PeekSourceAsyncCallback callback);
-
- virtual void registerSource(const am_gen::sourceData_s& sourceData, CommonAPI::CallStatus& callStatus, am_gen::am_sourceID_t& sourceID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> registerSourceAsync(const am_gen::sourceData_s& sourceData, RegisterSourceAsyncCallback callback);
-
- virtual void deregisterSource(const am_gen::am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
- virtual std::future<CommonAPI::CallStatus> deregisterSourceAsync(const am_gen::am_sourceID_t& sourceID, DeregisterSourceAsyncCallback callback);
-
- virtual void registerCrossfader(const am_gen::crossfaderData_s& crossfaderData, CommonAPI::CallStatus& callStatus, am_gen::am_crossfaderID_t& crossfaderID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> registerCrossfaderAsync(const am_gen::crossfaderData_s& crossfaderData, RegisterCrossfaderAsyncCallback callback);
-
- virtual void deregisterCrossfader(const am_gen::am_crossfaderID_t& crossfaderID, CommonAPI::CallStatus& callStatus, am_gen::am_Error_e& returnError);
- virtual std::future<CommonAPI::CallStatus> deregisterCrossfaderAsync(const am_gen::am_crossfaderID_t& crossfaderID, DeregisterCrossfaderAsyncCallback callback);
-
- virtual void peekSourceClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sourceClass_t& sourceClassID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> peekSourceClassIDAsync(const std::string& name, PeekSourceClassIDAsyncCallback callback);
-
- virtual void peekSinkClassID(const std::string& name, CommonAPI::CallStatus& callStatus, am_gen::am_sinkClass_t& sinkClassID, am_gen::am_Error_e& error);
- virtual std::future<CommonAPI::CallStatus> peekSinkClassIDAsync(const std::string& name, PeekSinkClassIDAsyncCallback callback);
-
- virtual void hookInterruptStatusChange(const am_gen::am_sourceID_t& sourceID, const uint16_t& interruptState, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> hookInterruptStatusChangeAsync(const am_gen::am_sourceID_t& sourceID, const uint16_t& interruptState, HookInterruptStatusChangeAsyncCallback callback);
-
- virtual void hookDomainRegistrationComplete(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> hookDomainRegistrationCompleteAsync(const am_gen::am_domainID_t& domainID, HookDomainRegistrationCompleteAsyncCallback callback);
-
- virtual void hookSinkAvailablityStatusChange(const am_gen::am_sinkID_t& sinkID, const am_gen::am_Availability_s& availability, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> hookSinkAvailablityStatusChangeAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::am_Availability_s& availability, HookSinkAvailablityStatusChangeAsyncCallback callback);
-
- virtual void hookSourceAvailablityStatusChange(const am_gen::am_sourceID_t& sourceID, const am_gen::am_Availability_s& availability, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> hookSourceAvailablityStatusChangeAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::am_Availability_s& availability, HookSourceAvailablityStatusChangeAsyncCallback callback);
-
- virtual void hookDomainStateChange(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> hookDomainStateChangeAsync(const am_gen::am_domainID_t& domainID, const am_gen::am_DomainState_e& domainState, HookDomainStateChangeAsyncCallback callback);
-
- virtual void hookTimingInformationChanged(const am_gen::am_connectionID_t& connectionID, const int16_t& delay, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> hookTimingInformationChangedAsync(const am_gen::am_connectionID_t& connectionID, const int16_t& delay, HookTimingInformationChangedAsyncCallback callback);
-
- virtual void sendChangedData(const am_gen::am_EarlyData_l& earlyData_volumes, const am_gen::am_EarlyData_l& earlyData_soundproperties, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> sendChangedDataAsync(const am_gen::am_EarlyData_l& earlyData_volumes, const am_gen::am_EarlyData_l& earlyData_soundproperties, SendChangedDataAsyncCallback callback);
-
- virtual void confirmRoutingReady(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> confirmRoutingReadyAsync(const am_gen::am_domainID_t& domainID, ConfirmRoutingReadyAsyncCallback callback);
-
- virtual void confirmRoutingRundown(const am_gen::am_domainID_t& domainID, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> confirmRoutingRundownAsync(const am_gen::am_domainID_t& domainID, ConfirmRoutingRundownAsyncCallback callback);
-
- virtual void updateGateway(const am_gen::am_gatewayID_t& gatewayID, const am_gen::am_ConnectionFormat_L& listSourceFormats, const am_gen::am_ConnectionFormat_L& listSinkFormats, const am_gen::bool_L& convertionMatrix, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> updateGatewayAsync(const am_gen::am_gatewayID_t& gatewayID, const am_gen::am_ConnectionFormat_L& listSourceFormats, const am_gen::am_ConnectionFormat_L& listSinkFormats, const am_gen::bool_L& convertionMatrix, UpdateGatewayAsyncCallback callback);
-
- virtual void updateSink(const am_gen::am_sinkID_t& sinkID, const am_gen::am_sinkClass_t& sinkClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> updateSinkAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::am_sinkClass_t& sinkClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, UpdateSinkAsyncCallback callback);
-
- virtual void updateSource(const am_gen::am_sourceID_t& sourceID, const am_gen::am_sourceClass_t& sourceClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> updateSourceAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::am_sourceClass_t& sourceClassID, const am_gen::am_SoundProperty_L& listSoundProperties, const am_gen::am_ConnectionFormat_L& listConnectionFormats, const am_gen::am_MainSoundProperty_L& listMainSoundProperties, UpdateSourceAsyncCallback callback);
-
- virtual void ackSetVolumes(const uint16_t& handle, const am_gen::am_Volumes_l& listVolumes, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSetVolumesAsync(const uint16_t& handle, const am_gen::am_Volumes_l& listVolumes, const uint16_t& error, AckSetVolumesAsyncCallback callback);
-
- virtual void ackSinkNotificationConfiguration(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSinkNotificationConfigurationAsync(const uint16_t& handle, const uint16_t& error, AckSinkNotificationConfigurationAsyncCallback callback);
-
- virtual void ackSourceNotificationConfiguration(const uint16_t& handle, const uint16_t& error, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> ackSourceNotificationConfigurationAsync(const uint16_t& handle, const uint16_t& error, AckSourceNotificationConfigurationAsyncCallback callback);
-
- virtual void hookSinkNotificationDataChange(const am_gen::am_sinkID_t& sinkID, const am_gen::notificationPayload_s& payload, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> hookSinkNotificationDataChangeAsync(const am_gen::am_sinkID_t& sinkID, const am_gen::notificationPayload_s& payload, HookSinkNotificationDataChangeAsyncCallback callback);
-
- virtual void hookSourceNotificationDataChange(const am_gen::am_sourceID_t& sourceID, const am_gen::notificationPayload_s& payload, CommonAPI::CallStatus& callStatus);
- virtual std::future<CommonAPI::CallStatus> hookSourceNotificationDataChangeAsync(const am_gen::am_sourceID_t& sourceID, const am_gen::notificationPayload_s& payload, HookSourceNotificationDataChangeAsyncCallback callback);
-
- virtual void getRoutingReadyState(CommonAPI::CallStatus& callStatus, bool& readyState);
- virtual std::future<CommonAPI::CallStatus> getRoutingReadyStateAsync(GetRoutingReadyStateAsyncCallback callback);
-
- virtual void getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const;
-
- private:
-
- CommonAPI::DBus::DBusEvent<SetRoutingReadyEvent> setRoutingReady_;
- CommonAPI::DBus::DBusEvent<SetRoutingRundownEvent> setRoutingRundown_;
-};
-
-} // namespace audiomanager
-} // namespace genivi
-} // namespace org
-
-#endif // ORG_GENIVI_AUDIOMANAGER_Routing_Interface_DBUS_PROXY_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusStubAdapter.cpp b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusStubAdapter.cpp
deleted file mode 100644
index 19ef262..0000000
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusStubAdapter.cpp
+++ /dev/null
@@ -1,562 +0,0 @@
-/*
-* This file was generated by the CommonAPI Generators.
-*
- * Copyright (c) 2012 BMW
- *
- * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
- *
- * \copyright
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * For further information see http://www.genivi.org/.
-*/
-#include "RoutingInterfaceDBusStubAdapter.h"
-#include <org/genivi/audiomanager/RoutingInterface.h>
-
-namespace org {
-namespace genivi {
-namespace audiomanager {
-
-std::shared_ptr<CommonAPI::DBus::DBusStubAdapter> createRoutingInterfaceDBusStubAdapter(
- const std::string& commonApiAddress,
- const std::string& interfaceName,
- const std::string& busName,
- const std::string& objectPath,
- const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyConnection,
- const std::shared_ptr<CommonAPI::StubBase>& stubBase) {
- return std::make_shared<RoutingInterfaceDBusStubAdapter>(commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection, stubBase);
-}
-
-__attribute__((constructor)) void registerRoutingInterfaceDBusStubAdapter(void) {
- CommonAPI::DBus::DBusFactory::registerAdapterFactoryMethod(RoutingInterface::getInterfaceId(),
- &createRoutingInterfaceDBusStubAdapter);
-}
-
-RoutingInterfaceDBusStubAdapter::RoutingInterfaceDBusStubAdapter(
- const std::string& commonApiAddress,
- const std::string& dbusInterfaceName,
- const std::string& dbusBusName,
- const std::string& dbusObjectPath,
- const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusConnection,
- const std::shared_ptr<CommonAPI::StubBase>& stub):
- RoutingInterfaceDBusStubAdapterHelper(commonApiAddress, dbusInterfaceName, dbusBusName, dbusObjectPath, dbusConnection, std::dynamic_pointer_cast<RoutingInterfaceStub>(stub)) {
-}
-
-const char* RoutingInterfaceDBusStubAdapter::getMethodsDBusIntrospectionXmlData() const {
- return
- "<signal name=\"setRoutingReady\">\n"
- "</signal>\n"
- "<signal name=\"setRoutingRundown\">\n"
- "</signal>\n"
- "<method name=\"ackConnect\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"connectionID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackDisconnect\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"connectionID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSetSinkVolume\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSetSourceVolume\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSetSourceState\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSetSinkSoundProperties\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSetSinkSoundProperty\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSetSourceSoundProperties\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSetSourceSoundProperty\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSourceVolumeTick\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"source\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSinkVolumeTick\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"sink\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"volume\" type=\"n\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackCrossFading\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"hotSink\" type=\"i\" direction=\"in\" />\n"
- "<arg name=\"returnError\" type=\"i\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"peekDomain\">\n"
- "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
- "<arg name=\"domainID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"registerDomain\">\n"
- "<arg name=\"domainData\" type=\"(qsssbbi)\" direction=\"in\" />\n"
- "<arg name=\"returnBusname\" type=\"s\" direction=\"in\" />\n"
- "<arg name=\"returnPath\" type=\"s\" direction=\"in\" />\n"
- "<arg name=\"returnInterface\" type=\"s\" direction=\"in\" />\n"
- "<arg name=\"domainID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"deregisterDomain\">\n"
- "<arg name=\"domainID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"returnError\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"registerGateway\">\n"
- "<arg name=\"gatewayData\" type=\"(qsqqqqqaiaiab)\" direction=\"in\" />\n"
- "<arg name=\"gatewayID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"deregisterGateway\">\n"
- "<arg name=\"gatewayID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"returnError\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"peekSink\">\n"
- "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
- "<arg name=\"sinkID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"registerSink\">\n"
- "<arg name=\"sinkData\" type=\"(qsqqnb(ii)ina(in)aia(in)a(iin)a(iin))\" direction=\"in\" />\n"
- "<arg name=\"sinkID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"deregisterSink\">\n"
- "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"returnError\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"peekSource\">\n"
- "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
- "<arg name=\"sourceID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"registerSource\">\n"
- "<arg name=\"sourceData\" type=\"(qqsqinb(ii)ia(in)aia(in)a(iin)a(iin))\" direction=\"in\" />\n"
- "<arg name=\"sourceID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"deregisterSource\">\n"
- "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"returnError\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"registerCrossfader\">\n"
- "<arg name=\"crossfaderData\" type=\"(qsqqqi)\" direction=\"in\" />\n"
- "<arg name=\"crossfaderID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"deregisterCrossfader\">\n"
- "<arg name=\"crossfaderID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"returnError\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"peekSourceClassID\">\n"
- "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
- "<arg name=\"sourceClassID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"peekSinkClassID\">\n"
- "<arg name=\"name\" type=\"s\" direction=\"in\" />\n"
- "<arg name=\"sinkClassID\" type=\"q\" direction=\"out\" />\n"
- "<arg name=\"error\" type=\"i\" direction=\"out\" />\n"
- "</method>\n"
- "<method name=\"hookInterruptStatusChange\">\n"
- "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"interruptState\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"hookDomainRegistrationComplete\">\n"
- "<arg name=\"domainID\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"hookSinkAvailablityStatusChange\">\n"
- "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"availability\" type=\"(ii)\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"hookSourceAvailablityStatusChange\">\n"
- "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"availability\" type=\"(ii)\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"hookDomainStateChange\">\n"
- "<arg name=\"domainID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"domainState\" type=\"i\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"hookTimingInformationChanged\">\n"
- "<arg name=\"connectionID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"delay\" type=\"n\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"sendChangedData\">\n"
- "<arg name=\"earlyData_volumes\" type=\"a(i(yv)(yv))\" direction=\"in\" />\n"
- "<arg name=\"earlyData_soundproperties\" type=\"a(i(yv)(yv))\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"confirmRoutingReady\">\n"
- "<arg name=\"domainID\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"confirmRoutingRundown\">\n"
- "<arg name=\"domainID\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"updateGateway\">\n"
- "<arg name=\"gatewayID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"listSourceFormats\" type=\"ai\" direction=\"in\" />\n"
- "<arg name=\"listSinkFormats\" type=\"ai\" direction=\"in\" />\n"
- "<arg name=\"convertionMatrix\" type=\"ab\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"updateSink\">\n"
- "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"sinkClassID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"listSoundProperties\" type=\"a(in)\" direction=\"in\" />\n"
- "<arg name=\"listConnectionFormats\" type=\"ai\" direction=\"in\" />\n"
- "<arg name=\"listMainSoundProperties\" type=\"a(in)\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"updateSource\">\n"
- "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"sourceClassID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"listSoundProperties\" type=\"a(in)\" direction=\"in\" />\n"
- "<arg name=\"listConnectionFormats\" type=\"ai\" direction=\"in\" />\n"
- "<arg name=\"listMainSoundProperties\" type=\"a(in)\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSetVolumes\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"listVolumes\" type=\"a(i(yv)niq)\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSinkNotificationConfiguration\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"ackSourceNotificationConfiguration\">\n"
- "<arg name=\"handle\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"error\" type=\"q\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"hookSinkNotificationDataChange\">\n"
- "<arg name=\"sinkID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"payload\" type=\"(nn)\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"hookSourceNotificationDataChange\">\n"
- "<arg name=\"sourceID\" type=\"q\" direction=\"in\" />\n"
- "<arg name=\"payload\" type=\"(nn)\" direction=\"in\" />\n"
- "</method>\n"
- "<method name=\"getRoutingReadyState\">\n"
- "<arg name=\"readyState\" type=\"b\" direction=\"out\" />\n"
- "</method>\n"
- ;
-}
-
-
-
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, am_gen::am_connectionID_t, uint16_t>,
- std::tuple<>
- > ackConnectStubDispatcher(&RoutingInterfaceStub::ackConnect, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, am_gen::am_connectionID_t, uint16_t>,
- std::tuple<>
- > ackDisconnectStubDispatcher(&RoutingInterfaceStub::ackDisconnect, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, am_gen::am_volume_t, uint16_t>,
- std::tuple<>
- > ackSetSinkVolumeStubDispatcher(&RoutingInterfaceStub::ackSetSinkVolume, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, am_gen::am_volume_t, uint16_t>,
- std::tuple<>
- > ackSetSourceVolumeStubDispatcher(&RoutingInterfaceStub::ackSetSourceVolume, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, uint16_t>,
- std::tuple<>
- > ackSetSourceStateStubDispatcher(&RoutingInterfaceStub::ackSetSourceState, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, uint16_t>,
- std::tuple<>
- > ackSetSinkSoundPropertiesStubDispatcher(&RoutingInterfaceStub::ackSetSinkSoundProperties, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, uint16_t>,
- std::tuple<>
- > ackSetSinkSoundPropertyStubDispatcher(&RoutingInterfaceStub::ackSetSinkSoundProperty, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, uint16_t>,
- std::tuple<>
- > ackSetSourceSoundPropertiesStubDispatcher(&RoutingInterfaceStub::ackSetSourceSoundProperties, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, uint16_t>,
- std::tuple<>
- > ackSetSourceSoundPropertyStubDispatcher(&RoutingInterfaceStub::ackSetSourceSoundProperty, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, am_gen::am_sourceID_t, am_gen::am_volume_t>,
- std::tuple<>
- > ackSourceVolumeTickStubDispatcher(&RoutingInterfaceStub::ackSourceVolumeTick, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, am_gen::am_sinkID_t, am_gen::am_volume_t>,
- std::tuple<>
- > ackSinkVolumeTickStubDispatcher(&RoutingInterfaceStub::ackSinkVolumeTick, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, am_gen::am_HotSink_e, am_gen::am_Error_e>,
- std::tuple<>
- > ackCrossFadingStubDispatcher(&RoutingInterfaceStub::ackCrossFading, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<std::string>,
- std::tuple<am_gen::am_domainID_t, am_gen::am_Error_e>
- > peekDomainStubDispatcher(&RoutingInterfaceStub::peekDomain, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_Domain_s, std::string, std::string, std::string>,
- std::tuple<am_gen::am_domainID_t, am_gen::am_Error_e>
- > registerDomainStubDispatcher(&RoutingInterfaceStub::registerDomain, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_domainID_t>,
- std::tuple<am_gen::am_Error_e>
- > deregisterDomainStubDispatcher(&RoutingInterfaceStub::deregisterDomain, "i");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_Gateway_s>,
- std::tuple<am_gen::am_gatewayID_t, am_gen::am_Error_e>
- > registerGatewayStubDispatcher(&RoutingInterfaceStub::registerGateway, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_gatewayID_t>,
- std::tuple<am_gen::am_Error_e>
- > deregisterGatewayStubDispatcher(&RoutingInterfaceStub::deregisterGateway, "i");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<std::string>,
- std::tuple<am_gen::am_sinkID_t, am_gen::am_Error_e>
- > peekSinkStubDispatcher(&RoutingInterfaceStub::peekSink, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::sinkData_s>,
- std::tuple<am_gen::am_sinkID_t, am_gen::am_Error_e>
- > registerSinkStubDispatcher(&RoutingInterfaceStub::registerSink, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_sinkID_t>,
- std::tuple<am_gen::am_Error_e>
- > deregisterSinkStubDispatcher(&RoutingInterfaceStub::deregisterSink, "i");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<std::string>,
- std::tuple<am_gen::am_sourceID_t, am_gen::am_Error_e>
- > peekSourceStubDispatcher(&RoutingInterfaceStub::peekSource, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::sourceData_s>,
- std::tuple<am_gen::am_sourceID_t, am_gen::am_Error_e>
- > registerSourceStubDispatcher(&RoutingInterfaceStub::registerSource, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_sourceID_t>,
- std::tuple<am_gen::am_Error_e>
- > deregisterSourceStubDispatcher(&RoutingInterfaceStub::deregisterSource, "i");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::crossfaderData_s>,
- std::tuple<am_gen::am_crossfaderID_t, am_gen::am_Error_e>
- > registerCrossfaderStubDispatcher(&RoutingInterfaceStub::registerCrossfader, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_crossfaderID_t>,
- std::tuple<am_gen::am_Error_e>
- > deregisterCrossfaderStubDispatcher(&RoutingInterfaceStub::deregisterCrossfader, "i");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<std::string>,
- std::tuple<am_gen::am_sourceClass_t, am_gen::am_Error_e>
- > peekSourceClassIDStubDispatcher(&RoutingInterfaceStub::peekSourceClassID, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<std::string>,
- std::tuple<am_gen::am_sinkClass_t, am_gen::am_Error_e>
- > peekSinkClassIDStubDispatcher(&RoutingInterfaceStub::peekSinkClassID, "qi");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_sourceID_t, uint16_t>,
- std::tuple<>
- > hookInterruptStatusChangeStubDispatcher(&RoutingInterfaceStub::hookInterruptStatusChange, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_domainID_t>,
- std::tuple<>
- > hookDomainRegistrationCompleteStubDispatcher(&RoutingInterfaceStub::hookDomainRegistrationComplete, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_sinkID_t, am_gen::am_Availability_s>,
- std::tuple<>
- > hookSinkAvailablityStatusChangeStubDispatcher(&RoutingInterfaceStub::hookSinkAvailablityStatusChange, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_sourceID_t, am_gen::am_Availability_s>,
- std::tuple<>
- > hookSourceAvailablityStatusChangeStubDispatcher(&RoutingInterfaceStub::hookSourceAvailablityStatusChange, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_domainID_t, am_gen::am_DomainState_e>,
- std::tuple<>
- > hookDomainStateChangeStubDispatcher(&RoutingInterfaceStub::hookDomainStateChange, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_connectionID_t, int16_t>,
- std::tuple<>
- > hookTimingInformationChangedStubDispatcher(&RoutingInterfaceStub::hookTimingInformationChanged, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_EarlyData_l, am_gen::am_EarlyData_l>,
- std::tuple<>
- > sendChangedDataStubDispatcher(&RoutingInterfaceStub::sendChangedData, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_domainID_t>,
- std::tuple<>
- > confirmRoutingReadyStubDispatcher(&RoutingInterfaceStub::confirmRoutingReady, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_domainID_t>,
- std::tuple<>
- > confirmRoutingRundownStubDispatcher(&RoutingInterfaceStub::confirmRoutingRundown, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_gatewayID_t, am_gen::am_ConnectionFormat_L, am_gen::am_ConnectionFormat_L, am_gen::bool_L>,
- std::tuple<>
- > updateGatewayStubDispatcher(&RoutingInterfaceStub::updateGateway, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_sinkID_t, am_gen::am_sinkClass_t, am_gen::am_SoundProperty_L, am_gen::am_ConnectionFormat_L, am_gen::am_MainSoundProperty_L>,
- std::tuple<>
- > updateSinkStubDispatcher(&RoutingInterfaceStub::updateSink, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_sourceID_t, am_gen::am_sourceClass_t, am_gen::am_SoundProperty_L, am_gen::am_ConnectionFormat_L, am_gen::am_MainSoundProperty_L>,
- std::tuple<>
- > updateSourceStubDispatcher(&RoutingInterfaceStub::updateSource, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, am_gen::am_Volumes_l, uint16_t>,
- std::tuple<>
- > ackSetVolumesStubDispatcher(&RoutingInterfaceStub::ackSetVolumes, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, uint16_t>,
- std::tuple<>
- > ackSinkNotificationConfigurationStubDispatcher(&RoutingInterfaceStub::ackSinkNotificationConfiguration, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<uint16_t, uint16_t>,
- std::tuple<>
- > ackSourceNotificationConfigurationStubDispatcher(&RoutingInterfaceStub::ackSourceNotificationConfiguration, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_sinkID_t, am_gen::notificationPayload_s>,
- std::tuple<>
- > hookSinkNotificationDataChangeStubDispatcher(&RoutingInterfaceStub::hookSinkNotificationDataChange, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<am_gen::am_sourceID_t, am_gen::notificationPayload_s>,
- std::tuple<>
- > hookSourceNotificationDataChangeStubDispatcher(&RoutingInterfaceStub::hookSourceNotificationDataChange, "");
-static CommonAPI::DBus::DBusMethodWithReplyStubDispatcher<
- RoutingInterfaceStub,
- std::tuple<>,
- std::tuple<bool>
- > getRoutingReadyStateStubDispatcher(&RoutingInterfaceStub::getRoutingReadyState, "b");
-
-
-void RoutingInterfaceDBusStubAdapter::fireSetRoutingReadyEvent() {
- CommonAPI::DBus::DBusStubSignalHelper<CommonAPI::DBus::DBusSerializableArguments<>>
- ::sendSignal(
- *this,
- "setRoutingReady",
- ""
- );
-}
-void RoutingInterfaceDBusStubAdapter::fireSetRoutingRundownEvent() {
- CommonAPI::DBus::DBusStubSignalHelper<CommonAPI::DBus::DBusSerializableArguments<>>
- ::sendSignal(
- *this,
- "setRoutingRundown",
- ""
- );
-}
-
-} // namespace audiomanager
-} // namespace genivi
-} // namespace org
-
-template<>
-const org::genivi::audiomanager::RoutingInterfaceDBusStubAdapterHelper::StubDispatcherTable org::genivi::audiomanager::RoutingInterfaceDBusStubAdapterHelper::stubDispatcherTable_ = {
- { { "ackConnect", "qqq" }, &org::genivi::audiomanager::ackConnectStubDispatcher },
- { { "ackDisconnect", "qqq" }, &org::genivi::audiomanager::ackDisconnectStubDispatcher },
- { { "ackSetSinkVolume", "qnq" }, &org::genivi::audiomanager::ackSetSinkVolumeStubDispatcher },
- { { "ackSetSourceVolume", "qnq" }, &org::genivi::audiomanager::ackSetSourceVolumeStubDispatcher },
- { { "ackSetSourceState", "qq" }, &org::genivi::audiomanager::ackSetSourceStateStubDispatcher },
- { { "ackSetSinkSoundProperties", "qq" }, &org::genivi::audiomanager::ackSetSinkSoundPropertiesStubDispatcher },
- { { "ackSetSinkSoundProperty", "qq" }, &org::genivi::audiomanager::ackSetSinkSoundPropertyStubDispatcher },
- { { "ackSetSourceSoundProperties", "qq" }, &org::genivi::audiomanager::ackSetSourceSoundPropertiesStubDispatcher },
- { { "ackSetSourceSoundProperty", "qq" }, &org::genivi::audiomanager::ackSetSourceSoundPropertyStubDispatcher },
- { { "ackSourceVolumeTick", "qqn" }, &org::genivi::audiomanager::ackSourceVolumeTickStubDispatcher },
- { { "ackSinkVolumeTick", "qqn" }, &org::genivi::audiomanager::ackSinkVolumeTickStubDispatcher },
- { { "ackCrossFading", "qii" }, &org::genivi::audiomanager::ackCrossFadingStubDispatcher },
- { { "peekDomain", "s" }, &org::genivi::audiomanager::peekDomainStubDispatcher },
- { { "registerDomain", "(qsssbbi)sss" }, &org::genivi::audiomanager::registerDomainStubDispatcher },
- { { "deregisterDomain", "q" }, &org::genivi::audiomanager::deregisterDomainStubDispatcher },
- { { "registerGateway", "(qsqqqqqaiaiab)" }, &org::genivi::audiomanager::registerGatewayStubDispatcher },
- { { "deregisterGateway", "q" }, &org::genivi::audiomanager::deregisterGatewayStubDispatcher },
- { { "peekSink", "s" }, &org::genivi::audiomanager::peekSinkStubDispatcher },
- { { "registerSink", "(qsqqnb(ii)ina(in)aia(in)a(iin)a(iin))" }, &org::genivi::audiomanager::registerSinkStubDispatcher },
- { { "deregisterSink", "q" }, &org::genivi::audiomanager::deregisterSinkStubDispatcher },
- { { "peekSource", "s" }, &org::genivi::audiomanager::peekSourceStubDispatcher },
- { { "registerSource", "(qqsqinb(ii)ia(in)aia(in)a(iin)a(iin))" }, &org::genivi::audiomanager::registerSourceStubDispatcher },
- { { "deregisterSource", "q" }, &org::genivi::audiomanager::deregisterSourceStubDispatcher },
- { { "registerCrossfader", "(qsqqqi)" }, &org::genivi::audiomanager::registerCrossfaderStubDispatcher },
- { { "deregisterCrossfader", "q" }, &org::genivi::audiomanager::deregisterCrossfaderStubDispatcher },
- { { "peekSourceClassID", "s" }, &org::genivi::audiomanager::peekSourceClassIDStubDispatcher },
- { { "peekSinkClassID", "s" }, &org::genivi::audiomanager::peekSinkClassIDStubDispatcher },
- { { "hookInterruptStatusChange", "qq" }, &org::genivi::audiomanager::hookInterruptStatusChangeStubDispatcher },
- { { "hookDomainRegistrationComplete", "q" }, &org::genivi::audiomanager::hookDomainRegistrationCompleteStubDispatcher },
- { { "hookSinkAvailablityStatusChange", "q(ii)" }, &org::genivi::audiomanager::hookSinkAvailablityStatusChangeStubDispatcher },
- { { "hookSourceAvailablityStatusChange", "q(ii)" }, &org::genivi::audiomanager::hookSourceAvailablityStatusChangeStubDispatcher },
- { { "hookDomainStateChange", "qi" }, &org::genivi::audiomanager::hookDomainStateChangeStubDispatcher },
- { { "hookTimingInformationChanged", "qn" }, &org::genivi::audiomanager::hookTimingInformationChangedStubDispatcher },
- { { "sendChangedData", "a(i(yv)(yv))a(i(yv)(yv))" }, &org::genivi::audiomanager::sendChangedDataStubDispatcher },
- { { "confirmRoutingReady", "q" }, &org::genivi::audiomanager::confirmRoutingReadyStubDispatcher },
- { { "confirmRoutingRundown", "q" }, &org::genivi::audiomanager::confirmRoutingRundownStubDispatcher },
- { { "updateGateway", "qaiaiab" }, &org::genivi::audiomanager::updateGatewayStubDispatcher },
- { { "updateSink", "qqa(in)aia(in)" }, &org::genivi::audiomanager::updateSinkStubDispatcher },
- { { "updateSource", "qqa(in)aia(in)" }, &org::genivi::audiomanager::updateSourceStubDispatcher },
- { { "ackSetVolumes", "qa(i(yv)niq)q" }, &org::genivi::audiomanager::ackSetVolumesStubDispatcher },
- { { "ackSinkNotificationConfiguration", "qq" }, &org::genivi::audiomanager::ackSinkNotificationConfigurationStubDispatcher },
- { { "ackSourceNotificationConfiguration", "qq" }, &org::genivi::audiomanager::ackSourceNotificationConfigurationStubDispatcher },
- { { "hookSinkNotificationDataChange", "q(nn)" }, &org::genivi::audiomanager::hookSinkNotificationDataChangeStubDispatcher },
- { { "hookSourceNotificationDataChange", "q(nn)" }, &org::genivi::audiomanager::hookSourceNotificationDataChangeStubDispatcher },
- { { "getRoutingReadyState", "" }, &org::genivi::audiomanager::getRoutingReadyStateStubDispatcher }
-};
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusStubAdapter.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusStubAdapter.h
deleted file mode 100644
index 7718954..0000000
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceDBusStubAdapter.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
-* This file was generated by the CommonAPI Generators.
-*
- * Copyright (c) 2012 BMW
- *
- * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
- *
- * \copyright
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * For further information see http://www.genivi.org/.
-*/
-#ifndef ORG_GENIVI_AUDIOMANAGER_Routing_Interface_DBUS_STUB_ADAPTER_H_
-#define ORG_GENIVI_AUDIOMANAGER_Routing_Interface_DBUS_STUB_ADAPTER_H_
-
-#include <org/genivi/audiomanager/RoutingInterfaceStub.h>
-
-#define COMMONAPI_INTERNAL_COMPILATION
-
-#include <CommonAPI/DBus/DBusStubAdapterHelper.h>
-#include <CommonAPI/DBus/DBusFactory.h>
-
-#undef COMMONAPI_INTERNAL_COMPILATION
-
-namespace org {
-namespace genivi {
-namespace audiomanager {
-
-typedef CommonAPI::DBus::DBusStubAdapterHelper<RoutingInterfaceStub> RoutingInterfaceDBusStubAdapterHelper;
-
-class RoutingInterfaceDBusStubAdapter: public RoutingInterfaceStubAdapter, public RoutingInterfaceDBusStubAdapterHelper {
- public:
- RoutingInterfaceDBusStubAdapter(
- const std::string& commonApiAddress,
- const std::string& dbusInterfaceName,
- const std::string& dbusBusName,
- const std::string& dbusObjectPath,
- const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusConnection,
- const std::shared_ptr<CommonAPI::StubBase>& stub);
-
-
- void fireSetRoutingReadyEvent();
- void fireSetRoutingRundownEvent();
-
- protected:
- virtual const char* getMethodsDBusIntrospectionXmlData() const;
-};
-
-} // namespace audiomanager
-} // namespace genivi
-} // namespace org
-
-#endif // ORG_GENIVI_AUDIOMANAGER_Routing_Interface_DBUS_STUB_ADAPTER_H_
diff --git a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceProxyBase.h b/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceProxyBase.h
deleted file mode 100644
index f0726f5..0000000
--- a/PluginRoutingInterfaceCAPI/src-gen/org/genivi/audiomanager/RoutingInterfaceProxyBase.h
+++ /dev/null
@@ -1,242 +0,0 @@
- /*
- * This file was generated by the CommonAPI Generators.
- *
- * Copyright (c) 2012 BMW
- *
- * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
- *
- * \copyright
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
- * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * For further information see http://www.genivi.org/.
- */
- #ifndef ORG_GENIVI_AUDIOMANAGER_Routing_Interface_PROXY_BASE_H_
- #define ORG_GENIVI_AUDIOMANAGER_Routing_Interface_PROXY_BASE_H_
-
- #include "RoutingInterface.h"
-
-
- #include <org/genivi/audiomanager/am_gen.h>
-
- #define COMMONAPI_INTERNAL_COMPILATION
-
- #include <CommonAPI/InputStream.h>
- #include <CommonAPI/OutputStream.h>
- #include <CommonAPI/SerializableStruct.h>
- #include <cstdint>
- #include <string>
- #include <vector>
-
- #include <CommonAPI/Event.h>
- #include <CommonAPI/Proxy.h>
- #include <functional>
- #include <future>
-
- #undef COMMONAPI_INTERNAL_COMPILATION
-
- namespace org {
- namespace genivi {
- namespace audiomanager {
-
- class RoutingInterfaceProxyBase: virtual public CommonAPI::Proxy {
- public:
- typedef CommonAPI::Event<> SetRoutingReadyEvent;
- typedef CommonAPI::Event<> SetRoutingRundownEvent;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckConnectAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckDisconnectAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSinkVolumeAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSourceVolumeAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSourceStateAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSinkSoundPropertiesAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSinkSoundPropertyAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSourceSoundPropertiesAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckSetSourceSoundPropertyAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckSourceVolumeTickAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckSinkVolumeTickAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&)> AckCrossFadingAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&, const am_gen::am_domainID_t&, const am_gen::am_Error_e&)> PeekDomainAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&, const am_gen::am_domainID_t&, const am_gen::am_Error_e&)> RegisterDomainAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&, const am_gen::am_Error_e&)> DeregisterDomainAsyncCallback;
- typedef std::function<void(const CommonAPI::CallStatus&, c