49011450731ed33d7bfdf707fc4385099608d3d6
[profile/ivi/genivi/genivi-audio-manager.git] / PluginCommandInterfaceCAPI / src-gen / org / genivi / am / CommandControlDBusProxy.cpp
1 /*
2 * This file was generated by the CommonAPI Generators.
3 *
4  * Copyright (C) 2013, BMW AG
5  *
6  * \author Christian Linke, christian.linke@bmw.de BMW 2012,2013
7 */
8 #include "CommandControlDBusProxy.h"
9
10 namespace org {
11 namespace genivi {
12 namespace am {
13
14 std::shared_ptr<CommonAPI::DBus::DBusProxy> createCommandControlDBusProxy(
15                     const std::string& commonApiAddress,
16                     const std::string& interfaceName,
17                     const std::string& busName,
18                     const std::string& objectPath,
19                     const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyConnection) {
20     return std::make_shared<CommandControlDBusProxy>(commonApiAddress, interfaceName, busName, objectPath, dbusProxyConnection);
21 }
22
23 __attribute__((constructor)) void registerCommandControlDBusProxy(void) {
24     CommonAPI::DBus::DBusFactory::registerProxyFactoryMethod(CommandControl::getInterfaceId(),
25        &createCommandControlDBusProxy);
26 }
27
28 CommandControlDBusProxy::CommandControlDBusProxy(
29                     const std::string& commonApiAddress,
30                     const std::string& interfaceName,
31                     const std::string& busName,
32                     const std::string& objectPath,
33                     const std::shared_ptr<CommonAPI::DBus::DBusProxyConnection>& dbusProxyconnection):
34         CommonAPI::DBus::DBusProxy(commonApiAddress, interfaceName, busName, objectPath, dbusProxyconnection)
35 ,        newMainConnection_(*this, "newMainConnection", "(qqqni)"),
36                         removedMainConnection_(*this, "removedMainConnection", "q"),
37                         newSink_(*this, "newSink", "(qs(iq)niq)"),
38                         removedSink_(*this, "removedSink", "q"),
39                         newSource_(*this, "newSource", "(qs(iq)q)"),
40                         removedSource_(*this, "removedSource", "q"),
41                         numberOfSinkClassesChanged_(*this, "numberOfSinkClassesChanged", ""),
42                         numberOfSourceClassesChanged_(*this, "numberOfSourceClassesChanged", ""),
43                         mainConnectionStateChanged_(*this, "mainConnectionStateChanged", "qi"),
44                         mainSinkSoundPropertyChanged_(*this, "mainSinkSoundPropertyChanged", "q(qn)"),
45                         mainSourceSoundPropertyChanged_(*this, "mainSourceSoundPropertyChanged", "q(qn)"),
46                         sinkAvailabilityChanged_(*this, "sinkAvailabilityChanged", "q(iq)"),
47                         sourceAvailabilityChanged_(*this, "sourceAvailabilityChanged", "q(iq)"),
48                         volumeChanged_(*this, "volumeChanged", "qn"),
49                         sinkMuteStateChanged_(*this, "sinkMuteStateChanged", "qi"),
50                         systemPropertyChanged_(*this, "systemPropertyChanged", "(qn)"),
51                         timingInformationChanged_(*this, "timingInformationChanged", "qn"),
52                         sinkUpdated_(*this, "sinkUpdated", "qqa(qn)"),
53                         sourceUpdated_(*this, "sourceUpdated", "qqa(qn)"),
54                         sinkNotification_(*this, "sinkNotification", "q(qn)"),
55                         sourceNotification_(*this, "sourceNotification", "q(qn)"),
56                         mainSinkNotificationConfigurationChanged_(*this, "mainSinkNotificationConfigurationChanged", "q(qin)"),
57                         mainSourceNotificationConfigurationChanged_(*this, "mainSourceNotificationConfigurationChanged", "q(qin)")
58                  {
59 }
60
61
62 CommandControlDBusProxy::NewMainConnectionEvent& CommandControlDBusProxy::getNewMainConnectionEvent() {
63     return newMainConnection_;
64 }
65 CommandControlDBusProxy::RemovedMainConnectionEvent& CommandControlDBusProxy::getRemovedMainConnectionEvent() {
66     return removedMainConnection_;
67 }
68 CommandControlDBusProxy::NewSinkEvent& CommandControlDBusProxy::getNewSinkEvent() {
69     return newSink_;
70 }
71 CommandControlDBusProxy::RemovedSinkEvent& CommandControlDBusProxy::getRemovedSinkEvent() {
72     return removedSink_;
73 }
74 CommandControlDBusProxy::NewSourceEvent& CommandControlDBusProxy::getNewSourceEvent() {
75     return newSource_;
76 }
77 CommandControlDBusProxy::RemovedSourceEvent& CommandControlDBusProxy::getRemovedSourceEvent() {
78     return removedSource_;
79 }
80 CommandControlDBusProxy::NumberOfSinkClassesChangedEvent& CommandControlDBusProxy::getNumberOfSinkClassesChangedEvent() {
81     return numberOfSinkClassesChanged_;
82 }
83 CommandControlDBusProxy::NumberOfSourceClassesChangedEvent& CommandControlDBusProxy::getNumberOfSourceClassesChangedEvent() {
84     return numberOfSourceClassesChanged_;
85 }
86 CommandControlDBusProxy::MainConnectionStateChangedEvent& CommandControlDBusProxy::getMainConnectionStateChangedEvent() {
87     return mainConnectionStateChanged_;
88 }
89 CommandControlDBusProxy::MainSinkSoundPropertyChangedEvent& CommandControlDBusProxy::getMainSinkSoundPropertyChangedEvent() {
90     return mainSinkSoundPropertyChanged_;
91 }
92 CommandControlDBusProxy::MainSourceSoundPropertyChangedEvent& CommandControlDBusProxy::getMainSourceSoundPropertyChangedEvent() {
93     return mainSourceSoundPropertyChanged_;
94 }
95 CommandControlDBusProxy::SinkAvailabilityChangedEvent& CommandControlDBusProxy::getSinkAvailabilityChangedEvent() {
96     return sinkAvailabilityChanged_;
97 }
98 CommandControlDBusProxy::SourceAvailabilityChangedEvent& CommandControlDBusProxy::getSourceAvailabilityChangedEvent() {
99     return sourceAvailabilityChanged_;
100 }
101 CommandControlDBusProxy::VolumeChangedEvent& CommandControlDBusProxy::getVolumeChangedEvent() {
102     return volumeChanged_;
103 }
104 CommandControlDBusProxy::SinkMuteStateChangedEvent& CommandControlDBusProxy::getSinkMuteStateChangedEvent() {
105     return sinkMuteStateChanged_;
106 }
107 CommandControlDBusProxy::SystemPropertyChangedEvent& CommandControlDBusProxy::getSystemPropertyChangedEvent() {
108     return systemPropertyChanged_;
109 }
110 CommandControlDBusProxy::TimingInformationChangedEvent& CommandControlDBusProxy::getTimingInformationChangedEvent() {
111     return timingInformationChanged_;
112 }
113 CommandControlDBusProxy::SinkUpdatedEvent& CommandControlDBusProxy::getSinkUpdatedEvent() {
114     return sinkUpdated_;
115 }
116 CommandControlDBusProxy::SourceUpdatedEvent& CommandControlDBusProxy::getSourceUpdatedEvent() {
117     return sourceUpdated_;
118 }
119 CommandControlDBusProxy::SinkNotificationEvent& CommandControlDBusProxy::getSinkNotificationEvent() {
120     return sinkNotification_;
121 }
122 CommandControlDBusProxy::SourceNotificationEvent& CommandControlDBusProxy::getSourceNotificationEvent() {
123     return sourceNotification_;
124 }
125 CommandControlDBusProxy::MainSinkNotificationConfigurationChangedEvent& CommandControlDBusProxy::getMainSinkNotificationConfigurationChangedEvent() {
126     return mainSinkNotificationConfigurationChanged_;
127 }
128 CommandControlDBusProxy::MainSourceNotificationConfigurationChangedEvent& CommandControlDBusProxy::getMainSourceNotificationConfigurationChangedEvent() {
129     return mainSourceNotificationConfigurationChanged_;
130 }
131
132 void CommandControlDBusProxy::connect(const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_mainConnectionID_t& mainConnectionID, am_Error_e& error) {
133     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_sinkID_t>,
134                                      CommonAPI::DBus::DBusSerializableArguments<am_mainConnectionID_t, am_Error_e> >::callMethodWithReply(
135         *this,
136         "connect",
137         "qq",
138         sourceID, sinkID, 
139         callStatus
140         , mainConnectionID, error);
141 }
142 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::connectAsync(const am_sourceID_t& sourceID, const am_sinkID_t& sinkID, ConnectAsyncCallback callback) {
143     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_sinkID_t>,
144                                      CommonAPI::DBus::DBusSerializableArguments<am_mainConnectionID_t, am_Error_e> >::callMethodAsync(
145         *this,
146         "connect",
147         "qq",
148         sourceID, sinkID, 
149         std::move(callback));
150 }
151 void CommandControlDBusProxy::disconnect(const am_mainConnectionID_t& mainConnectionID, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
152     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_mainConnectionID_t>,
153                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
154         *this,
155         "disconnect",
156         "q",
157         mainConnectionID, 
158         callStatus
159         , error);
160 }
161 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::disconnectAsync(const am_mainConnectionID_t& mainConnectionID, DisconnectAsyncCallback callback) {
162     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_mainConnectionID_t>,
163                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
164         *this,
165         "disconnect",
166         "q",
167         mainConnectionID, 
168         std::move(callback));
169 }
170 void CommandControlDBusProxy::setVolume(const am_sinkID_t& sinkID, const am_mainVolume_t& volume, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
171     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_mainVolume_t>,
172                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
173         *this,
174         "setVolume",
175         "qn",
176         sinkID, volume, 
177         callStatus
178         , error);
179 }
180 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::setVolumeAsync(const am_sinkID_t& sinkID, const am_mainVolume_t& volume, SetVolumeAsyncCallback callback) {
181     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_mainVolume_t>,
182                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
183         *this,
184         "setVolume",
185         "qn",
186         sinkID, volume, 
187         std::move(callback));
188 }
189 void CommandControlDBusProxy::volumeStep(const am_sinkID_t& sinkID, const int16_t& volumeStep, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
190     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, int16_t>,
191                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
192         *this,
193         "volumeStep",
194         "qn",
195         sinkID, volumeStep, 
196         callStatus
197         , error);
198 }
199 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::volumeStepAsync(const am_sinkID_t& sinkID, const int16_t& volumeStep, VolumeStepAsyncCallback callback) {
200     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, int16_t>,
201                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
202         *this,
203         "volumeStep",
204         "qn",
205         sinkID, volumeStep, 
206         std::move(callback));
207 }
208 void CommandControlDBusProxy::setSinkMuteState(const am_sinkID_t& sinkID, const am_MuteState_e& muteState, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
209     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_MuteState_e>,
210                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
211         *this,
212         "setSinkMuteState",
213         "qi",
214         sinkID, muteState, 
215         callStatus
216         , error);
217 }
218 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::setSinkMuteStateAsync(const am_sinkID_t& sinkID, const am_MuteState_e& muteState, SetSinkMuteStateAsyncCallback callback) {
219     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_MuteState_e>,
220                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
221         *this,
222         "setSinkMuteState",
223         "qi",
224         sinkID, muteState, 
225         std::move(callback));
226 }
227 void CommandControlDBusProxy::setMainSinkSoundProperty(const am_sinkID_t& sinkID, const am_MainSoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
228     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_MainSoundProperty_s>,
229                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
230         *this,
231         "setMainSinkSoundProperty",
232         "q(qn)",
233         sinkID, soundProperty, 
234         callStatus
235         , error);
236 }
237 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::setMainSinkSoundPropertyAsync(const am_sinkID_t& sinkID, const am_MainSoundProperty_s& soundProperty, SetMainSinkSoundPropertyAsyncCallback callback) {
238     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_MainSoundProperty_s>,
239                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
240         *this,
241         "setMainSinkSoundProperty",
242         "q(qn)",
243         sinkID, soundProperty, 
244         std::move(callback));
245 }
246 void CommandControlDBusProxy::setMainSourceSoundProperty(const am_sourceID_t& sourceID, const am_MainSoundProperty_s& soundProperty, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
247     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_MainSoundProperty_s>,
248                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
249         *this,
250         "setMainSourceSoundProperty",
251         "q(qn)",
252         sourceID, soundProperty, 
253         callStatus
254         , error);
255 }
256 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::setMainSourceSoundPropertyAsync(const am_sourceID_t& sourceID, const am_MainSoundProperty_s& soundProperty, SetMainSourceSoundPropertyAsyncCallback callback) {
257     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_MainSoundProperty_s>,
258                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
259         *this,
260         "setMainSourceSoundProperty",
261         "q(qn)",
262         sourceID, soundProperty, 
263         std::move(callback));
264 }
265 void CommandControlDBusProxy::setSystemProperty(const am_SystemProperty_s& property, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
266     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_SystemProperty_s>,
267                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
268         *this,
269         "setSystemProperty",
270         "(qn)",
271         property, 
272         callStatus
273         , error);
274 }
275 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::setSystemPropertyAsync(const am_SystemProperty_s& property, SetSystemPropertyAsyncCallback callback) {
276     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_SystemProperty_s>,
277                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
278         *this,
279         "setSystemProperty",
280         "(qn)",
281         property, 
282         std::move(callback));
283 }
284 void CommandControlDBusProxy::getListMainConnections(CommonAPI::CallStatus& callStatus, am_Error_e& error, am_MainConnection_L& listConnections) {
285     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
286                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e, am_MainConnection_L> >::callMethodWithReply(
287         *this,
288         "getListMainConnections",
289         "",
290         callStatus
291         , error, listConnections);
292 }
293 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListMainConnectionsAsync(GetListMainConnectionsAsyncCallback callback) {
294     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
295                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e, am_MainConnection_L> >::callMethodAsync(
296         *this,
297         "getListMainConnections",
298         "",
299         std::move(callback));
300 }
301 void CommandControlDBusProxy::getListMainSinks(CommonAPI::CallStatus& callStatus, am_SinkType_L& listMainSinks, am_Error_e& error) {
302     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
303                                      CommonAPI::DBus::DBusSerializableArguments<am_SinkType_L, am_Error_e> >::callMethodWithReply(
304         *this,
305         "getListMainSinks",
306         "",
307         callStatus
308         , listMainSinks, error);
309 }
310 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListMainSinksAsync(GetListMainSinksAsyncCallback callback) {
311     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
312                                      CommonAPI::DBus::DBusSerializableArguments<am_SinkType_L, am_Error_e> >::callMethodAsync(
313         *this,
314         "getListMainSinks",
315         "",
316         std::move(callback));
317 }
318 void CommandControlDBusProxy::getListMainSources(CommonAPI::CallStatus& callStatus, am_SourceType_L& listMainSources, am_Error_e& error) {
319     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
320                                      CommonAPI::DBus::DBusSerializableArguments<am_SourceType_L, am_Error_e> >::callMethodWithReply(
321         *this,
322         "getListMainSources",
323         "",
324         callStatus
325         , listMainSources, error);
326 }
327 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListMainSourcesAsync(GetListMainSourcesAsyncCallback callback) {
328     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
329                                      CommonAPI::DBus::DBusSerializableArguments<am_SourceType_L, am_Error_e> >::callMethodAsync(
330         *this,
331         "getListMainSources",
332         "",
333         std::move(callback));
334 }
335 void CommandControlDBusProxy::getListMainSinkSoundProperties(const am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_MainSoundProperty_L& listSoundProperties, am_Error_e& error) {
336     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t>,
337                                      CommonAPI::DBus::DBusSerializableArguments<am_MainSoundProperty_L, am_Error_e> >::callMethodWithReply(
338         *this,
339         "getListMainSinkSoundProperties",
340         "q",
341         sinkID, 
342         callStatus
343         , listSoundProperties, error);
344 }
345 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListMainSinkSoundPropertiesAsync(const am_sinkID_t& sinkID, GetListMainSinkSoundPropertiesAsyncCallback callback) {
346     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t>,
347                                      CommonAPI::DBus::DBusSerializableArguments<am_MainSoundProperty_L, am_Error_e> >::callMethodAsync(
348         *this,
349         "getListMainSinkSoundProperties",
350         "q",
351         sinkID, 
352         std::move(callback));
353 }
354 void CommandControlDBusProxy::getListMainSourceSoundProperties(const am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_MainSoundProperty_L& listSourceProperties, am_Error_e& error) {
355     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t>,
356                                      CommonAPI::DBus::DBusSerializableArguments<am_MainSoundProperty_L, am_Error_e> >::callMethodWithReply(
357         *this,
358         "getListMainSourceSoundProperties",
359         "q",
360         sourceID, 
361         callStatus
362         , listSourceProperties, error);
363 }
364 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListMainSourceSoundPropertiesAsync(const am_sourceID_t& sourceID, GetListMainSourceSoundPropertiesAsyncCallback callback) {
365     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t>,
366                                      CommonAPI::DBus::DBusSerializableArguments<am_MainSoundProperty_L, am_Error_e> >::callMethodAsync(
367         *this,
368         "getListMainSourceSoundProperties",
369         "q",
370         sourceID, 
371         std::move(callback));
372 }
373 void CommandControlDBusProxy::getListSourceClasses(CommonAPI::CallStatus& callStatus, am_SourceClass_L& listSourceClasses, am_Error_e& error) {
374     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
375                                      CommonAPI::DBus::DBusSerializableArguments<am_SourceClass_L, am_Error_e> >::callMethodWithReply(
376         *this,
377         "getListSourceClasses",
378         "",
379         callStatus
380         , listSourceClasses, error);
381 }
382 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListSourceClassesAsync(GetListSourceClassesAsyncCallback callback) {
383     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
384                                      CommonAPI::DBus::DBusSerializableArguments<am_SourceClass_L, am_Error_e> >::callMethodAsync(
385         *this,
386         "getListSourceClasses",
387         "",
388         std::move(callback));
389 }
390 void CommandControlDBusProxy::getListSinkClasses(CommonAPI::CallStatus& callStatus, am_SinkClass_L& listSinkClasses, am_Error_e& error) {
391     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
392                                      CommonAPI::DBus::DBusSerializableArguments<am_SinkClass_L, am_Error_e> >::callMethodWithReply(
393         *this,
394         "getListSinkClasses",
395         "",
396         callStatus
397         , listSinkClasses, error);
398 }
399 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListSinkClassesAsync(GetListSinkClassesAsyncCallback callback) {
400     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
401                                      CommonAPI::DBus::DBusSerializableArguments<am_SinkClass_L, am_Error_e> >::callMethodAsync(
402         *this,
403         "getListSinkClasses",
404         "",
405         std::move(callback));
406 }
407 void CommandControlDBusProxy::getListSystemProperties(CommonAPI::CallStatus& callStatus, am_SystemProperty_L& listSystemProperties, am_Error_e& error) {
408     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
409                                      CommonAPI::DBus::DBusSerializableArguments<am_SystemProperty_L, am_Error_e> >::callMethodWithReply(
410         *this,
411         "getListSystemProperties",
412         "",
413         callStatus
414         , listSystemProperties, error);
415 }
416 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListSystemPropertiesAsync(GetListSystemPropertiesAsyncCallback callback) {
417     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<>,
418                                      CommonAPI::DBus::DBusSerializableArguments<am_SystemProperty_L, am_Error_e> >::callMethodAsync(
419         *this,
420         "getListSystemProperties",
421         "",
422         std::move(callback));
423 }
424 void CommandControlDBusProxy::getTimingInformation(const am_mainConnectionID_t& mainConnectionID, CommonAPI::CallStatus& callStatus, am_timeSync_t& delay, am_Error_e& error) {
425     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_mainConnectionID_t>,
426                                      CommonAPI::DBus::DBusSerializableArguments<am_timeSync_t, am_Error_e> >::callMethodWithReply(
427         *this,
428         "getTimingInformation",
429         "q",
430         mainConnectionID, 
431         callStatus
432         , delay, error);
433 }
434 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getTimingInformationAsync(const am_mainConnectionID_t& mainConnectionID, GetTimingInformationAsyncCallback callback) {
435     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_mainConnectionID_t>,
436                                      CommonAPI::DBus::DBusSerializableArguments<am_timeSync_t, am_Error_e> >::callMethodAsync(
437         *this,
438         "getTimingInformation",
439         "q",
440         mainConnectionID, 
441         std::move(callback));
442 }
443 void CommandControlDBusProxy::getListMainSinkNotificationConfigurations(const am_sinkID_t& sinkID, CommonAPI::CallStatus& callStatus, am_NotificationConfiguration_L& listMainNotificationConfigurations, am_Error_e& error) {
444     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t>,
445                                      CommonAPI::DBus::DBusSerializableArguments<am_NotificationConfiguration_L, am_Error_e> >::callMethodWithReply(
446         *this,
447         "getListMainSinkNotificationConfigurations",
448         "q",
449         sinkID, 
450         callStatus
451         , listMainNotificationConfigurations, error);
452 }
453 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListMainSinkNotificationConfigurationsAsync(const am_sinkID_t& sinkID, GetListMainSinkNotificationConfigurationsAsyncCallback callback) {
454     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t>,
455                                      CommonAPI::DBus::DBusSerializableArguments<am_NotificationConfiguration_L, am_Error_e> >::callMethodAsync(
456         *this,
457         "getListMainSinkNotificationConfigurations",
458         "q",
459         sinkID, 
460         std::move(callback));
461 }
462 void CommandControlDBusProxy::getListMainSourceNotificationConfigurations(const am_sourceID_t& sourceID, CommonAPI::CallStatus& callStatus, am_NotificationConfiguration_L& listMainNotificationConfigurations, am_Error_e& error) {
463     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t>,
464                                      CommonAPI::DBus::DBusSerializableArguments<am_NotificationConfiguration_L, am_Error_e> >::callMethodWithReply(
465         *this,
466         "getListMainSourceNotificationConfigurations",
467         "q",
468         sourceID, 
469         callStatus
470         , listMainNotificationConfigurations, error);
471 }
472 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::getListMainSourceNotificationConfigurationsAsync(const am_sourceID_t& sourceID, GetListMainSourceNotificationConfigurationsAsyncCallback callback) {
473     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t>,
474                                      CommonAPI::DBus::DBusSerializableArguments<am_NotificationConfiguration_L, am_Error_e> >::callMethodAsync(
475         *this,
476         "getListMainSourceNotificationConfigurations",
477         "q",
478         sourceID, 
479         std::move(callback));
480 }
481 void CommandControlDBusProxy::setMainSinkNotificationConfiguration(const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& mainNotificationConfiguration, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
482     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_NotificationConfiguration_s>,
483                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
484         *this,
485         "setMainSinkNotificationConfiguration",
486         "q(qin)",
487         sinkID, mainNotificationConfiguration, 
488         callStatus
489         , error);
490 }
491 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::setMainSinkNotificationConfigurationAsync(const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& mainNotificationConfiguration, SetMainSinkNotificationConfigurationAsyncCallback callback) {
492     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sinkID_t, am_NotificationConfiguration_s>,
493                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
494         *this,
495         "setMainSinkNotificationConfiguration",
496         "q(qin)",
497         sinkID, mainNotificationConfiguration, 
498         std::move(callback));
499 }
500 void CommandControlDBusProxy::setMainSourceNotificationConfiguration(const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& mainNotificationConfiguration, CommonAPI::CallStatus& callStatus, am_Error_e& error) {
501     CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_NotificationConfiguration_s>,
502                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodWithReply(
503         *this,
504         "setMainSourceNotificationConfiguration",
505         "q(qin)",
506         sourceID, mainNotificationConfiguration, 
507         callStatus
508         , error);
509 }
510 std::future<CommonAPI::CallStatus> CommandControlDBusProxy::setMainSourceNotificationConfigurationAsync(const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& mainNotificationConfiguration, SetMainSourceNotificationConfigurationAsyncCallback callback) {
511     return CommonAPI::DBus::DBusProxyHelper<CommonAPI::DBus::DBusSerializableArguments<am_sourceID_t, am_NotificationConfiguration_s>,
512                                      CommonAPI::DBus::DBusSerializableArguments<am_Error_e> >::callMethodAsync(
513         *this,
514         "setMainSourceNotificationConfiguration",
515         "q(qin)",
516         sourceID, mainNotificationConfiguration, 
517         std::move(callback));
518 }
519
520 void CommandControlDBusProxy::getOwnVersion(uint16_t& ownVersionMajor, uint16_t& ownVersionMinor) const {
521     ownVersionMajor = 1;
522     ownVersionMinor = 0;
523 }
524
525 } // namespace am
526 } // namespace genivi
527 } // namespace org