AudioManager  7.6.6
Native Application Runtime Environment
am::CAmRoutingReceiver Class Reference

Implements the Receiving side of the RoutingPlugins. More...

#include <CAmRoutingReceiver.h>

Inheritance diagram for am::CAmRoutingReceiver:
am::IAmRoutingReceive

Public Member Functions

 CAmRoutingReceiver (IAmDatabaseHandler *iDatabaseHandler, CAmRoutingSender *iRoutingSender, CAmControlSender *iControlSender, CAmSocketHandler *iSocketHandler)
 
 CAmRoutingReceiver (IAmDatabaseHandler *iDatabaseHandler, CAmRoutingSender *iRoutingSender, CAmControlSender *iControlSender, CAmSocketHandler *iSocketHandler, CAmDbusWrapper *iDBusWrapper)
 
 ~CAmRoutingReceiver ()
 
void ackConnect (const am_Handle_s handle, const am_connectionID_t connectionID, const am_Error_e error)
 acknowledges a asyncConnect More...
 
void ackDisconnect (const am_Handle_s handle, const am_connectionID_t connectionID, const am_Error_e error)
 acknowledges a asyncDisconnect More...
 
void ackSetSinkVolumeChange (const am_Handle_s handle, const am_volume_t volume, const am_Error_e error)
 acknowledges a asyncsetSinkVolume More...
 
void ackSetSourceVolumeChange (const am_Handle_s handle, const am_volume_t volume, const am_Error_e error)
 acknowledges a asyncsetSourceVolume More...
 
void ackSetSourceState (const am_Handle_s handle, const am_Error_e error)
 acknowlegde for asyncSetSourceState More...
 
void ackSetSinkSoundProperties (const am_Handle_s handle, const am_Error_e error)
 acknowledges asyncSetSinkSoundProperties More...
 
void ackSetSinkSoundProperty (const am_Handle_s handle, const am_Error_e error)
 acknowledges asyncSetSinkSoundProperty More...
 
void ackSetSourceSoundProperties (const am_Handle_s handle, const am_Error_e error)
 acknowledges asyncSetSourceSoundProperties More...
 
void ackSetSourceSoundProperty (const am_Handle_s handle, const am_Error_e error)
 acknowledges asyncSetSourceSoundProperty More...
 
void ackCrossFading (const am_Handle_s handle, const am_HotSink_e hotSink, const am_Error_e error)
 acknowledges asyncCrossFade More...
 
void ackSourceVolumeTick (const am_Handle_s handle, const am_sourceID_t sourceID, const am_volume_t volume)
 acknowledges a volume tick. More...
 
void ackSinkVolumeTick (const am_Handle_s handle, const am_sinkID_t sinkID, const am_volume_t volume)
 acknowledges a volume tick. More...
 
am_Error_e peekDomain (const std::string &name, am_domainID_t &domainID)
 This function returns the ID to the given domainName. More...
 
am_Error_e registerDomain (const am_Domain_s &domainData, am_domainID_t &domainID)
 registers a domain More...
 
am_Error_e deregisterDomain (const am_domainID_t domainID)
 deregisters a domain. More...
 
am_Error_e registerGateway (const am_Gateway_s &gatewayData, am_gatewayID_t &gatewayID)
 registers a gateway. More...
 
am_Error_e registerConverter (const am_Converter_s &converterData, am_converterID_t &converterID)
 registers a converter. More...
 
am_Error_e deregisterGateway (const am_gatewayID_t gatewayID)
 deregisters a gateway. More...
 
am_Error_e deregisterConverter (const am_converterID_t converterID)
 deregisters a converter. More...
 
am_Error_e peekSink (const std::string &name, am_sinkID_t &sinkID)
 This function returns the ID to the given sinkName. More...
 
am_Error_e registerSink (const am_Sink_s &sinkData, am_sinkID_t &sinkID)
 Registers a sink. More...
 
am_Error_e deregisterSink (const am_sinkID_t sinkID)
 deregisters a sink. More...
 
am_Error_e peekSource (const std::string &name, am_sourceID_t &sourceID)
 This function returns the ID to the given sourceName. More...
 
am_Error_e registerSource (const am_Source_s &sourceData, am_sourceID_t &sourceID)
 registers a source. More...
 
am_Error_e deregisterSource (const am_sourceID_t sourceID)
 deregisters a source More...
 
am_Error_e registerCrossfader (const am_Crossfader_s &crossfaderData, am_crossfaderID_t &crossfaderID)
 this function registers a crossfader. More...
 
am_Error_e deregisterCrossfader (const am_crossfaderID_t crossfaderID)
 this function deregisters a crossfader. More...
 
am_Error_e peekSourceClassID (const std::string &name, am_sourceClass_t &sourceClassID)
 this function peeks a sourceclassID. More...
 
am_Error_e peekSinkClassID (const std::string &name, am_sinkClass_t &sinkClassID)
 this function peeks a sourceclassID. More...
 
void hookInterruptStatusChange (const am_sourceID_t sourceID, const am_InterruptState_e interruptState)
 is called when a low level interrupt changes it status. More...
 
void hookDomainRegistrationComplete (const am_domainID_t domainID)
 This hook is called when all elements from a domain are registered. More...
 
void hookSinkAvailablityStatusChange (const am_sinkID_t sinkID, const am_Availability_s &availability)
 is called when a sink changes its availability More...
 
void hookSourceAvailablityStatusChange (const am_sourceID_t sourceID, const am_Availability_s &availability)
 is called when a source changes its availability More...
 
void hookDomainStateChange (const am_domainID_t domainID, const am_DomainState_e domainState)
 is called when a domain changes its status. More...
 
void hookTimingInformationChanged (const am_connectionID_t connectionID, const am_timeSync_t delay)
 is called when the timinginformation (delay) changed for a connection. More...
 
void sendChangedData (const std::vector< am_EarlyData_s > &earlyData)
 this function is used to send out all data that has been changed in an early state. More...
 
am_Error_e getDBusConnectionWrapper (CAmDbusWrapper *&dbusConnectionWrapper) const
 this function is used to retrieve a pointer to the dBusConnectionWrapper More...
 
am_Error_e getSocketHandler (CAmSocketHandler *&socketHandler) const
 This function returns the pointer to the socketHandler. More...
 
void getInterfaceVersion (std::string &version) const
 This function returns the version of the interface. More...
 
void confirmRoutingReady (const uint16_t handle, const am_Error_e error)
 confirms the setRoutingReady Command More...
 
void confirmRoutingRundown (const uint16_t handle, const am_Error_e error)
 confirms the setRoutingRundown Command More...
 
am_Error_e updateGateway (const am_gatewayID_t gatewayID, const std::vector< am_CustomConnectionFormat_t > &listSourceFormats, const std::vector< am_CustomConnectionFormat_t > &listSinkFormats, const std::vector< bool > &convertionMatrix)
 updates data of an gateway. More...
 
am_Error_e updateConverter (const am_converterID_t converterID, const std::vector< am_CustomConnectionFormat_t > &listSourceFormats, const std::vector< am_CustomConnectionFormat_t > &listSinkFormats, const std::vector< bool > &convertionMatrix)
 updates data of an converter. More...
 
am_Error_e updateSink (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)
 updates data of an gateway. More...
 
am_Error_e updateSource (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)
 updates data of an source. More...
 
void ackSetVolumes (const am_Handle_s handle, const std::vector< am_Volumes_s > &listvolumes, const am_Error_e error)
 acknowledges a asyncSetSinkVolumes More...
 
void ackSinkNotificationConfiguration (const am_Handle_s handle, const am_Error_e error)
 The acknowledge of the SinkNotificationConfiguration. More...
 
void ackSourceNotificationConfiguration (const am_Handle_s handle, const am_Error_e error)
 The acknowledge of the SourceNotificationConfiguration. More...
 
void hookSinkNotificationDataChange (const am_sinkID_t sinkID, const am_NotificationPayload_s &payload)
 is called whenever a notified value needs to be send More...
 
void hookSourceNotificationDataChange (const am_sourceID_t sourceID, const am_NotificationPayload_s &payload)
 is called whenever a notified value needs to be send More...
 
am_Error_e getDomainOfSink (const am_sinkID_t sinkID, am_domainID_t &domainID) const
 E_OK in case of success. More...
 
am_Error_e getDomainOfSource (const am_sourceID_t sourceID, am_domainID_t &domainID) const
 E_OK in case of success. More...
 
am_Error_e getDomainOfCrossfader (const am_crossfaderID_t crossfader, am_domainID_t &domainID) const
 E_OK in case of success. More...
 
uint16_t getStartupHandle ()
 returns a startup handle More...
 
uint16_t getRundownHandle ()
 returns a rundown handle More...
 
void waitOnStartup (bool startup)
 tells the RoutingReceiver to start waiting for all handles to be confirmed More...
 
void waitOnRundown (bool rundown)
 tells the RoutingReceiver to start waiting for all handles to be confirmed More...
 
- Public Member Functions inherited from am::IAmRoutingReceive
 IAmRoutingReceive ()
 
virtual ~IAmRoutingReceive ()
 

Detailed Description

Implements the Receiving side of the RoutingPlugins.

Definition at line 41 of file CAmRoutingReceiver.h.

Constructor & Destructor Documentation

am::CAmRoutingReceiver::CAmRoutingReceiver ( IAmDatabaseHandler iDatabaseHandler,
CAmRoutingSender iRoutingSender,
CAmControlSender iControlSender,
CAmSocketHandler iSocketHandler 
)

Definition at line 38 of file CAmRoutingReceiver.cpp.

am::CAmRoutingReceiver::CAmRoutingReceiver ( IAmDatabaseHandler iDatabaseHandler,
CAmRoutingSender iRoutingSender,
CAmControlSender iControlSender,
CAmSocketHandler iSocketHandler,
CAmDbusWrapper iDBusWrapper 
)

Definition at line 58 of file CAmRoutingReceiver.cpp.

am::CAmRoutingReceiver::~CAmRoutingReceiver ( )

Definition at line 79 of file CAmRoutingReceiver.cpp.

Member Function Documentation

void am::CAmRoutingReceiver::ackConnect ( const am_Handle_s  handle,
const am_connectionID_t  connectionID,
const am_Error_e  error 
)
virtual

acknowledges a asyncConnect

Implements am::IAmRoutingReceive.

Definition at line 95 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackCrossFading ( const am_Handle_s  handle,
const am_HotSink_e  hotSink,
const am_Error_e  error 
)
virtual

acknowledges asyncCrossFade

Implements am::IAmRoutingReceive.

Definition at line 198 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackDisconnect ( const am_Handle_s  handle,
const am_connectionID_t  connectionID,
const am_Error_e  error 
)
virtual

acknowledges a asyncDisconnect

Implements am::IAmRoutingReceive.

Definition at line 114 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSetSinkSoundProperties ( const am_Handle_s  handle,
const am_Error_e  error 
)
virtual

acknowledges asyncSetSinkSoundProperties

Implements am::IAmRoutingReceive.

Definition at line 177 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSetSinkSoundProperty ( const am_Handle_s  handle,
const am_Error_e  error 
)
virtual

acknowledges asyncSetSinkSoundProperty

Implements am::IAmRoutingReceive.

Definition at line 170 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSetSinkVolumeChange ( const am_Handle_s  handle,
const am_volume_t  volume,
const am_Error_e  error 
)
virtual

acknowledges a asyncsetSinkVolume

Implements am::IAmRoutingReceive.

Definition at line 125 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSetSourceSoundProperties ( const am_Handle_s  handle,
const am_Error_e  error 
)
virtual

acknowledges asyncSetSourceSoundProperties

Implements am::IAmRoutingReceive.

Definition at line 191 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSetSourceSoundProperty ( const am_Handle_s  handle,
const am_Error_e  error 
)
virtual

acknowledges asyncSetSourceSoundProperty

Implements am::IAmRoutingReceive.

Definition at line 184 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSetSourceState ( const am_Handle_s  handle,
const am_Error_e  error 
)
virtual

acknowlegde for asyncSetSourceState

Implements am::IAmRoutingReceive.

Definition at line 163 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSetSourceVolumeChange ( const am_Handle_s  handle,
const am_volume_t  volume,
const am_Error_e  error 
)
virtual

acknowledges a asyncsetSourceVolume

Implements am::IAmRoutingReceive.

Definition at line 144 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSetVolumes ( const am_Handle_s  handle,
const std::vector< am_Volumes_s > &  listvolumes,
const am_Error_e  error 
)
virtual

acknowledges a asyncSetSinkVolumes

Implements am::IAmRoutingReceive.

Definition at line 438 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSinkNotificationConfiguration ( const am_Handle_s  handle,
const am_Error_e  error 
)
virtual

The acknowledge of the SinkNotificationConfiguration.

Implements am::IAmRoutingReceive.

Definition at line 404 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSinkVolumeTick ( const am_Handle_s  handle,
const am_sinkID_t  sinkID,
const am_volume_t  volume 
)
virtual

acknowledges a volume tick.

This can be used to display volumechanges during ramps

Implements am::IAmRoutingReceive.

Definition at line 211 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSourceNotificationConfiguration ( const am_Handle_s  handle,
const am_Error_e  error 
)
virtual

The acknowledge of the SourceNotificationConfiguration.

Implements am::IAmRoutingReceive.

Definition at line 411 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::ackSourceVolumeTick ( const am_Handle_s  handle,
const am_sourceID_t  sourceID,
const am_volume_t  volume 
)
virtual

acknowledges a volume tick.

This can be used to display volumechanges during ramps

Implements am::IAmRoutingReceive.

Definition at line 205 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::confirmRoutingReady ( const uint16_t  handle,
const am_Error_e  error 
)
virtual

confirms the setRoutingReady Command

Implements am::IAmRoutingReceive.

Definition at line 366 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::confirmRoutingRundown ( const uint16_t  handle,
const am_Error_e  error 
)
virtual

confirms the setRoutingRundown Command

Implements am::IAmRoutingReceive.

Definition at line 375 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::deregisterConverter ( const am_converterID_t  converterID)
virtual

deregisters a converter.

Also removes all sinks and sources of the controlling domain.

Returns
E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 247 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::deregisterCrossfader ( const am_crossfaderID_t  crossfaderID)
virtual

this function deregisters a crossfader.

removes all sources and sinks assiated as well.

Returns
E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 287 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::deregisterDomain ( const am_domainID_t  domainID)
virtual

deregisters a domain.

All sources, sinks, gateways and crossfaders from that domain will be removed as well.

Returns
E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 227 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::deregisterGateway ( const am_gatewayID_t  gatewayID)
virtual

deregisters a gateway.

Also removes all sinks and sources of the controlling domain.

Returns
E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 242 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::deregisterSink ( const am_sinkID_t  sinkID)
virtual

deregisters a sink.

Returns
E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 262 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::deregisterSource ( const am_sourceID_t  sourceID)
virtual

deregisters a source

Returns
E_OK on succes, E_NON_EXISTENT if not found E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 277 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::getDBusConnectionWrapper ( CAmDbusWrapper *&  dbusConnectionWrapper) const
virtual

this function is used to retrieve a pointer to the dBusConnectionWrapper

Returns
E_OK if pointer is valid, E_UKNOWN if AudioManager was compiled without DBus Support

Implements am::IAmRoutingReceive.

Definition at line 349 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::getDomainOfCrossfader ( const am_crossfaderID_t  crossfader,
am_domainID_t domainID 
) const
virtual

E_OK in case of success.

Implements am::IAmRoutingReceive.

Definition at line 467 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::getDomainOfSink ( const am_sinkID_t  sinkID,
am_domainID_t domainID 
) const
virtual

E_OK in case of success.

Implements am::IAmRoutingReceive.

Definition at line 457 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::getDomainOfSource ( const am_sourceID_t  sourceID,
am_domainID_t domainID 
) const
virtual

E_OK in case of success.

Implements am::IAmRoutingReceive.

Definition at line 462 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::getInterfaceVersion ( std::string &  version) const
virtual

This function returns the version of the interface.

Implements am::IAmRoutingReceive.

Definition at line 361 of file CAmRoutingReceiver.cpp.

uint16_t am::CAmRoutingReceiver::getRundownHandle ( )

returns a rundown handle

Definition at line 391 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::getSocketHandler ( CAmSocketHandler *&  socketHandler) const
virtual

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. returns E_OK if pointer is valid, E_UNKNOWN in case AudioManager was compiled without socketHandler support,

Implements am::IAmRoutingReceive.

Definition at line 355 of file CAmRoutingReceiver.cpp.

uint16_t am::CAmRoutingReceiver::getStartupHandle ( )

returns a startup handle

Definition at line 384 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::hookDomainRegistrationComplete ( const am_domainID_t  domainID)
virtual

This hook is called when all elements from a domain are registered.

Is used by the Controller to know when all expected domains are finally registered

Implements am::IAmRoutingReceive.

Definition at line 302 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::hookDomainStateChange ( const am_domainID_t  domainID,
const am_DomainState_e  domainState 
)
virtual

is called when a domain changes its status.

This used for early domains only

Implements am::IAmRoutingReceive.

Definition at line 317 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::hookInterruptStatusChange ( const am_sourceID_t  sourceID,
const am_InterruptState_e  interruptState 
)
virtual

is called when a low level interrupt changes it status.

Implements am::IAmRoutingReceive.

Definition at line 292 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::hookSinkAvailablityStatusChange ( const am_sinkID_t  sinkID,
const am_Availability_s availability 
)
virtual

is called when a sink changes its availability

Implements am::IAmRoutingReceive.

Definition at line 307 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::hookSinkNotificationDataChange ( const am_sinkID_t  sinkID,
const am_NotificationPayload_s payload 
)
virtual

is called whenever a notified value needs to be send

Implements am::IAmRoutingReceive.

Definition at line 445 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::hookSourceAvailablityStatusChange ( const am_sourceID_t  sourceID,
const am_Availability_s availability 
)
virtual

is called when a source changes its availability

Implements am::IAmRoutingReceive.

Definition at line 312 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::hookSourceNotificationDataChange ( const am_sourceID_t  sourceID,
const am_NotificationPayload_s payload 
)
virtual

is called whenever a notified value needs to be send

Implements am::IAmRoutingReceive.

Definition at line 451 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::hookTimingInformationChanged ( const am_connectionID_t  connectionID,
const am_timeSync_t  delay 
)
virtual

is called when the timinginformation (delay) changed for a connection.

Implements am::IAmRoutingReceive.

Definition at line 322 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::peekDomain ( const std::string &  name,
am_domainID_t domainID 
)
virtual

This function returns the ID to the given domainName.

If already a domain is registered with this name, it will return the corresponding ID, if not it will reserve an ID but not register the domain. The other parameters of the domain will be overwritten when the domain is registered.

Returns
E_OK on success, E_UNKNOWN on error

Implements am::IAmRoutingReceive.

Definition at line 217 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::peekSink ( const std::string &  name,
am_sinkID_t sinkID 
)
virtual

This function returns the ID to the given sinkName.

If already a sink is registered with this name, it will return the corresponding ID, if not it will reserve an ID but not register the sink. The other parameters of the sink will be overwritten when the sink is registered.

Returns
E_OK on success, E_UNKNOWN on error

Implements am::IAmRoutingReceive.

Definition at line 252 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::peekSinkClassID ( const std::string &  name,
am_sinkClass_t sinkClassID 
)
virtual

this function peeks a sourceclassID.

It is used by the RoutingPlugins to determine the SinkClassIDs of a sinkClass.

Returns
E_OK on succes, E_DATABASE_ERROR on error

Implements am::IAmRoutingReceive.

Definition at line 333 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::peekSource ( const std::string &  name,
am_sourceID_t sourceID 
)
virtual

This function returns the ID to the given sourceName.

If already a source is registered with this name, it will return the corresponding ID, if not it will reserve an ID but not register the source. The other parameters of the source will be overwritten when the source is registered.

Returns
E_OK on success, E_UNKNOWN on error

Implements am::IAmRoutingReceive.

Definition at line 267 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::peekSourceClassID ( const std::string &  name,
am_sourceClass_t sourceClassID 
)
virtual

this function peeks a sourceclassID.

It is used by the RoutingPlugins to determine the SinkClassIDs of a sinkClass.

Returns
E_OK on succes, E_DATABASE_ERROR on error

Implements am::IAmRoutingReceive.

Definition at line 338 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::registerConverter ( const am_Converter_s converterData,
am_converterID_t converterID 
)
virtual

registers a converter.

Returns
E_OK on succes, E_ALREADY_EXISTENT if already registered E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 237 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::registerCrossfader ( const am_Crossfader_s crossfaderData,
am_crossfaderID_t crossfaderID 
)
virtual

this function registers a crossfader.

Returns
E_OK on succes, E_ALREADY_EXISTENT if already registered E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 282 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::registerDomain ( const am_Domain_s domainData,
am_domainID_t domainID 
)
virtual

registers a domain

Returns
E_OK on succes, E_ALREADY_EXISTENT if already registered E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 222 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::registerGateway ( const am_Gateway_s gatewayData,
am_gatewayID_t gatewayID 
)
virtual

registers a gateway.

Returns
E_OK on succes, E_ALREADY_EXISTENT if already registered E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 232 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::registerSink ( const am_Sink_s sinkData,
am_sinkID_t sinkID 
)
virtual

Registers a sink.

If the sink is part of a gateway, the listconnectionFormats is copied to the gatewayInformation

Returns
E_OK on succes, E_ALREADY_EXISTENT if already registered E_UNKOWN on error

Implements am::IAmRoutingReceive.

Definition at line 257 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::registerSource ( const am_Source_s sourceData,
am_sourceID_t sourceID 
)
virtual

registers a source.

If the source is part of a gateway, the listconnectionFormats is copied to the gatewayInformation

Returns
E_OK on success, E_UNKNOWN on error, E_ALREADY_EXIST if either name or sourceID already exists

Implements am::IAmRoutingReceive.

Definition at line 272 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::sendChangedData ( const std::vector< am_EarlyData_s > &  earlyData)
virtual

this function is used to send out all data that has been changed in an early state.

Returns
E_OK on success, E_UNKNOWN on error

Implements am::IAmRoutingReceive.

Definition at line 328 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::updateConverter ( const am_converterID_t  converterID,
const std::vector< am_CustomConnectionFormat_t > &  listSourceFormats,
const std::vector< am_CustomConnectionFormat_t > &  listSinkFormats,
const std::vector< bool > &  convertionMatrix 
)
virtual

updates data of an converter.

Returns
E_OK on success, E_NON_EXISTENT if the gatewayID is not valid.

Implements am::IAmRoutingReceive.

Definition at line 423 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::updateGateway ( const am_gatewayID_t  gatewayID,
const std::vector< am_CustomConnectionFormat_t > &  listSourceFormats,
const std::vector< am_CustomConnectionFormat_t > &  listSinkFormats,
const std::vector< bool > &  convertionMatrix 
)
virtual

updates data of an gateway.

Returns
E_OK on success, E_NON_EXISTENT if the gatewayID is not valid.

Implements am::IAmRoutingReceive.

Definition at line 418 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::updateSink ( 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 
)
virtual

updates data of an gateway.

Returns
E_OK on success, E_NON_EXISTENT if the sinkID is not valid.

Implements am::IAmRoutingReceive.

Definition at line 428 of file CAmRoutingReceiver.cpp.

am_Error_e am::CAmRoutingReceiver::updateSource ( 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 
)
virtual

updates data of an source.

Returns
E_OK on success, E_NON_EXISTENT if the sourceID in the struct is not valid. Please note that only the following data out of am_Source_s have effect when they are changed: sourceClassID, listSoundProperties, listConnectionFormats, listMainSoundProperties

Implements am::IAmRoutingReceive.

Definition at line 433 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::waitOnRundown ( bool  rundown)

tells the RoutingReceiver to start waiting for all handles to be confirmed

Definition at line 472 of file CAmRoutingReceiver.cpp.

void am::CAmRoutingReceiver::waitOnStartup ( bool  startup)

tells the RoutingReceiver to start waiting for all handles to be confirmed

Definition at line 398 of file CAmRoutingReceiver.cpp.


The documentation for this class was generated from the following files: