71835377edf65a504aa74f446bfa94e2acd2fdec
[profile/ivi/genivi/genivi-audio-manager.git] / PluginRoutingInterfaceCAPI / src-gen / org / genivi / am / RoutingControlDBusProxy.cpp
1 /*
2 * This file was generated by the CommonAPI Generators. 
3 * Used org.genivi.commonapi.core 2.1.1.201309251246.
4 * Used org.franca.core 0.8.9.201308271211.
5 *
6 * Copyright (c) 2012 BMW
7
8 * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
9
10 * \copyright
11 * 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,
12 * 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,
13 * subject to the following conditions:
14 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
15 * 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.
16 * 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
17 * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18
19 * For further information see http://www.genivi.org/.
20 */
21 /**
22  * This class implements everything from Audiomanager -> RoutingAdapter
23  * @author Christian Mueller
24  */
25 #include "RoutingControlDBusProxy.h"
26
27 namespace org {
28 namespace genivi {
29 namespace am {
30
31 std::shared_ptr<CommonAPI::DBus::DBusProxy> createRoutingControlDBusProxy(
32                     const std::shared_ptr<CommonAPI::DBus::DBusFactory>& factory,
33                     const std::string& commonApiAddress,
34                     const std::string& interfaceName,
35                     const std::string& busName,
36                     const std::string& objectPath,
37                     const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyConnection) {
38     return std::make_shared<RoutingControlDBusProxy>(factory, commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection);
39 }
40
41 __attribute__((constructor)) void registerRoutingControlDBusProxy(void) {
42     CommonAPI::DBus::DBusFactory::registerProxyFactoryMethod(RoutingControl::getInterfaceId(),
43        &createRoutingControlDBusProxy);
44 }
45
46 RoutingControlDBusProxy::RoutingControlDBusProxy(
47                     const std::shared_ptr<CommonAPI::DBus::DBusFactory>& factory,
48                     const std::string& commonApiAddress,
49                     const std::string& interfaceName,
50                     const std::string& busName,
51                     const std::string& objectPath,
52                     const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection):
53         CommonAPI::DBus::DBusProxy(factory, commonApiAddress, interfaceName, busName, objectPath, dbusProxyconnection)
54     {
55     }
56
57
58
59 /**
60  * aborts an asynchronous action.
61 (at)return E_OK on success, E_UNKNOWN on error,
62  *  E_NON_EXISTENT if handle was not found
63  */
64 void RoutingControlDBusProxy::asyncAbort(const am_Handle_s& handle, CommonAPI::CallStatus& callStatus) {
65     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s>,
66                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
67         *this,
68         "asyncAbort",
69         "(iq)",
70         handle, 
71         callStatus
72         );
73 }
74 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncAbortAsync(const am_Handle_s& handle, AsyncAbortAsyncCallback callback) {
75     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s>,
76                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
77         *this,
78         "asyncAbort",
79         "(iq)",
80         handle, 
81         std::move(callback));
82 }
83 /**
84  * connects a source to a sink
85 (at)return E_OK on success, E_UNKNOWN on error,
86  *  E_WRONG_FORMAT in case am_ConnectionFormat_e does not match
87  */
88 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) {
89     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t, am_sourceID_t, am_sinkID_t, am_ConnectionFormat_pe>,
90                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
91         *this,
92         "asyncConnect",
93         "(iq)qqqq",
94         handle, connectionID, sourceID, sinkID, connectionFormat, 
95         callStatus
96         );
97 }
98 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) {
99     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t, am_sourceID_t, am_sinkID_t, am_ConnectionFormat_pe>,
100                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
101         *this,
102         "asyncConnect",
103         "(iq)qqqq",
104         handle, connectionID, sourceID, sinkID, connectionFormat, 
105         std::move(callback));
106 }
107 /**
108  * disconnect a connection with given connectionID
109 (at)return E_OK on success,
110  *  E_UNKNOWN on error, E_NON_EXISTENT if connection was not found
111  */
112 void RoutingControlDBusProxy::asyncDisconnect(const am_Handle_s& handle, const am_connectionID_t& connectionID, CommonAPI::CallStatus& callStatus) {
113     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t>,
114                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
115         *this,
116         "asyncDisconnect",
117         "(iq)q",
118         handle, connectionID, 
119         callStatus
120         );
121 }
122 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncDisconnectAsync(const am_Handle_s& handle, const am_connectionID_t& connectionID, AsyncDisconnectAsyncCallback callback) {
123     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_connectionID_t>,
124                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
125         *this,
126         "asyncDisconnect",
127         "(iq)q",
128         handle, connectionID, 
129         std::move(callback));
130 }
131 /**
132  * this method is used to set the volume of a sink. This function is used to drive
133  *  ramps, to mute or unmute or directly set the value. The difference is made
134  *  through the ramptype.
135 (at)return E_OK on success, E_UNKNOWN on error,
136  *  E_OUT_OF_RANGE if new volume is out of range
137  */
138 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) {
139     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_volume_t, am_RampType_pe, am_time_t>,
140                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
141         *this,
142         "asyncSetSinkVolume",
143         "(iq)qnqn",
144         handle, sinkID, volume, ramp, time, 
145         callStatus
146         );
147 }
148 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) {
149     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_volume_t, am_RampType_pe, am_time_t>,
150                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
151         *this,
152         "asyncSetSinkVolume",
153         "(iq)qnqn",
154         handle, sinkID, volume, ramp, time, 
155         std::move(callback));
156 }
157 /**
158  * sets the volume of a source. This method is used to set the volume of a sink.
159  *  This function is used to drive ramps, to mute or unmute or directly set the
160  *  value. The difference is made through the ramptype.
161 (at)return E_OK on
162  *  success, E_UNKNOWN on error, E_OUT_OF_RANGE if volume is out of
163  *  range.
164 triggers the acknowledge ackSourceVolumeChange
165  */
166 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) {
167     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_volume_t, am_RampType_pe, am_time_t>,
168                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
169         *this,
170         "asyncSetSourceVolume",
171         "(iq)qnqn",
172         handle, sourceID, volume, ramp, time, 
173         callStatus
174         );
175 }
176 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) {
177     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_volume_t, am_RampType_pe, am_time_t>,
178                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
179         *this,
180         "asyncSetSourceVolume",
181         "(iq)qnqn",
182         handle, sourceID, volume, ramp, time, 
183         std::move(callback));
184 }
185 /**
186  * This function is used to set the source state of a particular
187  *  source.
188 (at)return E_OK on success, E_UNKNOWN on error
189  */
190 void RoutingControlDBusProxy::asyncSetSourceState(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, CommonAPI::CallStatus& callStatus) {
191     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SourceState_e>,
192                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
193         *this,
194         "asyncSetSourceState",
195         "(iq)qi",
196         handle, sourceID, state, 
197         callStatus
198         );
199 }
200 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSourceStateAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SourceState_e& state, AsyncSetSourceStateAsyncCallback callback) {
201     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SourceState_e>,
202                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
203         *this,
204         "asyncSetSourceState",
205         "(iq)qi",
206         handle, sourceID, state, 
207         std::move(callback));
208 }
209 /**
210  * this function sets the sinksoundproperty.
211 (at)return E_OK on success,
212  *  E_UNKNOWN on error, E_OUT_OF_RANGE in case the propery value is out of range
213  */
214 void RoutingControlDBusProxy::asyncSetSinkSoundProperties(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) {
215     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_SoundProperty_L>,
216                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
217         *this,
218         "asyncSetSinkSoundProperties",
219         "(iq)qa(qn)",
220         handle, sinkID, listSoundProperties, 
221         callStatus
222         );
223 }
224 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSinkSoundPropertiesAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_L& listSoundProperties, AsyncSetSinkSoundPropertiesAsyncCallback callback) {
225     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_SoundProperty_L>,
226                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
227         *this,
228         "asyncSetSinkSoundProperties",
229         "(iq)qa(qn)",
230         handle, sinkID, listSoundProperties, 
231         std::move(callback));
232 }
233 /**
234  * this function sets the sinksoundproperty.
235 (at)return E_OK on success,
236  *  E_UNKNOWN on error, E_OUT_OF_RANGE in case the propery value is out of range
237  */
238 void RoutingControlDBusProxy::asyncSetSinkSoundProperty(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) {
239     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_SoundProperty_s>,
240                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
241         *this,
242         "asyncSetSinkSoundProperty",
243         "(iq)q(qn)",
244         handle, sinkID, soundProperty, 
245         callStatus
246         );
247 }
248 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSinkSoundPropertyAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_SoundProperty_s& soundProperty, AsyncSetSinkSoundPropertyAsyncCallback callback) {
249     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_SoundProperty_s>,
250                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
251         *this,
252         "asyncSetSinkSoundProperty",
253         "(iq)q(qn)",
254         handle, sinkID, soundProperty, 
255         std::move(callback));
256 }
257 /**
258  * this function sets the sourcesoundproperty.
259 (at)return E_OK on success,
260  *  E_UNKNOWN on error, E_OUT_OF_RANGE in case the propery value is out of range
261  */
262 void RoutingControlDBusProxy::asyncSetSourceSoundProperties(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, CommonAPI::CallStatus& callStatus) {
263     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SoundProperty_L>,
264                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
265         *this,
266         "asyncSetSourceSoundProperties",
267         "(iq)qa(qn)",
268         handle, sourceID, listSoundProperties, 
269         callStatus
270         );
271 }
272 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSourceSoundPropertiesAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_L& listSoundProperties, AsyncSetSourceSoundPropertiesAsyncCallback callback) {
273     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SoundProperty_L>,
274                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
275         *this,
276         "asyncSetSourceSoundProperties",
277         "(iq)qa(qn)",
278         handle, sourceID, listSoundProperties, 
279         std::move(callback));
280 }
281 /**
282  * this function sets the sourcesoundproperty.
283 (at)return E_OK on success,
284  *  E_UNKNOWN on error, E_OUT_OF_RANGE in case the propery value is out of range
285  */
286 void RoutingControlDBusProxy::asyncSetSourceSoundProperty(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus) {
287     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SoundProperty_s>,
288                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
289         *this,
290         "asyncSetSourceSoundProperty",
291         "(iq)q(qn)",
292         handle, sourceID, soundProperty, 
293         callStatus
294         );
295 }
296 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSourceSoundPropertyAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_SoundProperty_s& soundProperty, AsyncSetSourceSoundPropertyAsyncCallback callback) {
297     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_SoundProperty_s>,
298                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
299         *this,
300         "asyncSetSourceSoundProperty",
301         "(iq)q(qn)",
302         handle, sourceID, soundProperty, 
303         std::move(callback));
304 }
305 /**
306  * this function triggers crossfading.
307 (at)return E_OK on success, E_UNKNOWN on
308  *  error
309  */
310 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) {
311     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_crossfaderID_t, am_HotSink_e, am_RampType_pe, am_time_t>,
312                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
313         *this,
314         "asyncCrossFade",
315         "(iq)qiqn",
316         handle, crossfaderID, hotSink, rampType, time, 
317         callStatus
318         );
319 }
320 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) {
321     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_crossfaderID_t, am_HotSink_e, am_RampType_pe, am_time_t>,
322                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
323         *this,
324         "asyncCrossFade",
325         "(iq)qiqn",
326         handle, crossfaderID, hotSink, rampType, time, 
327         std::move(callback));
328 }
329 /**
330  * this function is used for early and late audio functions to set the domain
331  *  state
332 (at)return E_OK on success, E_UNKNOWN on error
333  */
334 void RoutingControlDBusProxy::setDomainState(const am_domainID_t& domainID, const am_DomainState_e& domainState, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
335     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_DomainState_e>,
336                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
337         *this,
338         "setDomainState",
339         "qi",
340         domainID, domainState, 
341         callStatus
342         , error);
343 }
344 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::setDomainStateAsync(const am_domainID_t& domainID, const am_DomainState_e& domainState, SetDomainStateAsyncCallback callback) {
345     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_domainID_t, am_DomainState_e>,
346                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
347         *this,
348         "setDomainState",
349         "qi",
350         domainID, domainState, 
351         std::move(callback));
352 }
353 void RoutingControlDBusProxy::asyncSetVolumes(const am_Handle_s& handle, const am_Volumes_L& volumes, CommonAPI::CallStatus& callStatus) {
354     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Volumes_L>,
355                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
356         *this,
357         "asyncSetVolumes",
358         "(iq)a(i(yv)nqn)",
359         handle, volumes, 
360         callStatus
361         );
362 }
363 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetVolumesAsync(const am_Handle_s& handle, const am_Volumes_L& volumes, AsyncSetVolumesAsyncCallback callback) {
364     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_Volumes_L>,
365                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
366         *this,
367         "asyncSetVolumes",
368         "(iq)a(i(yv)nqn)",
369         handle, volumes, 
370         std::move(callback));
371 }
372 void RoutingControlDBusProxy::asyncSetSinkNotificationConfiguration(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) {
373     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_NotificationConfiguration_s>,
374                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
375         *this,
376         "asyncSetSinkNotificationConfiguration",
377         "(iq)q(qin)",
378         handle, sinkID, notificationConfiguration, 
379         callStatus
380         );
381 }
382 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSinkNotificationConfigurationAsync(const am_Handle_s& handle, const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSinkNotificationConfigurationAsyncCallback callback) {
383     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sinkID_t, am_NotificationConfiguration_s>,
384                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
385         *this,
386         "asyncSetSinkNotificationConfiguration",
387         "(iq)q(qin)",
388         handle, sinkID, notificationConfiguration, 
389         std::move(callback));
390 }
391 void RoutingControlDBusProxy::asyncSetSourceNotificationConfiguration(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, CommonAPI::CallStatus& callStatus) {
392     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_NotificationConfiguration_s>,
393                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodWithReply(
394         *this,
395         "asyncSetSourceNotificationConfiguration",
396         "(iq)q(qin)",
397         handle, sourceID, notificationConfiguration, 
398         callStatus
399         );
400 }
401 std::future<CommonAPI::CallStatus> RoutingControlDBusProxy::asyncSetSourceNotificationConfigurationAsync(const am_Handle_s& handle, const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& notificationConfiguration, AsyncSetSourceNotificationConfigurationAsyncCallback callback) {
402     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_Handle_s, am_sourceID_t, am_NotificationConfiguration_s>,
403                                      CommonAPI::DBus::DBusSerializableArguments<> >::callMethodAsync(
404         *this,
405         "asyncSetSourceNotificationConfiguration",
406         "(iq)q(qin)",
407         handle, sourceID, notificationConfiguration, 
408         std::move(callback));
409 }
410
411
412
413 void RoutingControlDBusProxy::getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const {
414     ownVersionMajor = 0;
415     ownVersionMinor = 1;
416 }
417
418 } // namespace am
419 } // namespace genivi
420 } // namespace org