2 * This file was generated by the CommonAPI Generators.
3 * Used org.genivi.commonapi.core 2.1.5.201312121915.
4 * Used org.franca.core 0.8.11.201401091023.
6 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
7 * If a copy of the MPL was not distributed with this file, You can obtain one at
8 * http://mozilla.org/MPL/2.0/.
10 #include <org/genivi/am/RoutingControlObserverStubDefault.h>
16 RoutingControlObserverStubDefault::RoutingControlObserverStubDefault():
17 remoteEventHandler_(this),
18 interfaceVersion_(RoutingControlObserver::getInterfaceVersion()) {
21 const CommonAPI::Version& RoutingControlObserverStubDefault::getInterfaceVersion(std::shared_ptr<CommonAPI::ClientId> clientId) {
22 return interfaceVersion_;
25 RoutingControlObserverStubRemoteEvent* RoutingControlObserverStubDefault::initStubAdapter(const std::shared_ptr<RoutingControlObserverStubAdapter>& stubAdapter) {
26 CommonAPI::Stub<RoutingControlObserverStubAdapter, RoutingControlObserverStubRemoteEvent>::stubAdapter_ = stubAdapter;
27 return &remoteEventHandler_;
30 const am_RoutingReady_e& RoutingControlObserverStubDefault::getRoutingReadyAttribute() {
31 return routingReadyAttributeValue_;
34 const am_RoutingReady_e& RoutingControlObserverStubDefault::getRoutingReadyAttribute(const std::shared_ptr<CommonAPI::ClientId> clientId) {
35 return getRoutingReadyAttribute();
38 void RoutingControlObserverStubDefault::setRoutingReadyAttribute(am_RoutingReady_e value) {
39 const bool valueChanged = trySetRoutingReadyAttribute(std::move(value));
41 stubAdapter_->fireRoutingReadyAttributeChanged(routingReadyAttributeValue_);
45 bool RoutingControlObserverStubDefault::trySetRoutingReadyAttribute(am_RoutingReady_e value) {
46 if (!validateRoutingReadyAttributeRequestedValue(value))
49 const bool valueChanged = (routingReadyAttributeValue_ != value);
50 routingReadyAttributeValue_ = std::move(value);
54 bool RoutingControlObserverStubDefault::validateRoutingReadyAttributeRequestedValue(const am_RoutingReady_e& value) {
61 * acknowledges a asyncConnect
63 void RoutingControlObserverStubDefault::ackConnect(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error) {
64 // Call old style methods in default
65 ackConnect(handle, connectionID, error);
67 void RoutingControlObserverStubDefault::ackConnect(am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error) {
68 // No operation in default
72 * acknowledges a asyncDisconnect
74 void RoutingControlObserverStubDefault::ackDisconnect(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error) {
75 // Call old style methods in default
76 ackDisconnect(handle, connectionID, error);
78 void RoutingControlObserverStubDefault::ackDisconnect(am_Handle_s handle, am_connectionID_t connectionID, am_Error_e error) {
79 // No operation in default
83 * acknowledges a asyncsetSinkVolume
85 void RoutingControlObserverStubDefault::ackSetSinkVolumeChange(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_volume_t volume, am_Error_e error) {
86 // Call old style methods in default
87 ackSetSinkVolumeChange(handle, volume, error);
89 void RoutingControlObserverStubDefault::ackSetSinkVolumeChange(am_Handle_s handle, am_volume_t volume, am_Error_e error) {
90 // No operation in default
94 * acknowledges a asyncsetSourceVolume
96 void RoutingControlObserverStubDefault::ackSetSourceVolumeChange(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_volume_t volume, am_Error_e error) {
97 // Call old style methods in default
98 ackSetSourceVolumeChange(handle, volume, error);
100 void RoutingControlObserverStubDefault::ackSetSourceVolumeChange(am_Handle_s handle, am_volume_t volume, am_Error_e error) {
101 // No operation in default
105 * acknowlegde for asyncSetSourceState
107 void RoutingControlObserverStubDefault::ackSetSourceState(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_Error_e error) {
108 // Call old style methods in default
109 ackSetSourceState(handle, error);
111 void RoutingControlObserverStubDefault::ackSetSourceState(am_Handle_s handle, am_Error_e error) {
112 // No operation in default
116 * acknowledges asyncSetSinkSoundProperties
118 void RoutingControlObserverStubDefault::ackSetSinkSoundProperties(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_Error_e error) {
119 // Call old style methods in default
120 ackSetSinkSoundProperties(handle, error);
122 void RoutingControlObserverStubDefault::ackSetSinkSoundProperties(am_Handle_s handle, am_Error_e error) {
123 // No operation in default
127 * acknowledges asyncSetSinkSoundProperty
129 void RoutingControlObserverStubDefault::ackSetSinkSoundProperty(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_Error_e error) {
130 // Call old style methods in default
131 ackSetSinkSoundProperty(handle, error);
133 void RoutingControlObserverStubDefault::ackSetSinkSoundProperty(am_Handle_s handle, am_Error_e error) {
134 // No operation in default
138 * acknowledges asyncSetSourceSoundProperties
140 void RoutingControlObserverStubDefault::ackSetSourceSoundProperties(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_Error_e error) {
141 // Call old style methods in default
142 ackSetSourceSoundProperties(handle, error);
144 void RoutingControlObserverStubDefault::ackSetSourceSoundProperties(am_Handle_s handle, am_Error_e error) {
145 // No operation in default
149 * acknowledges asyncSetSourceSoundProperty
151 void RoutingControlObserverStubDefault::ackSetSourceSoundProperty(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_Error_e error) {
152 // Call old style methods in default
153 ackSetSourceSoundProperty(handle, error);
155 void RoutingControlObserverStubDefault::ackSetSourceSoundProperty(am_Handle_s handle, am_Error_e error) {
156 // No operation in default
160 * acknowledges asyncCrossFade
162 void RoutingControlObserverStubDefault::ackCrossFading(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_HotSink_e hotSink, am_Error_e error) {
163 // Call old style methods in default
164 ackCrossFading(handle, hotSink, error);
166 void RoutingControlObserverStubDefault::ackCrossFading(am_Handle_s handle, am_HotSink_e hotSink, am_Error_e error) {
167 // No operation in default
171 * acknowledges a volume tick. This can be used to display volumechanges during
174 void RoutingControlObserverStubDefault::ackSourceVolumeTick(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_sourceID_t sourceID, am_volume_t volume) {
175 // Call old style methods in default
176 ackSourceVolumeTick(handle, sourceID, volume);
178 void RoutingControlObserverStubDefault::ackSourceVolumeTick(am_Handle_s handle, am_sourceID_t sourceID, am_volume_t volume) {
179 // No operation in default
183 * acknowledges a volume tick. This can be used to display volumechanges during
186 void RoutingControlObserverStubDefault::ackSinkVolumeTick(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_sinkID_t sinkID, am_volume_t volume) {
187 // Call old style methods in default
188 ackSinkVolumeTick(handle, sinkID, volume);
190 void RoutingControlObserverStubDefault::ackSinkVolumeTick(am_Handle_s handle, am_sinkID_t sinkID, am_volume_t volume) {
191 // No operation in default
195 * This function returns the ID to the given domainName. If already a domain is
196 * registered with this name, it will return the corresponding ID, if not it will
197 * reserve an ID but not register the domain. The other parameters of the domain
198 * will be overwritten when the domain is registered.
200 * success, E_UNKNOWN on error
202 void RoutingControlObserverStubDefault::peekDomain(const std::shared_ptr<CommonAPI::ClientId> clientId, std::string name, am_domainID_t& domainID, am_Error_e& error) {
203 // Call old style methods in default
204 peekDomain(name, domainID, error);
206 void RoutingControlObserverStubDefault::peekDomain(std::string name, am_domainID_t& domainID, am_Error_e& error) {
207 // No operation in default
212 (at)return E_OK on succes, E_ALREADY_EXISTENT if already
213 * registered E_UNKOWN on error
215 void RoutingControlObserverStubDefault::registerDomain(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Domain_s domainData, std::string returnBusname, std::string returnInterface, am_domainID_t& domainID, am_Error_e& error) {
216 // Call old style methods in default
217 registerDomain(domainData, returnBusname, returnInterface, domainID, error);
219 void RoutingControlObserverStubDefault::registerDomain(am_Domain_s domainData, std::string returnBusname, std::string returnInterface, am_domainID_t& domainID, am_Error_e& error) {
220 // No operation in default
224 * deregisters a domain. All sources, sinks, gateways and crossfaders from that
225 * domain will be removed as well.
226 (at)return E_OK on succes, E_NON_EXISTENT if
227 * not found E_UNKOWN on error
229 void RoutingControlObserverStubDefault::deregisterDomain(const std::shared_ptr<CommonAPI::ClientId> clientId, am_domainID_t domainID, am_Error_e& error) {
230 // Call old style methods in default
231 deregisterDomain(domainID, error);
233 void RoutingControlObserverStubDefault::deregisterDomain(am_domainID_t domainID, am_Error_e& error) {
234 // No operation in default
238 * registers a gateway. (at)return E_OK on succes, E_ALREADY_EXISTENT if already
239 * registered E_UNKOWN on error
241 void RoutingControlObserverStubDefault::registerGateway(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Gateway_s gatewayData, am_gatewayID_t& gatewayID, am_Error_e& error) {
242 // Call old style methods in default
243 registerGateway(gatewayData, gatewayID, error);
245 void RoutingControlObserverStubDefault::registerGateway(am_Gateway_s gatewayData, am_gatewayID_t& gatewayID, am_Error_e& error) {
246 // No operation in default
250 * deregisters a gateway. Also removes all sinks and sources of the controlling
252 (at)return E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on
255 void RoutingControlObserverStubDefault::deregisterGateway(const std::shared_ptr<CommonAPI::ClientId> clientId, am_gatewayID_t gatewayID, am_Error_e& error) {
256 // Call old style methods in default
257 deregisterGateway(gatewayID, error);
259 void RoutingControlObserverStubDefault::deregisterGateway(am_gatewayID_t gatewayID, am_Error_e& error) {
260 // No operation in default
264 * This function returns the ID to the given sinkName. If already a sink is
265 * registered with this name, it will return the corresponding ID, if not it will
266 * reserve an ID but not register the sink. The other parameters of the sink will
267 * be overwritten when the sink is registered.
268 (at)return E_OK on success,
271 void RoutingControlObserverStubDefault::peekSink(const std::shared_ptr<CommonAPI::ClientId> clientId, std::string name, am_sinkID_t& sinkID, am_Error_e& error) {
272 // Call old style methods in default
273 peekSink(name, sinkID, error);
275 void RoutingControlObserverStubDefault::peekSink(std::string name, am_sinkID_t& sinkID, am_Error_e& error) {
276 // No operation in default
280 * Registers a sink. If the sink is part of a gateway, the listconnectionFormats
281 * is copied to the gatewayInformation
282 (at)return E_OK on succes,
283 * E_ALREADY_EXISTENT if already registered E_UNKOWN on error
285 void RoutingControlObserverStubDefault::registerSink(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Sink_s sinkData, am_sinkID_t& sinkID, am_Error_e& error) {
286 // Call old style methods in default
287 registerSink(sinkData, sinkID, error);
289 void RoutingControlObserverStubDefault::registerSink(am_Sink_s sinkData, am_sinkID_t& sinkID, am_Error_e& error) {
290 // No operation in default
294 * deregisters a sink.
295 (at)return E_OK on succes, E_NON_EXISTENT if not found
298 void RoutingControlObserverStubDefault::deregisterSink(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_Error_e& error) {
299 // Call old style methods in default
300 deregisterSink(sinkID, error);
302 void RoutingControlObserverStubDefault::deregisterSink(am_sinkID_t sinkID, am_Error_e& error) {
303 // No operation in default
307 * This function returns the ID to the given sourceName. If already a source is
308 * registered with this name, it will return the corresponding ID, if not it will
309 * reserve an ID but not register the source. The other parameters of the source
310 * will be overwritten when the source is registered.
312 * success, E_UNKNOWN on error
314 void RoutingControlObserverStubDefault::peekSource(const std::shared_ptr<CommonAPI::ClientId> clientId, std::string name, am_sourceID_t& sourceID, am_Error_e& error) {
315 // Call old style methods in default
316 peekSource(name, sourceID, error);
318 void RoutingControlObserverStubDefault::peekSource(std::string name, am_sourceID_t& sourceID, am_Error_e& error) {
319 // No operation in default
323 * registers a source. If the source is part of a gateway, the
324 * listconnectionFormats is copied to the gatewayInformation
326 * success, E_UNKNOWN on error, E_ALREADY_EXIST if either name or sourceID
329 void RoutingControlObserverStubDefault::registerSource(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Source_s sourceData, am_sourceID_t& sourceID, am_Error_e& error) {
330 // Call old style methods in default
331 registerSource(sourceData, sourceID, error);
333 void RoutingControlObserverStubDefault::registerSource(am_Source_s sourceData, am_sourceID_t& sourceID, am_Error_e& error) {
334 // No operation in default
338 * deregisters a source
339 (at)return E_OK on succes, E_NON_EXISTENT if not found
342 void RoutingControlObserverStubDefault::deregisterSource(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_Error_e& error) {
343 // Call old style methods in default
344 deregisterSource(sourceID, error);
346 void RoutingControlObserverStubDefault::deregisterSource(am_sourceID_t sourceID, am_Error_e& error) {
347 // No operation in default
351 * this function registers a crossfader.
352 (at)return E_OK on succes,
353 * E_ALREADY_EXISTENT if already registered E_UNKOWN on error
355 void RoutingControlObserverStubDefault::registerCrossfader(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Crossfader_s crossfaderData, am_crossfaderID_t& crossfaderID, am_Error_e& error) {
356 // Call old style methods in default
357 registerCrossfader(crossfaderData, crossfaderID, error);
359 void RoutingControlObserverStubDefault::registerCrossfader(am_Crossfader_s crossfaderData, am_crossfaderID_t& crossfaderID, am_Error_e& error) {
360 // No operation in default
364 * this function deregisters a crossfader. removes all sources and sinks assiated
366 (at)return E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on
369 void RoutingControlObserverStubDefault::deregisterCrossfader(const std::shared_ptr<CommonAPI::ClientId> clientId, am_crossfaderID_t crossfaderID, am_Error_e& error) {
370 // Call old style methods in default
371 deregisterCrossfader(crossfaderID, error);
373 void RoutingControlObserverStubDefault::deregisterCrossfader(am_crossfaderID_t crossfaderID, am_Error_e& error) {
374 // No operation in default
378 * this function peeks a sourceclassID. It is used by the RoutingPlugins to
379 * determine the SinkClassIDs of a sinkClass.
380 (at)return E_OK on succes,
381 * E_DATABASE_ERROR on error
383 void RoutingControlObserverStubDefault::peekSourceClassID(const std::shared_ptr<CommonAPI::ClientId> clientId, std::string name, am_sourceClass_t& sourceClassID, am_Error_e& error) {
384 // Call old style methods in default
385 peekSourceClassID(name, sourceClassID, error);
387 void RoutingControlObserverStubDefault::peekSourceClassID(std::string name, am_sourceClass_t& sourceClassID, am_Error_e& error) {
388 // No operation in default
392 * this function peeks a sourceclassID. It is used by the RoutingPlugins to
393 * determine the SinkClassIDs of a sinkClass.
394 (at)return E_OK on succes,
395 * E_DATABASE_ERROR on error
397 void RoutingControlObserverStubDefault::peekSinkClassID(const std::shared_ptr<CommonAPI::ClientId> clientId, std::string name, am_sinkClass_t& sinkClassID, am_Error_e& error) {
398 // Call old style methods in default
399 peekSinkClassID(name, sinkClassID, error);
401 void RoutingControlObserverStubDefault::peekSinkClassID(std::string name, am_sinkClass_t& sinkClassID, am_Error_e& error) {
402 // No operation in default
406 * is called when a low level interrupt changes it status.
408 void RoutingControlObserverStubDefault::hookInterruptStatusChange(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_InterruptState_e interruptState) {
409 // Call old style methods in default
410 hookInterruptStatusChange(sourceID, interruptState);
412 void RoutingControlObserverStubDefault::hookInterruptStatusChange(am_sourceID_t sourceID, am_InterruptState_e interruptState) {
413 // No operation in default
417 * This hook is called when all elements from a domain are registered.
419 * the Controller to know when all expected domains are finally registered
421 void RoutingControlObserverStubDefault::hookDomainRegistrationComplete(const std::shared_ptr<CommonAPI::ClientId> clientId, am_domainID_t domainID) {
422 // Call old style methods in default
423 hookDomainRegistrationComplete(domainID);
425 void RoutingControlObserverStubDefault::hookDomainRegistrationComplete(am_domainID_t domainID) {
426 // No operation in default
430 * is called when a sink changes its availability
432 void RoutingControlObserverStubDefault::hookSinkAvailablityStatusChange(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_Availability_s availability) {
433 // Call old style methods in default
434 hookSinkAvailablityStatusChange(sinkID, availability);
436 void RoutingControlObserverStubDefault::hookSinkAvailablityStatusChange(am_sinkID_t sinkID, am_Availability_s availability) {
437 // No operation in default
441 * is called when a source changes its availability
443 void RoutingControlObserverStubDefault::hookSourceAvailablityStatusChange(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_Availability_s availability) {
444 // Call old style methods in default
445 hookSourceAvailablityStatusChange(sourceID, availability);
447 void RoutingControlObserverStubDefault::hookSourceAvailablityStatusChange(am_sourceID_t sourceID, am_Availability_s availability) {
448 // No operation in default
452 * is called when a domain changes its status. This used for early domains only
454 void RoutingControlObserverStubDefault::hookDomainStateChange(const std::shared_ptr<CommonAPI::ClientId> clientId, am_domainID_t domainID, am_DomainState_e domainState) {
455 // Call old style methods in default
456 hookDomainStateChange(domainID, domainState);
458 void RoutingControlObserverStubDefault::hookDomainStateChange(am_domainID_t domainID, am_DomainState_e domainState) {
459 // No operation in default
463 * is called when the timinginformation (delay) changed for a connection.
465 void RoutingControlObserverStubDefault::hookTimingInformationChanged(const std::shared_ptr<CommonAPI::ClientId> clientId, am_connectionID_t connectionID, am_timeSync_t delay) {
466 // Call old style methods in default
467 hookTimingInformationChanged(connectionID, delay);
469 void RoutingControlObserverStubDefault::hookTimingInformationChanged(am_connectionID_t connectionID, am_timeSync_t delay) {
470 // No operation in default
474 * this function is used to send out all data that has been changed in an early
476 (at)return E_OK on success, E_UNKNOWN on error
478 void RoutingControlObserverStubDefault::sendChangedData(const std::shared_ptr<CommonAPI::ClientId> clientId, am_EarlyData_L earlyData) {
479 // Call old style methods in default
480 sendChangedData(earlyData);
482 void RoutingControlObserverStubDefault::sendChangedData(am_EarlyData_L earlyData) {
483 // No operation in default
487 * updates data of an gateway. (at)return E_OK on success, E_NON_EXISTENT if the
488 * gatewayID is not valid.
490 void RoutingControlObserverStubDefault::updateGateway(const std::shared_ptr<CommonAPI::ClientId> clientId, am_gatewayID_t gatewayID, am_ConnectionFormat_L listSourceFormats, am_ConnectionFormat_L listSinkFormats, am_Convertion_L convertionMatrix, am_Error_e& error) {
491 // Call old style methods in default
492 updateGateway(gatewayID, listSourceFormats, listSinkFormats, convertionMatrix, error);
494 void RoutingControlObserverStubDefault::updateGateway(am_gatewayID_t gatewayID, am_ConnectionFormat_L listSourceFormats, am_ConnectionFormat_L listSinkFormats, am_Convertion_L convertionMatrix, am_Error_e& error) {
495 // No operation in default
499 * updates data of an gateway. (at)return E_OK on success, E_NON_EXISTENT if the
500 * sinkID is not valid.
502 void RoutingControlObserverStubDefault::updateSink(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_sinkClass_t sinkClassID, am_SoundProperty_L listSoundProperties, am_ConnectionFormat_L listConnectionFormats, am_MainSoundProperty_L listMainSoundProperties, am_Error_e& error) {
503 // Call old style methods in default
504 updateSink(sinkID, sinkClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties, error);
506 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) {
507 // No operation in default
511 * updates data of an source. (at)return E_OK on success, E_NON_EXISTENT if the
512 * sourceID in the struct is not valid.
513 Please note that only the following
514 * data out of am_Source_s have effect when they are
518 listConnectionFormats,
520 listMainSoundProperties
522 void RoutingControlObserverStubDefault::updateSource(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_sourceClass_t sourceClassID, am_SoundProperty_L listSoundProperties, am_ConnectionFormat_L listConnectionFormats, am_MainSoundProperty_L listMainSoundProperties, am_Error_e& error) {
523 // Call old style methods in default
524 updateSource(sourceID, sourceClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties, error);
526 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) {
527 // No operation in default
531 * acknowledges a asyncSetSinkVolumes
533 void RoutingControlObserverStubDefault::ackSetVolumes(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_Volumes_L listvolumes, am_Error_e error) {
534 // Call old style methods in default
535 ackSetVolumes(handle, listvolumes, error);
537 void RoutingControlObserverStubDefault::ackSetVolumes(am_Handle_s handle, am_Volumes_L listvolumes, am_Error_e error) {
538 // No operation in default
542 * The acknowledge of the SinkNotificationConfiguration
544 void RoutingControlObserverStubDefault::ackSinkNotificationConfiguration(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_Error_e error) {
545 // Call old style methods in default
546 ackSinkNotificationConfiguration(handle, error);
548 void RoutingControlObserverStubDefault::ackSinkNotificationConfiguration(am_Handle_s handle, am_Error_e error) {
549 // No operation in default
553 * The acknowledge of the SourceNotificationConfiguration
555 void RoutingControlObserverStubDefault::ackSourceNotificationConfiguration(const std::shared_ptr<CommonAPI::ClientId> clientId, am_Handle_s handle, am_Error_e error) {
556 // Call old style methods in default
557 ackSourceNotificationConfiguration(handle, error);
559 void RoutingControlObserverStubDefault::ackSourceNotificationConfiguration(am_Handle_s handle, am_Error_e error) {
560 // No operation in default
564 * is called whenever a notified value needs to be send
566 void RoutingControlObserverStubDefault::hookSinkNotificationDataChange(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_NotificationPayload_s payload) {
567 // Call old style methods in default
568 hookSinkNotificationDataChange(sinkID, payload);
570 void RoutingControlObserverStubDefault::hookSinkNotificationDataChange(am_sinkID_t sinkID, am_NotificationPayload_s payload) {
571 // No operation in default
575 * is called whenever a notified value needs to be send
577 void RoutingControlObserverStubDefault::hookSourceNotificationDataChange(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_NotificationPayload_s payload) {
578 // Call old style methods in default
579 hookSourceNotificationDataChange(sourceID, payload);
581 void RoutingControlObserverStubDefault::hookSourceNotificationDataChange(am_sourceID_t sourceID, am_NotificationPayload_s payload) {
582 // No operation in default
585 void RoutingControlObserverStubDefault::confirmRoutingRundown(const std::shared_ptr<CommonAPI::ClientId> clientId, std::string domainName) {
586 // Call old style methods in default
587 confirmRoutingRundown(domainName);
589 void RoutingControlObserverStubDefault::confirmRoutingRundown(std::string domainName) {
590 // No operation in default
596 RoutingControlObserverStubDefault::RemoteEventHandler::RemoteEventHandler(RoutingControlObserverStubDefault* defaultStub):
597 defaultStub_(defaultStub) {
601 } // namespace genivi