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.
6 * Copyright (c) 2012 BMW
8 * \author Aleksandar Donchev, aleksander.donchev@partner.bmw.de BMW 2013
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.
19 * For further information see http://www.genivi.org/.
22 * The interface towards the Controlling Instance (e.g HMI). It handles the
23 * communication towards the HMI and other system components who need to interact
24 * with the audiomanagement.
25 There are two rules that have to be kept in mind
26 * when implementing against this interface:
27 * @author Christian Mueller
29 #ifndef ORG_GENIVI_AM_Command_Control_STUB_H_
30 #define ORG_GENIVI_AM_Command_Control_STUB_H_
34 #include <org/genivi/am.h>
36 #include "CommandControl.h"
38 #if !defined (COMMONAPI_INTERNAL_COMPILATION)
39 #define COMMONAPI_INTERNAL_COMPILATION
42 #include <CommonAPI/InputStream.h>
43 #include <CommonAPI/OutputStream.h>
44 #include <CommonAPI/SerializableStruct.h>
47 #include <unordered_set>
50 #include <CommonAPI/Stub.h>
52 #undef COMMONAPI_INTERNAL_COMPILATION
59 * Receives messages from remote and handles all dispatching of deserialized calls
60 * to a stub for the service CommandControl. Also provides means to send broadcasts
61 * and attribute-changed-notifications of observable attributes as defined by this service.
62 * An application developer should not need to bother with this class.
64 class CommandControlStubAdapter: virtual public CommonAPI::StubAdapter, public CommandControl {
68 * Sends a broadcast event for newMainConnection. Should not be called directly.
69 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
71 virtual void fireNewMainConnectionEvent(const am_MainConnectionType_s& mainConnection) = 0;
73 * Sends a broadcast event for removedMainConnection. Should not be called directly.
74 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
76 virtual void fireRemovedMainConnectionEvent(const am_mainConnectionID_t& mainConnection) = 0;
78 * Sends a broadcast event for newSink. Should not be called directly.
79 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
81 virtual void fireNewSinkEvent(const am_SinkType_s& sink) = 0;
83 * Sends a broadcast event for removedSink. Should not be called directly.
84 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
86 virtual void fireRemovedSinkEvent(const am_sinkID_t& sinkID) = 0;
88 * Sends a broadcast event for newSource. Should not be called directly.
89 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
91 virtual void fireNewSourceEvent(const am_SourceType_s& source) = 0;
93 * Sends a broadcast event for removedSource. Should not be called directly.
94 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
96 virtual void fireRemovedSourceEvent(const am_sourceID_t& source) = 0;
98 * Sends a broadcast event for numberOfSinkClassesChanged. Should not be called directly.
99 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
101 virtual void fireNumberOfSinkClassesChangedEvent() = 0;
103 * Sends a broadcast event for numberOfSourceClassesChanged. Should not be called directly.
104 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
106 virtual void fireNumberOfSourceClassesChangedEvent() = 0;
108 * Sends a broadcast event for mainConnectionStateChanged. Should not be called directly.
109 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
111 virtual void fireMainConnectionStateChangedEvent(const am_mainConnectionID_t& connectionID, const am_ConnectionState_e& connectionState) = 0;
113 * Sends a broadcast event for mainSinkSoundPropertyChanged. Should not be called directly.
114 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
116 virtual void fireMainSinkSoundPropertyChangedEvent(const am_sinkID_t& sinkID, const am_MainSoundProperty_s& soundProperty) = 0;
118 * Sends a broadcast event for mainSourceSoundPropertyChanged. Should not be called directly.
119 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
121 virtual void fireMainSourceSoundPropertyChangedEvent(const am_sourceID_t& sourceID, const am_MainSoundProperty_s& soundProperty) = 0;
123 * Sends a broadcast event for sinkAvailabilityChanged. Should not be called directly.
124 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
126 virtual void fireSinkAvailabilityChangedEvent(const am_sinkID_t& sinkID, const am_Availability_s& availability) = 0;
128 * Sends a broadcast event for sourceAvailabilityChanged. Should not be called directly.
129 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
131 virtual void fireSourceAvailabilityChangedEvent(const am_sourceID_t& sourceID, const am_Availability_s& availability) = 0;
133 * Sends a broadcast event for volumeChanged. Should not be called directly.
134 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
136 virtual void fireVolumeChangedEvent(const am_sinkID_t& sinkID, const am_mainVolume_t& volume) = 0;
138 * Sends a broadcast event for sinkMuteStateChanged. Should not be called directly.
139 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
141 virtual void fireSinkMuteStateChangedEvent(const am_sinkID_t& sinkID, const am_MuteState_e& muteState) = 0;
143 * Sends a broadcast event for systemPropertyChanged. Should not be called directly.
144 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
146 virtual void fireSystemPropertyChangedEvent(const am_SystemProperty_s& systemProperty) = 0;
148 * Sends a broadcast event for timingInformationChanged. Should not be called directly.
149 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
151 virtual void fireTimingInformationChangedEvent(const am_mainConnectionID_t& mainConnectionID, const am_timeSync_t& time) = 0;
153 * Sends a broadcast event for sinkUpdated. Should not be called directly.
154 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
156 virtual void fireSinkUpdatedEvent(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_MainSoundProperty_L& listMainSoundProperties) = 0;
158 * Sends a broadcast event for sourceUpdated. Should not be called directly.
159 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
161 virtual void fireSourceUpdatedEvent(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_MainSoundProperty_L& listMainSoundProperties) = 0;
163 * Sends a broadcast event for sinkNotification. Should not be called directly.
164 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
166 virtual void fireSinkNotificationEvent(const am_sinkID_t& sinkID, const am_NotificationPayload_s& notification) = 0;
168 * Sends a broadcast event for sourceNotification. Should not be called directly.
169 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
171 virtual void fireSourceNotificationEvent(const am_sourceID_t& sourceID, const am_NotificationPayload_s& notification) = 0;
173 * Sends a broadcast event for mainSinkNotificationConfigurationChanged. Should not be called directly.
174 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
176 virtual void fireMainSinkNotificationConfigurationChangedEvent(const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& mainNotificationConfiguration) = 0;
178 * Sends a broadcast event for mainSourceNotificationConfigurationChanged. Should not be called directly.
179 * Instead, the "fire<broadcastName>Event" methods of the stub should be used.
181 virtual void fireMainSourceNotificationConfigurationChangedEvent(const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& mainNotificationConfiguration) = 0;
184 virtual void deactivateManagedInstances() = 0;
188 * Defines properties for storing the ClientIds of clients / proxies that have
189 * subscribed to the selective broadcasts
195 * Defines the necessary callbacks to handle remote set events related to the attributes
196 * defined in the IDL description for CommandControl.
197 * For each attribute two callbacks are defined:
198 * - a verification callback that allows to verify the requested value and to prevent setting
199 * e.g. an invalid value ("onRemoteSet<AttributeName>").
200 * - an action callback to do local work after the attribute value has been changed
201 * ("onRemote<AttributeName>Changed").
203 * This class and the one below are the ones an application developer needs to have
204 * a look at if he wants to implement a service.
206 class CommandControlStubRemoteEvent {
208 virtual ~CommandControlStubRemoteEvent() { }
214 * Defines the interface that must be implemented by any class that should provide
215 * the service CommandControl to remote clients.
216 * This class and the one above are the ones an application developer needs to have
217 * a look at if he wants to implement a service.
219 class CommandControlStub : public CommonAPI::Stub<CommandControlStubAdapter , CommandControlStubRemoteEvent> {
221 virtual ~CommandControlStub() { }
225 * connects a source to sink
226 (at)return E_OK on success, E_NOT_POSSIBLE on
227 * failure, E_ALREADY_EXISTS if the connection does already exists
229 /// This is the method that will be called on remote calls on the method connect.
230 virtual void connect(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_sinkID_t sinkID, am_mainConnectionID_t& mainConnectionID, am_Error_e& error) = 0;
232 * disconnects a mainConnection
233 (at)return E_OK on successes, E_NON_EXISTENT if
234 * the connection does not exist, E_NOT_POSSIBLE on error.
236 /// This is the method that will be called on remote calls on the method disconnect.
237 virtual void disconnect(const std::shared_ptr<CommonAPI::ClientId> clientId, am_mainConnectionID_t mainConnectionID, am_Error_e& error) = 0;
239 * sets the volume for a sink
240 (at)return E_OK on success, E_UNKOWN on error,
241 * E_OUT_OF_RANGE in case the value is out of range
243 /// This is the method that will be called on remote calls on the method setVolume.
244 virtual void setVolume(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_mainVolume_t volume, am_Error_e& error) = 0;
246 * This function is used to increment or decrement the current volume for a
248 (at)return E_OK on success, E_UNKNOWN on error and E_OUT_OF_RANGE if
249 * the value is not in the given volume range.
251 /// This is the method that will be called on remote calls on the method volumeStep.
252 virtual void volumeStep(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, int16_t volumeStep_, am_Error_e& error) = 0;
254 * sets the mute state of a sink
255 (at)return E_OK on success, E_UNKNOWN on error.
256 * If the mute state is already the desired one, the Daemon will return E_OK.
258 /// This is the method that will be called on remote calls on the method setSinkMuteState.
259 virtual void setSinkMuteState(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_MuteState_e muteState, am_Error_e& error) = 0;
261 * This method is used to set sound properties, e.g. Equalizer Values. Since the
262 * capabilities of the system can differ, the exact key value pairs can be
263 * extended in each product
264 (at)return E_OK on success, E_OUT_OF_RANGE if value
265 * exceeds range, E_UNKNOWN in case of an error
267 /// This is the method that will be called on remote calls on the method setMainSinkSoundProperty.
268 virtual void setMainSinkSoundProperty(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_MainSoundProperty_s soundProperty, am_Error_e& error) = 0;
270 * This method is used to set sound properties, e.g. Equalizer Values. Since the
271 * capabilities of the system can differ, the exact key value pairs can be
272 * extended in each product
273 (at)return E_OK on success, E_OUT_OF_RANGE if value
274 * exceeds range, E_UNKNOWN in case of an error
276 /// This is the method that will be called on remote calls on the method setMainSourceSoundProperty.
277 virtual void setMainSourceSoundProperty(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_MainSoundProperty_s soundProperty, am_Error_e& error) = 0;
279 * is used to set a specific system property.
280 (at)return E_OK on success,
281 * E_OUT_OF_RANGE if value exceeds range, E_UNKNOWN in case of an error
283 /// This is the method that will be called on remote calls on the method setSystemProperty.
284 virtual void setSystemProperty(const std::shared_ptr<CommonAPI::ClientId> clientId, am_SystemProperty_s property, am_Error_e& error) = 0;
286 * returns the actual list of MainConnections
287 (at)return E_OK on success,
288 * E_DATABASE_ERROR on error
290 /// This is the method that will be called on remote calls on the method getListMainConnections.
291 virtual void getListMainConnections(const std::shared_ptr<CommonAPI::ClientId> clientId, am_MainConnection_L& listConnections, am_Error_e& error) = 0;
293 * returns the actual list of Sinks
294 (at)return E_OK on success, E_DATABASE_ERROR
297 /// This is the method that will be called on remote calls on the method getListMainSinks.
298 virtual void getListMainSinks(const std::shared_ptr<CommonAPI::ClientId> clientId, am_SinkType_L& listMainSinks, am_Error_e& error) = 0;
300 * returns the actual list of Sources
301 (at)return E_OK on success,
302 * E_DATABASE_ERROR on error
304 /// This is the method that will be called on remote calls on the method getListMainSources.
305 virtual void getListMainSources(const std::shared_ptr<CommonAPI::ClientId> clientId, am_SourceType_L& listMainSources, am_Error_e& error) = 0;
307 * This is used to retrieve all source sound properties related to a source.
308 * Returns a vector of the sound properties and values as pair
310 * on success, E_DATABASE_ERROR on error
312 /// This is the method that will be called on remote calls on the method getListMainSinkSoundProperties.
313 virtual void getListMainSinkSoundProperties(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_MainSoundProperty_L& listSoundProperties, am_Error_e& error) = 0;
315 * This is used to retrieve all source sound properties related to a
317 (at)return E_OK on success, E_DATABASE_ERROR on error
319 /// This is the method that will be called on remote calls on the method getListMainSourceSoundProperties.
320 virtual void getListMainSourceSoundProperties(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_MainSoundProperty_L& listSourceProperties, am_Error_e& error) = 0;
322 * This is used to retrieve SourceClass Information of all source classes
324 (at)return E_OK on success, E_DATABASE_ERROR on error
326 /// This is the method that will be called on remote calls on the method getListSourceClasses.
327 virtual void getListSourceClasses(const std::shared_ptr<CommonAPI::ClientId> clientId, am_SourceClass_L& listSourceClasses, am_Error_e& error) = 0;
329 * This is used to retrieve SinkClass Information of all sink classes
331 * E_OK on success, E_DATABASE_ERROR on error
333 /// This is the method that will be called on remote calls on the method getListSinkClasses.
334 virtual void getListSinkClasses(const std::shared_ptr<CommonAPI::ClientId> clientId, am_SinkClass_L& listSinkClasses, am_Error_e& error) = 0;
336 * Retrieves a complete list of all systemProperties.
337 (at)return E_OK on success,
338 * E_DATABASE_ERROR on error
340 /// This is the method that will be called on remote calls on the method getListSystemProperties.
341 virtual void getListSystemProperties(const std::shared_ptr<CommonAPI::ClientId> clientId, am_SystemProperty_L& listSystemProperties, am_Error_e& error) = 0;
343 * returns the delay in ms that the audiopath for the given mainConnection
345 (at)return E_OK on success, E_NOT_POSSIBLE if timing information is not
346 * yet retrieved, E_DATABASE_ERROR on read error on the database
348 /// This is the method that will be called on remote calls on the method getTimingInformation.
349 virtual void getTimingInformation(const std::shared_ptr<CommonAPI::ClientId> clientId, am_mainConnectionID_t mainConnectionID, am_timeSync_t& delay, am_Error_e& error) = 0;
351 * Retrieves the list of MainNotifications for a sink. Does not return the
354 /// This is the method that will be called on remote calls on the method getListMainSinkNotificationConfigurations.
355 virtual void getListMainSinkNotificationConfigurations(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_NotificationConfiguration_L& listMainNotificationConfigurations, am_Error_e& error) = 0;
357 * Retrieves the list of MainNotifications for a source. Does not return the
360 /// This is the method that will be called on remote calls on the method getListMainSourceNotificationConfigurations.
361 virtual void getListMainSourceNotificationConfigurations(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_NotificationConfiguration_L& listMainNotificationConfigurations, am_Error_e& error) = 0;
363 * sets a MainNotificationConfiuration. This can be used to turn on an off
364 * notifications an to change the mode of the configuration.
366 * success, E_NON_EXISTENT if sinkID does not exists, E_DATABASE_ERROR on error
368 /// This is the method that will be called on remote calls on the method setMainSinkNotificationConfiguration.
369 virtual void setMainSinkNotificationConfiguration(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sinkID_t sinkID, am_NotificationConfiguration_s mainNotificationConfiguration, am_Error_e& error) = 0;
371 * sets a MainNotificationConfiuration. This can be used to turn on an off
372 * notifications an to change the mode of the configuration.
374 * success, E_NON_EXISTENT if sourceID does not exists, E_DATABASE_ERROR on error
376 /// This is the method that will be called on remote calls on the method setMainSourceNotificationConfiguration.
377 virtual void setMainSourceNotificationConfiguration(const std::shared_ptr<CommonAPI::ClientId> clientId, am_sourceID_t sourceID, am_NotificationConfiguration_s mainNotificationConfiguration, am_Error_e& error) = 0;
379 * Callback that is called when the number of connections change
381 /// Sends a broadcast event for newMainConnection.
382 virtual void fireNewMainConnectionEvent(const am_MainConnectionType_s& mainConnection) = 0;
384 * Callback that is called when the number of connections change
386 /// Sends a broadcast event for removedMainConnection.
387 virtual void fireRemovedMainConnectionEvent(const am_mainConnectionID_t& mainConnection) = 0;
389 * Callback that is called when the number of sinks change
391 /// Sends a broadcast event for newSink.
392 virtual void fireNewSinkEvent(const am_SinkType_s& sink) = 0;
394 * Callback that is called when the number of sinks change
396 /// Sends a broadcast event for removedSink.
397 virtual void fireRemovedSinkEvent(const am_sinkID_t& sinkID) = 0;
399 * Callback that is called when the number of sources change
401 /// Sends a broadcast event for newSource.
402 virtual void fireNewSourceEvent(const am_SourceType_s& source) = 0;
404 * Callback that is called when the number of sources change
406 /// Sends a broadcast event for removedSource.
407 virtual void fireRemovedSourceEvent(const am_sourceID_t& source) = 0;
409 * this callback is fired if the number of sink classes changed
411 /// Sends a broadcast event for numberOfSinkClassesChanged.
412 virtual void fireNumberOfSinkClassesChangedEvent() = 0;
414 * this callback is fired if the number of source classes changed
416 /// Sends a broadcast event for numberOfSourceClassesChanged.
417 virtual void fireNumberOfSourceClassesChangedEvent() = 0;
419 * This callback is called when the ConnectionState of a connection changed.
421 /// Sends a broadcast event for mainConnectionStateChanged.
422 virtual void fireMainConnectionStateChangedEvent(const am_mainConnectionID_t& connectionID, const am_ConnectionState_e& connectionState) = 0;
424 * this callback indicates that a sinkSoundProperty has changed.
426 /// Sends a broadcast event for mainSinkSoundPropertyChanged.
427 virtual void fireMainSinkSoundPropertyChangedEvent(const am_sinkID_t& sinkID, const am_MainSoundProperty_s& soundProperty) = 0;
429 * this callback indicates that a sourceSoundProperty has changed.
431 /// Sends a broadcast event for mainSourceSoundPropertyChanged.
432 virtual void fireMainSourceSoundPropertyChangedEvent(const am_sourceID_t& sourceID, const am_MainSoundProperty_s& soundProperty) = 0;
434 * this callback is called when the availability of a sink has changed
436 /// Sends a broadcast event for sinkAvailabilityChanged.
437 virtual void fireSinkAvailabilityChangedEvent(const am_sinkID_t& sinkID, const am_Availability_s& availability) = 0;
439 * this callback is called when the availability of source has changed.
441 /// Sends a broadcast event for sourceAvailabilityChanged.
442 virtual void fireSourceAvailabilityChangedEvent(const am_sourceID_t& sourceID, const am_Availability_s& availability) = 0;
444 * this callback indicates a volume change on the indicated sink
446 /// Sends a broadcast event for volumeChanged.
447 virtual void fireVolumeChangedEvent(const am_sinkID_t& sinkID, const am_mainVolume_t& volume) = 0;
449 * this callback indicates a mute state change on a sink.
451 /// Sends a broadcast event for sinkMuteStateChanged.
452 virtual void fireSinkMuteStateChangedEvent(const am_sinkID_t& sinkID, const am_MuteState_e& muteState) = 0;
454 * is fired if a systemProperty changed
456 /// Sends a broadcast event for systemPropertyChanged.
457 virtual void fireSystemPropertyChangedEvent(const am_SystemProperty_s& systemProperty) = 0;
459 * This callback is fired if the timinginformation for a mainConnectionID changed
461 /// Sends a broadcast event for timingInformationChanged.
462 virtual void fireTimingInformationChangedEvent(const am_mainConnectionID_t& mainConnectionID, const am_timeSync_t& time) = 0;
464 * This callback is called when a sink is updated.
466 /// Sends a broadcast event for sinkUpdated.
467 virtual void fireSinkUpdatedEvent(const am_sinkID_t& sinkID, const am_sinkClass_t& sinkClassID, const am_MainSoundProperty_L& listMainSoundProperties) = 0;
469 * This callback is called when a source is updated.
471 /// Sends a broadcast event for sourceUpdated.
472 virtual void fireSourceUpdatedEvent(const am_sourceID_t& sourceID, const am_sourceClass_t& sourceClassID, const am_MainSoundProperty_L& listMainSoundProperties) = 0;
474 * This callback is called when a notificated value of a sink changes.
476 /// Sends a broadcast event for sinkNotification.
477 virtual void fireSinkNotificationEvent(const am_sinkID_t& sinkID, const am_NotificationPayload_s& notification) = 0;
479 * This callback is called when a notifcated value of a source changes.
481 /// Sends a broadcast event for sourceNotification.
482 virtual void fireSourceNotificationEvent(const am_sourceID_t& sourceID, const am_NotificationPayload_s& notification) = 0;
484 * This callback is triggered when a mainNotificationConfiguration is changed.
486 /// Sends a broadcast event for mainSinkNotificationConfigurationChanged.
487 virtual void fireMainSinkNotificationConfigurationChangedEvent(const am_sinkID_t& sinkID, const am_NotificationConfiguration_s& mainNotificationConfiguration) = 0;
489 * This callback is triggered when a mainNotificationConfiguration is changed.
491 /// Sends a broadcast event for mainSourceNotificationConfigurationChanged.
492 virtual void fireMainSourceNotificationConfigurationChangedEvent(const am_sourceID_t& sourceID, const am_NotificationConfiguration_s& mainNotificationConfiguration) = 0;
497 } // namespace genivi
500 #endif // ORG_GENIVI_AM_Command_Control_STUB_H_