2 * Copyright (C) 2011, BMW AG
\r
4 * GeniviAudioMananger
\r
8 * \date 20-Oct-2011 3:42:04 PM
\r
9 * \author Christian Mueller (christian.ei.mueller@bmw.de)
\r
12 * GNU Lesser General Public License, version 2.1, with special exception (GENIVI clause)
\r
13 * Copyright (C) 2011, BMW AG Christian M?ller Christian.ei.mueller@bmw.de
\r
15 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License, version 2.1, as published by the Free Software Foundation.
\r
16 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License, version 2.1, for more details.
\r
17 * You should have received a copy of the GNU Lesser General Public License, version 2.1, along with this program; if not, see <http://www.gnu.org/licenses/lgpl-2.1.html>.
\r
18 * Note that the copyright holders assume that the GNU Lesser General Public License, version 2.1, may also be applicable to programs even in cases in which the program is not a library in the technical sense.
\r
19 * Linking AudioManager statically or dynamically with other modules is making a combined work based on AudioManager. You may license such other modules under the GNU Lesser General Public License, version 2.1. If you do not want to license your linked modules under the GNU Lesser General Public License, version 2.1, you may use the program under the following exception.
\r
20 * As a special exception, the copyright holders of AudioManager give you permission to combine AudioManager with software programs or libraries that are released under any license unless such a combination is not permitted by the license of such a software program or library. You may copy and distribute such a system following the terms of the GNU Lesser General Public License, version 2.1, including this special exception, for AudioManager and the licenses of the other code concerned.
\r
21 * Note that people who make modified versions of AudioManager are not obligated to grant this special exception for their modified versions; it is their choice whether to do so. The GNU Lesser General Public License, version 2.1, gives permission to release a modified version without this exception; this exception also makes it possible to release a modified version which carries forward this exception.
\r
23 * THIS CODE HAS BEEN GENERATED BY ENTERPRISE ARCHITECT GENIVI MODEL. PLEASE CHANGE ONLY IN ENTERPRISE ARCHITECT AND GENERATE AGAIN
\r
25 #if !defined(EA_E6AC61AD_E107_4b3d_8E11_9A434157C19F__INCLUDED_)
\r
26 #define EA_E6AC61AD_E107_4b3d_8E11_9A434157C19F__INCLUDED_
\r
30 #include "../audiomanagertypes.h"
\r
32 class SocketHandler;
\r
36 #define ControlReceiveVersion 1
39 * This interface gives access to all important functions of the audiomanager that are used by the AudioManagerController to control the system.
42 * @created 19-Jan-2012 4:32:00 PM
44 class ControlReceiveInterface
49 * calculates a route from source to sink.
\r
50 * @return E_OK on success, E_UNKNOWN on error
52 * @param onlyfree if true return only routes which use gateways that are not in use at the moment
55 * @param returnList this is a list of routes that are possible to take. unsorted! The longest could be first.
\r
56 * In case not route can be found, the list will return empty.
58 virtual am_Error_e getRoute(const bool onlyfree, const am_sourceID_t sourceID, const am_sinkID_t sinkID, std::vector<am_Route_s>& returnList) =0;
60 * With this function, elementary connects can be triggered by the controller.
\r
61 * @return E_OK on success, E_UNKNOWN on error, E_WRONG_FORMAT of connectionFormats do not match, E_NO_CHANGE if the desired connection is already build up
69 virtual am_Error_e connect(am_Handle_s& handle, am_connectionID_t& connectionID, const am_ConnectionFormat_e format, const am_sourceID_t sourceID, const am_sinkID_t sinkID) =0;
71 * is used to disconnect a connection
\r
72 * @return E_OK on success, E_UNKNOWN on error, E_NON_EXISTENT if connection was not found, E_NO_CHANGE if no change is neccessary
77 virtual am_Error_e disconnect(am_Handle_s& handle, const am_connectionID_t connectionID) =0;
79 * triggers a cross fade.
\r
80 * @return E_OK on success, E_UNKNOWN on error E_NO_CHANGE if no change is neccessary
83 * @param hotSource this is the source that is going to be the active one after the fading
86 * @param rampTime rampTime 0 means default value
88 virtual am_Error_e crossfade(am_Handle_s& handle, const am_HotSink_e hotSource, const am_crossfaderID_t crossfaderID, const am_RampType_e rampType, const am_time_t rampTime) =0;
90 * with this method, all actions that have a handle assigned can be stopped.
\r
91 * @return E_OK on success, E_UNKNOWN on error
93 * @param handle the handle of the action to be stopped
95 virtual am_Error_e abortAction(const am_Handle_s handle) =0;
97 * this method sets a source state for a source. This function will trigger the callback cbAckSetSourceState
\r
98 * @return E_OK on success, E_NO_CHANGE if the desired value is already correct, E_UNKNOWN on error, E_NO_CHANGE if no change is neccessary
104 virtual am_Error_e setSourceState(am_Handle_s& handle, const am_sourceID_t sourceID, const am_SourceState_e state) =0;
106 * with this function, setting of sinks volumes is done. The behavior of the volume set is depended on the given ramp and time information.
\r
107 * This function is not only used to ramp volume, but also to mute and direct set the level. Exact behavior is depended on the selected mute ramps.
\r
108 * @return E_OK on success, E_NO_CHANGE if the volume is already on the desired value, E_OUT_OF_RANGE is the volume is out of range, E_UNKNOWN on every other error.
116 virtual am_Error_e setSinkVolume(am_Handle_s& handle, const am_sinkID_t sinkID, const am_volume_t volume, const am_RampType_e ramp, const am_time_t time) =0;
118 * with this function, setting of source volumes is done. The behavior of the volume set is depended on the given ramp and time information.
\r
119 * This function is not only used to ramp volume, but also to mute and direct set the level. Exact behavior is depended on the selected mute ramps.
\r
120 * @return E_OK on success, E_NO_CHANGE if the volume is already on the desired value, E_OUT_OF_RANGE is the volume is out of range, E_UNKNOWN on every other error.
128 virtual am_Error_e setSourceVolume(am_Handle_s& handle, const am_sourceID_t sourceID, const am_volume_t volume, const am_RampType_e rampType, const am_time_t time) =0;
130 * is used to set several sinkSoundProperties at a time
\r
131 * @return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if property is out of range, E_NO_CHANGE if no change is neccessary
135 * @param soundProperty
137 virtual am_Error_e setSinkSoundProperties(am_Handle_s& handle, const am_sinkID_t sinkID, const std::vector<am_SoundProperty_s>& soundProperty) =0;
139 * is used to set sinkSoundProperties
\r
140 * @return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if property is out of range, E_NO_CHANGE if no change is neccessary
144 * @param soundProperty
146 virtual am_Error_e setSinkSoundProperty(am_Handle_s& handle, const am_sinkID_t sinkID, const am_SoundProperty_s& soundProperty) =0;
148 * is used to set several SourceSoundProperties at a time
\r
149 * @return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if property is out of range. E_NO_CHANGE if no change is neccessary
153 * @param soundProperty
155 virtual am_Error_e setSourceSoundProperties(am_Handle_s& handle, const am_sourceID_t sourceID, const std::vector<am_SoundProperty_s>& soundProperty) =0;
157 * is used to set sourceSoundProperties
\r
158 * @return E_OK on success, E_UNKNOWN on error, E_OUT_OF_RANGE if property is out of range. E_NO_CHANGE if no change is neccessary
162 * @param soundProperty
164 virtual am_Error_e setSourceSoundProperty(am_Handle_s& handle, const am_sourceID_t sourceID, const am_SoundProperty_s& soundProperty) =0;
166 * sets the domain state of a domain
\r
167 * @return E_OK on success, E_UNKNOWN on error, E_NO_CHANGE if no change is neccessary
172 virtual am_Error_e setDomainState(const am_domainID_t domainID, const am_DomainState_e domainState) =0;
174 * enters a domain in the database, creates and ID
\r
175 * @return E_OK on success, E_ALREADY_EXISTENT if the ID or name is already in the database, E_DATABASE_ERROR if the database had an error
177 * @param domainData domainID in am_Domain_s must be 0 here
180 virtual am_Error_e enterDomainDB(const am_Domain_s& domainData, am_domainID_t& domainID) =0;
182 * enters a mainconnection in the database, creates and ID
\r
183 * @return E_OK on success, E_DATABASE_ERROR if the database had an error
185 * @param mainConnectionData the MainConnectionID is omitted since it is created during the registration
186 * @param connectionID
188 virtual am_Error_e enterMainConnectionDB(const am_MainConnection_s& mainConnectionData, am_mainConnectionID_t& connectionID) =0;
190 * enters a sink in the database.
\r
191 * The sinkID in am_Sink_s shall be 0 in case of a dynamic added source A sinkID greater than 100 will be assigned. If a specific sinkID with a value <100 is given, the given value will be used. This is for a static setup where the ID's are predefined.
\r
192 * @return E_OK on success, E_ALREADY_EXISTENT if the ID or name is already in the database, E_DATABASE_ERROR if the database had an error
194 * @param sinkData the sinkID will be omitted since it is created during the registration
197 virtual am_Error_e enterSinkDB(const am_Sink_s& sinkData, am_sinkID_t& sinkID) =0;
199 * enters a crossfader in the database.
\r
200 * The crossfaderID in am_Crossfader_s shall be 0 in case of a dynamic added source A crossfaderID greater than 100 will be assigned. If a specific crossfaderID with a value <100 is given, the given value will be used. This is for a static setup where the ID's are predefined.
\r
201 * @return E_OK on success, E_ALREADY_EXISTENT if the ID or name is already in the database, E_DATABASE_ERROR if the database had an error
203 * @param crossfaderData the ID in the data will be ignored since it is created during the registration
204 * @param crossfaderID
206 virtual am_Error_e enterCrossfaderDB(const am_Crossfader_s& crossfaderData, am_crossfaderID_t& crossfaderID) =0;
208 * enters a gateway in the database.
\r
209 * The gatewayID in am_Gateway_s shall be 0 in case of a dynamic added source A gatewayID greater than 100 will be assigned. If a specific gatewayID with a value <100 is given, the given value will be used. This is for a static setup where the ID's are predefined.
\r
210 * @return E_OK on success, E_ALREADY_EXISTENT if the ID or name is already in the database, E_DATABASE_ERROR if the database had an error
212 * @param gatewayData In a fixed setup, the gatewayID must be below 100. In a dynamic setup, the gatewayID shall be 0! listSourceFormats and listSinkFormats are empty at registration time. Values are taken over when sources and sinks are registered.
215 virtual am_Error_e enterGatewayDB(const am_Gateway_s& gatewayData, am_gatewayID_t& gatewayID) =0;
217 * enters a source in the database.
\r
218 * The sourceID in am_Source_s shall be 0 in case of a dynamic added source A sourceID greater than 100 will be assigned. If a specific sourceID with a value <100 is given, the given value will be used. This is for a static setup where the ID's are predefined.
\r
219 * @return E_OK on success, E_ALREADY_EXISTENT if the ID or name is already in the database, E_DATABASE_ERROR if the database had an error
221 * @param sourceData sourceID is omitted here since it is created during registration
224 virtual am_Error_e enterSourceDB(const am_Source_s& sourceData, am_sourceID_t& sourceID) =0;
226 * Enters a sourceClass into the database.
\r
227 * @return E_OK on success, E_ALREADY_EXISTENT if the ID or name is already in the database, E_DATABASE_ERROR if the database had an error
229 * @param sinkClass IDs given with the SinkCLassID are valid below 100 (static). If given as 0, sinkClass will be enterd dynamic and ID above 100 will be created.
232 virtual am_Error_e enterSinkClassDB(const am_SinkClass_s& sinkClass, am_sinkClass_t& sinkClassID) =0;
234 * Enters a sourceClass into the database.
\r
235 * The sourceClassID in am_sourceClass_s shall be 0 in case of a dynamic added source A sourceClassID greater than 100 will be assigned. If a specific sourceClassID with a value <100 is given, the given value will be used. This is for a static setup where the ID's are predefined.
\r
236 * @return E_OK on success, E_ALREADY_EXISTENT if the ID or name is already in the database, E_DATABASE_ERROR if the database had an error
238 * @param sourceClassID
239 * @param sourceClass IDs given with the SourceCLassID are valid below 100 (static). If given as 0, sourceClass will be enterd dynamic and ID above 100 will be created.
241 virtual am_Error_e enterSourceClassDB(am_sourceClass_t& sourceClassID, const am_SourceClass_s& sourceClass) =0;
243 * changes class information of a sinkclass.
\r
244 * The properties will overwrite the values of the sinkClassID given in the sinkClass.
\r
245 * It is the duty of the controller to check if the property is valid. If it does not exist, the daemon will not return an error.
\r
246 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if sinkClassID was not found.
248 * @param sinkClass if a SourceClass ID other than 0 is given, the classInformation replaces the existing one. In case of ClassID 0, a new classID is created and returned
250 virtual am_Error_e changeSinkClassInfoDB(const am_SinkClass_s& sinkClass) =0;
252 * changes class information of a sourceClass.
\r
253 * The properties will overwrite the values of the sourceClassID given in the sourceClass.
\r
254 * It is the duty of the controller to check if the property is valid. If it does not exist, the daemon will not return an error.
\r
255 * @return E_OK on success, E_DATABASE_ERROR on error and E_NON_EXISTENT if the ClassID does not exist.
257 * @param sourceClass if a SourceClass ID other than 0 is given, the classInformation replaces the existing one. In case of ClassID 0, a new classID is created and returned
259 virtual am_Error_e changeSourceClassInfoDB(const am_SourceClass_s& sourceClass) =0;
261 * This function is used to enter the system Properties into the database.
\r
262 * All entries in the database will be erased before entering the new List. It should only be called once at system startup.
\r
263 * @return E_OK on success, E_DATABASE_ERROR if the database had an error
265 * @param listSystemProperties
267 virtual am_Error_e enterSystemPropertiesListDB(const std::vector<am_SystemProperty_s>& listSystemProperties) =0;
269 * changes the mainConnectionState of MainConnection
\r
270 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if mainconnection
272 * @param mainconnectionID
275 virtual am_Error_e changeMainConnectionRouteDB(const am_mainConnectionID_t mainconnectionID, const am_Route_s& route) =0;
277 * changes the mainConnectionState of MainConnection
\r
278 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if mainconnection
280 * @param mainconnectionID
281 * @param connectionState
283 virtual am_Error_e changeMainConnectionStateDB(const am_mainConnectionID_t mainconnectionID, const am_ConnectionState_e connectionState) =0;
285 * changes the sink volume of a sink
\r
286 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if sink was not found
291 virtual am_Error_e changeSinkMainVolumeDB(const am_mainVolume_t mainVolume, const am_sinkID_t sinkID) =0;
293 * changes the availablility of a sink
\r
294 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if sink was not found
296 * @param availability
299 virtual am_Error_e changeSinkAvailabilityDB(const am_Availability_s& availability, const am_sinkID_t sinkID) =0;
301 * changes the domainstate of a domain
\r
302 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if domain was not found
307 virtual am_Error_e changDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID) =0;
309 * changes the mute state of a sink
\r
310 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if sink was not found
315 virtual am_Error_e changeSinkMuteStateDB(const am_MuteState_e muteState, const am_sinkID_t sinkID) =0;
317 * changes the mainsinksoundproperty of a sink
\r
318 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if sink was not found
320 * @param soundProperty
323 virtual am_Error_e changeMainSinkSoundPropertyDB(const am_MainSoundProperty_s& soundProperty, const am_sinkID_t sinkID) =0;
325 * changes the mainsourcesoundproperty of a sink
\r
326 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if source was not found
328 * @param soundProperty
331 virtual am_Error_e changeMainSourceSoundPropertyDB(const am_MainSoundProperty_s& soundProperty, const am_sourceID_t sourceID) =0;
333 * changes the availablility of a source
\r
334 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if source was not found
336 * @param availability
339 virtual am_Error_e changeSourceAvailabilityDB(const am_Availability_s& availability, const am_sourceID_t sourceID) =0;
341 * changes a systemProperty
\r
342 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if property was not found
346 virtual am_Error_e changeSystemPropertyDB(const am_SystemProperty_s& property) =0;
348 * removes a mainconnection from the DB
\r
349 * @return E_OK on success, E_NON_EXISTENT if main connection was not found, E_DATABASE_ERROR if the database had an error
351 * @param mainConnectionID
353 virtual am_Error_e removeMainConnectionDB(const am_mainConnectionID_t mainConnectionID) =0;
355 * removes a sink from the DB
\r
356 * @return E_OK on success, E_NON_EXISTENT if sink was not found, E_DATABASE_ERROR if the database had an error
360 virtual am_Error_e removeSinkDB(const am_sinkID_t sinkID) =0;
362 * removes a source from the DB
\r
363 * @return E_OK on success, E_NON_EXISTENT if source was not found, E_DATABASE_ERROR if the database had an error
367 virtual am_Error_e removeSourceDB(const am_sourceID_t sourceID) =0;
369 * removes a gateway from the DB
\r
370 * @return E_OK on success, E_NON_EXISTENT if gateway was not found, E_DATABASE_ERROR if the database had an error
374 virtual am_Error_e removeGatewayDB(const am_gatewayID_t gatewayID) =0;
376 * removes a crossfader from the DB
\r
377 * @return E_OK on success, E_NON_EXISTENT if crossfader was not found, E_DATABASE_ERROR if the database had an error
379 * @param crossfaderID
381 virtual am_Error_e removeCrossfaderDB(const am_crossfaderID_t crossfaderID) =0;
383 * removes a domain from the DB
\r
384 * @return E_OK on success, E_NON_EXISTENT if domain was not found, E_DATABASE_ERROR if the database had an error
388 virtual am_Error_e removeDomainDB(const am_domainID_t domainID) =0;
390 * removes a domain from the DB
\r
391 * @return E_OK on success, E_NON_EXISTENT if domain was not found, E_DATABASE_ERROR if the database had an error
395 virtual am_Error_e removeSinkClassDB(const am_sinkClass_t sinkClassID) =0;
397 * removes a domain from the DB
\r
398 * @return E_OK on success, E_NON_EXISTENT if domain was not found, E_DATABASE_ERROR if the database had an error
400 * @param sourceClassID
402 virtual am_Error_e removeSourceClassDB(const am_sourceClass_t sourceClassID) =0;
404 * returns the ClassInformation of a source
\r
405 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if source was not found
410 virtual am_Error_e getSourceClassInfoDB(const am_sourceID_t sourceID, am_SourceClass_s& classInfo) const =0;
412 * returns the ClassInformation of a sink
\r
413 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if sink was not found
418 virtual am_Error_e getSinkClassInfoDB(const am_sinkID_t sinkID, am_SinkClass_s& sinkClass) const =0;
420 * return source and sink of a gateway
\r
421 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if gateway was not found
426 virtual am_Error_e getGatewayInfoDB(const am_gatewayID_t gatewayID, am_Gateway_s& gatewayData) const =0;
428 * returns sources and the sink of a crossfader
\r
429 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if crossfader was not found
431 * @param crossfaderID
432 * @param crossfaderData
434 virtual am_Error_e getCrossfaderInfoDB(const am_crossfaderID_t crossfaderID, am_Crossfader_s& crossfaderData) const =0;
436 * returns all sinks of a domain
\r
437 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if domain was not found
442 virtual am_Error_e getListSinksOfDomain(const am_domainID_t domainID, std::vector<am_sinkID_t>& listSinkID) const =0;
444 * returns all source of a domain
\r
445 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if domain was not found
448 * @param listSourceID
450 virtual am_Error_e getListSourcesOfDomain(const am_domainID_t domainID, std::vector<am_sourceID_t>& listSourceID) const =0;
452 * returns all crossfaders of a domain
\r
453 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if domain was not found
456 * @param listCrossfadersID
458 virtual am_Error_e getListCrossfadersOfDomain(const am_domainID_t domainID, std::vector<am_crossfaderID_t>& listCrossfadersID) const =0;
460 * returns all gateways of a domain
\r
461 * @return E_OK on success, E_DATABASE_ERROR on error, E_NON_EXISTENT if domain was not found
464 * @param listGatewaysID
466 virtual am_Error_e getListGatewaysOfDomain(const am_domainID_t domainID, std::vector<am_gatewayID_t>& listGatewaysID) const =0;
468 * returns a complete list of all MainConnections
\r
469 * @return E_OK on success, E_DATABASE_ERROR on error
471 * @param listMainConnections
473 virtual am_Error_e getListMainConnections(std::vector<am_MainConnection_s>& listMainConnections) const =0;
475 * returns a complete list of all domains
\r
476 * @return E_OK on success, E_DATABASE_ERROR on error
480 virtual am_Error_e getListDomains(std::vector<am_Domain_s>& listDomains) const =0;
482 * returns a complete list of all Connections
\r
483 * @return E_OK on success, E_DATABASE_ERROR on error
485 * @param listConnections
487 virtual am_Error_e getListConnections(std::vector<am_Connection_s>& listConnections) const =0;
489 * returns a list of all sinks
\r
490 * @return E_OK on success, E_DATABASE_ERROR on error
494 virtual am_Error_e getListSinks(std::vector<am_Sink_s>& listSinks) const =0;
496 * returns a list of all sources
\r
497 * @return E_OK on success, E_DATABASE_ERROR on error
501 virtual am_Error_e getListSources(std::vector<am_Source_s>& listSources) const =0;
503 * returns a list of all source classes
\r
504 * @return E_OK on success, E_DATABASE_ERROR on error
506 * @param listSourceClasses
508 virtual am_Error_e getListSourceClasses(std::vector<am_SourceClass_s>& listSourceClasses) const =0;
510 * returns a list of all handles
\r
511 * @return E_OK on success, E_DATABASE_ERROR on error
515 virtual am_Error_e getListHandles(std::vector<am_Handle_s>& listHandles) const =0;
517 * returns a list of all crossfaders
\r
518 * @return E_OK on success, E_DATABASE_ERROR on error
520 * @param listCrossfaders
522 virtual am_Error_e getListCrossfaders(std::vector<am_Crossfader_s>& listCrossfaders) const =0;
524 * returns a list of gateways
\r
525 * @return E_OK on success, E_DATABASE_ERROR on error
527 * @param listGateways
529 virtual am_Error_e getListGateways(std::vector<am_Gateway_s>& listGateways) const =0;
531 * returns a list of all sink classes
\r
532 * @return E_OK on success, E_DATABASE_ERROR on error
534 * @param listSinkClasses
536 virtual am_Error_e getListSinkClasses(std::vector<am_SinkClass_s>& listSinkClasses) const =0;
538 * returns the list of SystemProperties
540 * @param listSystemProperties
542 virtual am_Error_e getListSystemProperties(std::vector<am_SystemProperty_s>& listSystemProperties) const =0;
544 * sets the command interface to ready
546 virtual void setCommandReady() =0;
548 * sets the routinginterface to ready.
550 virtual void setRoutingReady() =0;
552 * This function returns the pointer to the socketHandler. This can be used to integrate socket-based activites like communication with the mainloop of the AudioManager.
\r
553 * returns E_OK if pointer is valid, E_UNKNOWN in case AudioManager was compiled without socketHandler support,
555 * @param socketHandler
557 virtual am_Error_e getSocketHandler(SocketHandler*& socketHandler) =0;
559 * This function returns the version of the interface
561 virtual uint16_t getInterfaceVersion() const =0;
565 #endif // !defined(EA_E6AC61AD_E107_4b3d_8E11_9A434157C19F__INCLUDED_)