23 #if !defined(EA_69597D9E_B0A3_4c6d_BBB6_E7F436B8B799__INCLUDED_)
24 #define EA_69597D9E_B0A3_4c6d_BBB6_E7F436B8B799__INCLUDED_
30 class CAmSocketHandler;
35 #define ControlVersion "5.1"
553 virtual am_Error_e changeSourceDB(
const am_sourceID_t sourceID,
const am_sourceClass_t sourceClassID,
const std::vector<am_SoundProperty_s>& listSoundProperties,
const std::vector<am_CustomConnectionFormat_t>& listConnectionFormats,
const std::vector<am_MainSoundProperty_s>& listMainSoundProperties) =0;
557 virtual am_Error_e changeSinkDB(
const am_sinkID_t sinkID,
const am_sinkClass_t sinkClassID,
const std::vector<am_SoundProperty_s>& listSoundProperties,
const std::vector<am_CustomConnectionFormat_t>& listConnectionFormats,
const std::vector<am_MainSoundProperty_s>& listMainSoundProperties) =0;
561 virtual am_Error_e changeConverterDB(
const am_converterID_t converterID,
const std::vector<am_CustomConnectionFormat_t>& listSourceConnectionFormats,
const std::vector<am_CustomConnectionFormat_t>& listSinkConnectionFormats,
const std::vector<bool>& convertionMatrix) =0;
565 virtual am_Error_e changeGatewayDB(
const am_gatewayID_t gatewayID,
const std::vector<am_CustomConnectionFormat_t>& listSourceConnectionFormats,
const std::vector<am_CustomConnectionFormat_t>& listSinkConnectionFormats,
const std::vector<bool>& convertionMatrix) =0;
927 virtual am_Error_e hookSystemUpdateSink(
const am_sinkID_t sinkID,
const am_sinkClass_t sinkClassID,
const std::vector<am_SoundProperty_s>& listSoundProperties,
const std::vector<am_CustomConnectionFormat_t>& listConnectionFormats,
const std::vector<am_MainSoundProperty_s>& listMainSoundProperties) =0;
931 virtual am_Error_e hookSystemUpdateSource(
const am_sourceID_t sourceID,
const am_sourceClass_t sourceClassID,
const std::vector<am_SoundProperty_s>& listSoundProperties,
const std::vector<am_CustomConnectionFormat_t>& listConnectionFormats,
const std::vector<am_MainSoundProperty_s>& listMainSoundProperties) =0;
935 virtual am_Error_e hookSystemUpdateConverter(
const am_converterID_t converterID,
const std::vector<am_CustomConnectionFormat_t>& listSourceConnectionFormats,
const std::vector<am_CustomConnectionFormat_t>& listSinkConnectionFormats,
const std::vector<bool>& convertionMatrix) =0;
939 virtual am_Error_e hookSystemUpdateGateway(
const am_gatewayID_t gatewayID,
const std::vector<am_CustomConnectionFormat_t>& listSourceConnectionFormats,
const std::vector<am_CustomConnectionFormat_t>& listSinkConnectionFormats,
const std::vector<bool>& convertionMatrix) =0;
978 #endif // !defined(EA_69597D9E_B0A3_4c6d_BBB6_E7F436B8B799__INCLUDED_)
virtual am_Error_e setSinkVolume(am_Handle_s &handle, const am_sinkID_t sinkID, const am_volume_t volume, const am_CustomRampType_t ramp, const am_time_t time)=0
with this function, setting of sinks volumes is done.
virtual am_Error_e getMainConnectionInfoDB(const am_mainConnectionID_t mainConnectionID, am_MainConnection_s &mainConnectionData) const =0
returns sources and the sink of a crossfader
virtual am_Error_e getListMainSourceSoundProperties(const am_sourceID_t sourceID, std::vector< am_MainSoundProperty_s > &listSoundproperties) const =0
This function retrieves a list of all source mainsoundproperties with its values. ...
virtual am_Error_e getListConverters(std::vector< am_Converter_s > &listConverters) const =0
returns a list of converters
virtual am_Error_e getSinkInfoDB(const am_sinkID_t sinkID, am_Sink_s &sinkData) const =0
returns the sinkData of a sink
uint16_t am_connectionID_t
a connection ID
uint16_t am_CustomSoundPropertyType_t
Within genivi only the some example properties are defined.
virtual am_Error_e enterSourceClassDB(am_sourceClass_t &sourceClassID, const am_SourceClass_s &sourceClass)=0
Enters a sourceClass into the database.
virtual am_Error_e getSinkClassInfoDB(const am_sinkID_t sinkID, am_SinkClass_s &sinkClass) const =0
returns the ClassInformation of a sink
virtual am_Error_e hookUserVolumeChange(const am_sinkID_t SinkID, const am_mainVolume_t newVolume)=0
sets a user volume
virtual void confirmControllerRundown(const am_Error_e error)=0
Acknowledges the setControllerRundown call.
virtual am_Error_e getMainSourceSoundPropertyValue(const am_sourceID_t sourceID, const am_CustomMainSoundPropertyType_t propertyType, int16_t &value) const =0
This function retrieves the value of a source Mainsoundproperty.
virtual am_Error_e removeMainConnectionDB(const am_mainConnectionID_t mainConnectionID)=0
removes a mainconnection from the DB
am_Error_e
the errors of the audiomanager.
This struct holds information about the configuration for notifications.
virtual am_Error_e getListSinkClasses(std::vector< am_SinkClass_s > &listSinkClasses) const =0
returns a list of all sink classes
virtual void hookSystemDomainStateChange(const am_domainID_t domainID, const am_DomainState_e state)=0
id called when domainstate was changed
struct describing source classes
virtual am_Error_e resyncConnectionState(const am_domainID_t domainID, std::vector< am_Connection_s > &listOfExistingConnections)=0
Retrieves a list of all current active connections from a domain.
This struct describes the attribiutes of a sink.
This struct holds the payload of a notification.
virtual am_Error_e changeSinkMuteStateDB(const am_MuteState_e muteState, const am_sinkID_t sinkID)=0
changes the mute state of a sink
virtual am_Error_e hookSystemDeregisterCrossfader(const am_crossfaderID_t crossfaderID)=0
is called when a routing adaptor deregisters a crossfader
virtual am_Error_e enterMainConnectionDB(const am_MainConnection_s &mainConnectionData, am_mainConnectionID_t &connectionID)=0
enters a mainconnection in the database, creates and ID
virtual void setControllerReady()=0
this message is used tell the controller that it should get ready.
virtual am_Error_e removeConverterDB(const am_converterID_t converterID)=0
removes a converter from the DB
virtual am_Error_e hookSystemUpdateSource(const am_sourceID_t sourceID, const am_sourceClass_t sourceClassID, const std::vector< am_SoundProperty_s > &listSoundProperties, const std::vector< am_CustomConnectionFormat_t > &listConnectionFormats, const std::vector< am_MainSoundProperty_s > &listMainSoundProperties)=0
update from the source Data
virtual am_Error_e removeSourceClassDB(const am_sourceClass_t sourceClassID)=0
removes a domain from the DB
virtual am_Error_e getConnectionFormatChoice(const am_sourceID_t sourceID, const am_sinkID_t sinkID, const am_Route_s listRoute, const std::vector< am_CustomConnectionFormat_t > listPossibleConnectionFormats, std::vector< am_CustomConnectionFormat_t > &listPrioConnectionFormats)=0
This function is used by the routing algorithm to retrieve a priorized list of connectionFormats from...
This struct describes the attribiutes of a domain.
virtual void cbAckConnect(const am_Handle_s handle, const am_Error_e errorID)=0
ack for connect
virtual am_Error_e crossfade(am_Handle_s &handle, const am_HotSink_e hotSource, const am_crossfaderID_t crossfaderID, const am_CustomRampType_t rampType, const am_time_t rampTime)=0
triggers a cross fade.
virtual void cbAckSetSinkVolumeChange(const am_Handle_s handle, const am_volume_t volume, const am_Error_e error)=0
ack for sink volume changes
virtual am_Error_e enterGatewayDB(const am_Gateway_s &gatewayData, am_gatewayID_t &gatewayID)=0
enters a gateway in the database.
uint16_t am_crossfaderID_t
a crossfader ID
uint16_t am_CustomConnectionFormat_t
This type classifies the format in which data is exchanged within a connection.
virtual am_Error_e changeSinkClassInfoDB(const am_SinkClass_s &sinkClass)=0
changes class information of a sinkclass.
The am::CAmSocketHandler implements a mainloop for the AudioManager.
virtual void hookSinkNotificationDataChanged(const am_sinkID_t sinkID, const am_NotificationPayload_s &payload)=0
new sinkNotification data is there!
uint16_t am_CustomMainSoundPropertyType_t
Here are all SoundProperties that can be set via the CommandInterface.
virtual am_Error_e getSocketHandler(CAmSocketHandler *&socketHandler)=0
This function returns the pointer to the socketHandler.
virtual void hookSystemSpeedChange(const am_speed_t speed)=0
this hook provides information about speed changes.
virtual am_Error_e changeSourceAvailabilityDB(const am_Availability_s &availability, const am_sourceID_t sourceID)=0
changes the availablility of a source
int16_t am_timeSync_t
offset time that is introduced in milli seconds.
virtual void hookSourceNotificationDataChanged(const am_sourceID_t sourceID, const am_NotificationPayload_s &payload)=0
new sourceNotification data is there!
virtual am_Error_e setSourceVolume(am_Handle_s &handle, const am_sourceID_t sourceID, const am_volume_t volume, const am_CustomRampType_t rampType, const am_time_t time)=0
with this function, setting of source volumes is done.
virtual am_Error_e getListSourceSoundProperties(const am_sourceID_t sourceID, std::vector< am_SoundProperty_s > &listSoundproperties) const =0
This function retrieves a list of all sink soundproperties with its values.
virtual am_Error_e getListSourcesOfDomain(const am_domainID_t domainID, std::vector< am_sourceID_t > &listSourceID) const =0
returns all source of a domain
struct that holds attribiutes of a mainconnection
virtual am_Error_e changeSinkDB(const am_sinkID_t sinkID, const am_sinkClass_t sinkClassID, const std::vector< am_SoundProperty_s > &listSoundProperties, const std::vector< am_CustomConnectionFormat_t > &listConnectionFormats, const std::vector< am_MainSoundProperty_s > &listMainSoundProperties)=0
Change the data of the sink.
virtual am_Error_e setSinkSoundProperties(am_Handle_s &handle, const am_sinkID_t sinkID, const std::vector< am_SoundProperty_s > &soundProperty)=0
is used to set several sinkSoundProperties at a time
virtual am_Error_e hookUserVolumeStep(const am_sinkID_t SinkID, const int16_t increment)=0
sets a user volume as increment
virtual am_Error_e hookSystemRegisterConverter(const am_Converter_s &converterData, am_converterID_t &converterID)=0
is called when a routing adaptor registers a converter
virtual am_Error_e changeMainSourceSoundPropertyDB(const am_MainSoundProperty_s &soundProperty, const am_sourceID_t sourceID)=0
changes the mainsourcesoundproperty of a sink
virtual am_Error_e removeDomainDB(const am_domainID_t domainID)=0
removes a domain from the DB
virtual am_Error_e removeSourceDB(const am_sourceID_t sourceID)=0
removes a source from the DB
virtual am_Error_e hookUserSetSystemProperty(const am_SystemProperty_s &property)=0
sets a user SystemProperty
virtual void cbAckSetSinkSoundProperties(const am_Handle_s handle, const am_Error_e error)=0
ack for setting of sinksoundproperties
virtual void cbAckSetSourceNotificationConfiguration(const am_Handle_s handle, const am_Error_e error)=0
The acknowledge of the source notification configuration.
virtual am_Error_e changeSinkMainVolumeDB(const am_mainVolume_t mainVolume, const am_sinkID_t sinkID)=0
changes the sink volume of a sink
virtual am_Error_e hookUserSetMainSinkSoundProperty(const am_sinkID_t sinkID, const am_MainSoundProperty_s &soundProperty)=0
sets a user MainSinkSoundProperty
virtual am_Error_e getConverterInfoDB(const am_converterID_t converterID, am_Converter_s &converterData) const =0
return source and sink of a converter
virtual am_Error_e setSourceSoundProperties(am_Handle_s &handle, const am_sourceID_t sourceID, const std::vector< am_SoundProperty_s > &soundProperty)=0
is used to set several SourceSoundProperties at a time
virtual am_Error_e hookUserSetMainSourceNotificationConfiguration(const am_sourceID_t sourceID, const am_NotificationConfiguration_s ¬ificationConfiguration)=0
sets a user MainSourceNotificationConfiguration
virtual am_Error_e getListSinkSoundProperties(const am_sinkID_t sinkID, std::vector< am_SoundProperty_s > &listSoundproperties) const =0
This function retrieves a list of all sink soundproperties with its values.
virtual void setCommandReady()=0
sets the command interface to ready.
struct describing system properties
uint16_t am_converterID_t
a converter ID
virtual void cbAckSetSinkNotificationConfiguration(const am_Handle_s handle, const am_Error_e error)=0
The acknowledge of the sink notification configuration.
virtual am_Error_e enterSystemPropertiesListDB(const std::vector< am_SystemProperty_s > &listSystemProperties)=0
This function is used to enter the system Properties into the database.
virtual am_Error_e getListConnections(std::vector< am_Connection_s > &listConnections) const =0
returns a complete list of all Connections
virtual void confirmRoutingReady(const am_Error_e error)=0
confirms the setRoutingReady call
virtual am_Error_e hookSystemRegisterSource(const am_Source_s &sourceData, am_sourceID_t &sourceID)=0
is called when a routing adaptor registers a source
struct describung mainsound property
virtual am_Error_e setVolumes(am_Handle_s &handle, const std::vector< am_Volumes_s > &listVolumes)=0
with this function, setting of multiple volumes at a time is done.
virtual void hookSystemInterruptStateChange(const am_sourceID_t sourceID, const am_InterruptState_e interruptState)=0
is called when an low level interrupt changed its state
virtual void sendMainSinkNotificationPayload(const am_sinkID_t sinkID, const am_NotificationPayload_s ¬ificationPayload)=0
Sends out the main notificiation of a sink.
virtual void cbAckSetSourceState(const am_Handle_s handle, const am_Error_e error)=0
ack for setting of source states
virtual am_Error_e hookUserSetSinkMuteState(const am_sinkID_t sinkID, const am_MuteState_e muteState)=0
sets the mute state of a sink
virtual void confirmControllerReady(const am_Error_e error)=0
acknowledges the setControllerReady call.
virtual am_Error_e getMainSinkSoundPropertyValue(const am_sinkID_t sinkID, const am_CustomMainSoundPropertyType_t propertyType, int16_t &value) const =0
This function retrieves the value of a sink Mainsoundproperty.
virtual am_Error_e hookSystemDeregisterSink(const am_sinkID_t sinkID)=0
is called when a routing adaptor deregisters a sink
virtual void setCommandRundown()=0
sets the command interface into the rundown state.
virtual void cbAckSetVolumes(const am_Handle_s handle, const std::vector< am_Volumes_s > &listVolumes, const am_Error_e error)=0
ack for mulitple volume changes
a handle is used for asynchronous operations and is uniquely assigned for each of this operations ...
virtual void confirmCommandRundown(const am_Error_e error)=0
confirms the setCommandRundown call
virtual void hookSystemReceiveEarlyData(const std::vector< am_EarlyData_s > &data)=0
when early data was received
virtual am_Error_e getListSinksOfDomain(const am_domainID_t domainID, std::vector< am_sinkID_t > &listSinkID) const =0
returns all sinks of a domain
uint16_t am_sourceID_t
a source ID
virtual void hookSystemSourceVolumeTick(const am_Handle_s handle, const am_sourceID_t sourceID, const am_volume_t volume)=0
volumeticks.
virtual void hookSystemTimingInformationChanged(const am_mainConnectionID_t mainConnectionID, const am_timeSync_t time)=0
this hook is fired whenever the timing information of a mainconnection has changed.
struct describing the sound property
virtual am_Error_e hookSystemDeregisterGateway(const am_gatewayID_t gatewayID)=0
is called when a routing adaptor deregisters a gateway
virtual am_Error_e getSinkSoundPropertyValue(const am_sinkID_t sinkID, const am_CustomSoundPropertyType_t propertyType, int16_t &value) const =0
This function retrieves the value of a sink soundproperty.
virtual am_Error_e changeSourceClassInfoDB(const am_SourceClass_s &sourceClass)=0
changes class information of a sourceClass.
virtual am_Error_e getListSystemProperties(std::vector< am_SystemProperty_s > &listSystemProperties) const =0
returns the list of SystemProperties
virtual am_Error_e changeSinkAvailabilityDB(const am_Availability_s &availability, const am_sinkID_t sinkID)=0
changes the availablility of a sink
struct describing sinkclasses
virtual am_Error_e disconnect(am_Handle_s &handle, const am_connectionID_t connectionID)=0
is used to disconnect a connection
virtual am_Error_e enterSinkClassDB(const am_SinkClass_s &sinkClass, am_sinkClass_t &sinkClassID)=0
Enters a sourceClass into the database.
virtual am_Error_e enterConverterDB(const am_Converter_s &converterData, am_converterID_t &converterID)=0
enters a converter in the database.
virtual void setControllerRundown(const int16_t signal)=0
This message tells the controller that he should prepare everything for the power to be switched off...
virtual void sendMainSourceNotificationPayload(const am_sourceID_t sourceID, const am_NotificationPayload_s ¬ificationPayload)=0
Sends out the main notificiation of a source.
virtual void hookSystemDomainRegistrationComplete(const am_domainID_t domainID)=0
is called when a domain registered all the elements
virtual ~IAmControlReceive()
virtual am_Error_e enterDomainDB(const am_Domain_s &domainData, am_domainID_t &domainID)=0
enters a domain in the database, creates and ID
virtual am_Error_e changeConverterDB(const am_converterID_t converterID, const std::vector< am_CustomConnectionFormat_t > &listSourceConnectionFormats, const std::vector< am_CustomConnectionFormat_t > &listSinkConnectionFormats, const std::vector< bool > &convertionMatrix)=0
changes converter Data
virtual void cbAckSetSourceSoundProperties(const am_Handle_s handle, const am_Error_e error)=0
ack for setting of sourcesoundproperties
virtual am_Error_e changeMainSourceNotificationConfigurationDB(const am_sourceID_t sourceID, const am_NotificationConfiguration_s &mainNotificationConfiguration)=0
change the mainNotificationConfiguration of a source
am_ConnectionState_e
represents the connection state
virtual am_Error_e removeSinkDB(const am_sinkID_t sinkID)=0
removes a sink from the DB
This struct describes the attributes of a converter.
virtual am_Error_e changeMainSinkSoundPropertyDB(const am_MainSoundProperty_s &soundProperty, const am_sinkID_t sinkID)=0
changes the mainsinksoundproperty of a sink
virtual am_Error_e hookSystemUpdateGateway(const am_gatewayID_t gatewayID, const std::vector< am_CustomConnectionFormat_t > &listSourceConnectionFormats, const std::vector< am_CustomConnectionFormat_t > &listSinkConnectionFormats, const std::vector< bool > &convertionMatrix)=0
updates the Gateway Data
This interface is presented by the AudioManager controller.
a list of routing elements that lead from source to sink
virtual am_Error_e enterSourceDB(const am_Source_s &sourceData, am_sourceID_t &sourceID)=0
enters a source in the database.
virtual void cbAckDisconnect(const am_Handle_s handle, const am_Error_e errorID)=0
ack for disconnect
am_HotSink_e
describes the active sink of a crossfader.
virtual am_Error_e enterSinkDB(const am_Sink_s &sinkData, am_sinkID_t &sinkID)=0
enters a sink in the database.
int16_t am_volume_t
The unit is 0.1 db steps,The smallest value -3000 (=AM_MUTE).
This struct describes the attribiutes of a crossfader.
virtual void confirmCommandReady(const am_Error_e error)=0
confirms the setCommandReady call
virtual am_Error_e getListGatewaysOfDomain(const am_domainID_t domainID, std::vector< am_gatewayID_t > &listGatewaysID) const =0
returns all gateways of a domain
virtual am_Error_e getListSourceClasses(std::vector< am_SourceClass_s > &listSourceClasses) const =0
returns a list of all source classes
virtual am_Error_e getListMainSinkSoundProperties(const am_sinkID_t sinkID, std::vector< am_MainSoundProperty_s > &listSoundproperties) const =0
This function retrieves a list of all sink mainsoundproperties with its values.
virtual am_Error_e changDomainStateDB(const am_DomainState_e domainState, const am_domainID_t domainID)=0
changes the domainstate of a domain
virtual am_Error_e hookUserDisconnectionRequest(const am_mainConnectionID_t connectionID)=0
is called when a disconnection request comes in via the command interface
virtual void hookSystemSinkAvailablityStateChange(const am_sinkID_t sinkID, const am_Availability_s &availability)=0
id called when a sink changed its availability
virtual am_Error_e getSourceSoundPropertyValue(const am_sourceID_t sourceID, const am_CustomSoundPropertyType_t propertyType, int16_t &value) const =0
This function retrieves the value of a source soundproperty.
virtual am_Error_e connect(am_Handle_s &handle, am_connectionID_t &connectionID, const am_CustomConnectionFormat_t format, const am_sourceID_t sourceID, const am_sinkID_t sinkID)=0
With this function, elementary connects can be triggered by the controller.
virtual am_Error_e hookSystemUpdateConverter(const am_converterID_t converterID, const std::vector< am_CustomConnectionFormat_t > &listSourceConnectionFormats, const std::vector< am_CustomConnectionFormat_t > &listSinkConnectionFormats, const std::vector< bool > &convertionMatrix)=0
updates the Converter Data
Copyright (C) 2012 - 2014, BMW AG.
uint16_t am_sourceClass_t
virtual void confirmRoutingRundown(const am_Error_e error)=0
confirms the setRoutingRundown command
virtual am_Error_e changeMainSinkNotificationConfigurationDB(const am_sinkID_t sinkID, const am_NotificationConfiguration_s &mainNotificationConfiguration)=0
change the mainNotificationConfiguration of a sink
virtual void cbAckCrossFade(const am_Handle_s handle, const am_HotSink_e hostsink, const am_Error_e error)=0
ack for crossfading
virtual am_Error_e changeMainConnectionStateDB(const am_mainConnectionID_t mainconnectionID, const am_ConnectionState_e connectionState)=0
changes the mainConnectionState of MainConnection
virtual am_Error_e changeSystemPropertyDB(const am_SystemProperty_s &property)=0
changes a systemProperty
this describes the availability of a sink or a source together with the latest change ...
virtual am_Error_e getListCrossfaders(std::vector< am_Crossfader_s > &listCrossfaders) const =0
returns a list of all crossfaders
This struct describes the attributes of a gateway.
virtual am_Error_e getSourceClassInfoDB(const am_sourceID_t sourceID, am_SourceClass_s &classInfo) const =0
returns the ClassInformation of a source
This interface gives access to all important functions of the audiomanager that are used by the Audio...
virtual am_Error_e hookSystemDeregisterDomain(const am_domainID_t domainID)=0
is called when a routing adaptor wants to derigister a domain
virtual am_Error_e getListMainConnections(std::vector< am_MainConnection_s > &listMainConnections) const =0
returns a complete list of all MainConnections
virtual void getInterfaceVersion(std::string &version) const =0
This function returns the version of the interface.
virtual am_Error_e hookSystemDeregisterConverter(const am_converterID_t converterID)=0
is called when a routing adaptor deregisters a converter
uint16_t am_time_t
time in ms!
virtual am_Error_e hookSystemUpdateSink(const am_sinkID_t sinkID, const am_sinkClass_t sinkClassID, const std::vector< am_SoundProperty_s > &listSoundProperties, const std::vector< am_CustomConnectionFormat_t > &listConnectionFormats, const std::vector< am_MainSoundProperty_s > &listMainSoundProperties)=0
update form the SinkData
virtual am_Error_e hookSystemRegisterCrossfader(const am_Crossfader_s &crossfaderData, am_crossfaderID_t &crossfaderID)=0
is called when a routing adaptor registers a crossfader
virtual am_Error_e hookUserConnectionRequest(const am_sourceID_t sourceID, const am_sinkID_t sinkID, am_mainConnectionID_t &mainConnectionID)=0
is called when a connection request comes in via the command interface
virtual am_Error_e removeGatewayDB(const am_gatewayID_t gatewayID)=0
removes a gateway from the DB
virtual void cbAckSetSourceVolumeChange(const am_Handle_s handle, const am_volume_t voulme, const am_Error_e error)=0
ack for source volume changes
virtual am_Error_e getListConvertersOfDomain(const am_domainID_t domainID, std::vector< am_converterID_t > &listConverterID) const =0
returns all converters of a domain
virtual am_Error_e setDomainState(const am_domainID_t domainID, const am_DomainState_e domainState)=0
sets the domain state of a domain
virtual ~IAmControlSend()
virtual am_Error_e removeHandle(const am_Handle_s handle)=0
This function searches for a handle in the RoutingSender and removes it if found. ...
virtual am_Error_e startupController(IAmControlReceive *controlreceiveinterface)=0
Starts up the controller.
virtual am_Error_e changeMainConnectionRouteDB(const am_mainConnectionID_t mainconnectionID, const std::vector< am_connectionID_t > &listConnectionID)=0
changes the mainConnectionState of MainConnection
virtual void cbAckSetSinkSoundProperty(const am_Handle_s handle, const am_Error_e error)=0
ack for setting of sinksoundproperties
uint16_t am_domainID_t
a domain ID
int16_t am_mainVolume_t
This is the volume presented on the command interface.
virtual am_Error_e getListSinks(std::vector< am_Sink_s > &listSinks) const =0
returns a list of all sinks
virtual am_Error_e changeSourceDB(const am_sourceID_t sourceID, const am_sourceClass_t sourceClassID, const std::vector< am_SoundProperty_s > &listSoundProperties, const std::vector< am_CustomConnectionFormat_t > &listConnectionFormats, const std::vector< am_MainSoundProperty_s > &listMainSoundProperties)=0
Change the data of the source.
virtual am_Error_e hookUserSetMainSinkNotificationConfiguration(const am_sinkID_t sinkID, const am_NotificationConfiguration_s ¬ificationConfiguration)=0
sets a user MainSinkNotificationConfiguration
virtual am_Error_e changeGatewayDB(const am_gatewayID_t gatewayID, const std::vector< am_CustomConnectionFormat_t > &listSourceConnectionFormats, const std::vector< am_CustomConnectionFormat_t > &listSinkConnectionFormats, const std::vector< bool > &convertionMatrix)=0
changes Gateway Data
virtual void cbAckSetSourceSoundProperty(const am_Handle_s handle, const am_Error_e error)=0
ack for setting of sourcesoundproperties
virtual am_Error_e hookSystemDeregisterSource(const am_sourceID_t sourceID)=0
is called when a routing adaptor deregisters a source
virtual void setRoutingReady()=0
sets the routinginterface to ready.
virtual am_Error_e getSourceInfoDB(const am_sourceID_t sourceID, am_Source_s &sourceData) const =0
returns the sourcekData of a source
uint16_t am_gatewayID_t
a gateway ID
virtual am_Error_e setSourceState(am_Handle_s &handle, const am_sourceID_t sourceID, const am_SourceState_e state)=0
this method sets a source state for a source.
This struct describes the attribiutes of a source.
uint16_t am_CustomRampType_t
The given ramp types here are just examples.
virtual am_Error_e getGatewayInfoDB(const am_gatewayID_t gatewayID, am_Gateway_s &gatewayData) const =0
return source and sink of a gateway
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
calculates a route from source to sink.
virtual void hookSystemSourceAvailablityStateChange(const am_sourceID_t sourceID, const am_Availability_s &availability)=0
id called when a source changed its availability
virtual void setRoutingRundown()=0
sets the routinginterface to the rundown state.
uint16_t am_sinkID_t
a sink ID
uint16_t am_mainConnectionID_t
a mainConnection ID
virtual am_Error_e getListHandles(std::vector< am_Handle_s > &listHandles) const =0
returns a list of all handles
virtual am_Error_e getListSources(std::vector< am_Source_s > &listSources) const =0
returns a list of all sources
virtual am_Error_e hookSystemRegisterDomain(const am_Domain_s &domainData, am_domainID_t &domainID)=0
is called when a routing adaptor registers its domain
virtual am_Error_e removeCrossfaderDB(const am_crossfaderID_t crossfaderID)=0
removes a crossfader from the DB
virtual am_Error_e abortAction(const am_Handle_s handle)=0
with this method, all actions that have a handle assigned can be stopped.
virtual void hookSystemSingleTimingInformationChanged(const am_connectionID_t connectionID, const am_timeSync_t time)=0
This hook is fired whenever the timing information of a connection has changed.
virtual am_Error_e getCrossfaderInfoDB(const am_crossfaderID_t crossfaderID, am_Crossfader_s &crossfaderData) const =0
returns sources and the sink of a crossfader
virtual am_Error_e hookSystemRegisterSink(const am_Sink_s &sinkData, am_sinkID_t &sinkID)=0
is called when a routing adaptor registers a sink
am_SourceState_e
The source state reflects the state of the source.
virtual am_Error_e setSourceSoundProperty(am_Handle_s &handle, const am_sourceID_t sourceID, const am_SoundProperty_s &soundProperty)=0
is used to set sourceSoundProperties
virtual void hookSystemSinkVolumeTick(const am_Handle_s handle, const am_sinkID_t sinkID, const am_volume_t volume)=0
volumeticks.
virtual am_Error_e getListDomains(std::vector< am_Domain_s > &listDomains) const =0
returns a complete list of all domains
virtual am_Error_e getListCrossfadersOfDomain(const am_domainID_t domainID, std::vector< am_crossfaderID_t > &listCrossfadersID) const =0
returns all crossfaders of a domain
virtual am_Error_e hookSystemRegisterGateway(const am_Gateway_s &gatewayData, am_gatewayID_t &gatewayID)=0
is called when a routing adaptor registers a gateway
virtual am_Error_e getListGateways(std::vector< am_Gateway_s > &listGateways) const =0
returns a list of gateways
virtual am_Error_e setSinkSoundProperty(am_Handle_s &handle, const am_sinkID_t sinkID, const am_SoundProperty_s &soundProperty)=0
is used to set sinkSoundProperties
virtual am_Error_e removeSinkClassDB(const am_sinkClass_t sinkClassID)=0
removes a domain from the DB
virtual am_Error_e enterCrossfaderDB(const am_Crossfader_s &crossfaderData, am_crossfaderID_t &crossfaderID)=0
enters a crossfader in the database.
virtual am_Error_e setSinkNotificationConfiguration(am_Handle_s &handle, const am_sinkID_t sinkID, const am_NotificationConfiguration_s ¬ificationConfiguration)=0
set a sink notification configuration
virtual void getInterfaceVersion(std::string &version) const =0
This function returns the version of the interface returns E_OK, E_UNKOWN if version is unknown...
virtual am_Error_e hookUserSetMainSourceSoundProperty(const am_sourceID_t sourceID, const am_MainSoundProperty_s &soundProperty)=0
sets a user MainSourceSoundProperty
virtual am_Error_e setSourceNotificationConfiguration(am_Handle_s &handle, const am_sourceID_t sourceID, const am_NotificationConfiguration_s ¬ificationConfiguration)=0
set a source notification configuration