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

This class handles and abstracts the database. More...

#include <CAmDatabaseHandlerMap.h>

Inheritance diagram for am::CAmDatabaseHandlerMap:
am::IAmDatabaseHandler

Classes

struct  AmDatabaseObserverCallbacks
 Database observer. More...
 

Public Member Functions

 CAmDatabaseHandlerMap ()
 
virtual ~CAmDatabaseHandlerMap ()
 
am_Error_e enterDomainDB (const am_Domain_s &domainData, am_domainID_t &domainID)
 The following interface methods must be implemented by the subclass. More...
 
am_Error_e enterMainConnectionDB (const am_MainConnection_s &mainConnectionData, am_mainConnectionID_t &connectionID)
 
am_Error_e enterSinkDB (const am_Sink_s &sinkData, am_sinkID_t &sinkID)
 
am_Error_e enterCrossfaderDB (const am_Crossfader_s &crossfaderData, am_crossfaderID_t &crossfaderID)
 
am_Error_e enterGatewayDB (const am_Gateway_s &gatewayData, am_gatewayID_t &gatewayID)
 
am_Error_e enterConverterDB (const am_Converter_s &converterData, am_converterID_t &converterID)
 
am_Error_e enterSourceDB (const am_Source_s &sourceData, am_sourceID_t &sourceID)
 
am_Error_e enterConnectionDB (const am_Connection_s &connection, am_connectionID_t &connectionID)
 
am_Error_e enterSinkClassDB (const am_SinkClass_s &sinkClass, am_sinkClass_t &sinkClassID)
 
am_Error_e enterSourceClassDB (am_sourceClass_t &sourceClassID, const am_SourceClass_s &sourceClass)
 
am_Error_e enterSystemProperties (const std::vector< am_SystemProperty_s > &listSystemProperties)
 
am_Error_e changeMainConnectionRouteDB (const am_mainConnectionID_t mainconnectionID, const std::vector< am_connectionID_t > &listConnectionID)
 
am_Error_e changeMainConnectionStateDB (const am_mainConnectionID_t mainconnectionID, const am_ConnectionState_e connectionState)
 
am_Error_e changeSinkMainVolumeDB (const am_mainVolume_t mainVolume, const am_sinkID_t sinkID)
 
am_Error_e changeSinkAvailabilityDB (const am_Availability_s &availability, const am_sinkID_t sinkID)
 
am_Error_e changeDomainStateDB (const am_DomainState_e domainState, const am_domainID_t domainID)
 
am_Error_e changeSinkMuteStateDB (const am_MuteState_e muteState, const am_sinkID_t sinkID)
 
am_Error_e changeMainSinkSoundPropertyDB (const am_MainSoundProperty_s &soundProperty, const am_sinkID_t sinkID)
 
am_Error_e changeMainSourceSoundPropertyDB (const am_MainSoundProperty_s &soundProperty, const am_sourceID_t sourceID)
 
am_Error_e changeSourceSoundPropertyDB (const am_SoundProperty_s &soundProperty, const am_sourceID_t sourceID)
 
am_Error_e changeSinkSoundPropertyDB (const am_SoundProperty_s &soundProperty, const am_sinkID_t sinkID)
 
am_Error_e changeSourceAvailabilityDB (const am_Availability_s &availability, const am_sourceID_t sourceID)
 
am_Error_e changeSystemPropertyDB (const am_SystemProperty_s &property)
 
am_Error_e changeDelayMainConnection (const am_timeSync_t &delay, const am_mainConnectionID_t &connectionID)
 
am_Error_e changeSinkClassInfoDB (const am_SinkClass_s &sinkClass)
 
am_Error_e changeSourceClassInfoDB (const am_SourceClass_s &sourceClass)
 
am_Error_e changeConnectionTimingInformation (const am_connectionID_t connectionID, const am_timeSync_t delay)
 
am_Error_e changeConnectionFinal (const am_connectionID_t connectionID)
 
am_Error_e changeSourceState (const am_sourceID_t sourceID, const am_SourceState_e sourceState)
 
am_Error_e changeSourceInterruptState (const am_sourceID_t sourceID, const am_InterruptState_e interruptState)
 
am_Error_e changeSinkVolume (const am_sinkID_t sinkID, const am_volume_t volume)
 
am_Error_e changeSourceVolume (const am_sourceID_t sourceID, const am_volume_t volume)
 
am_Error_e changeCrossFaderHotSink (const am_crossfaderID_t crossfaderID, const am_HotSink_e hotsink)
 
am_Error_e removeMainConnectionDB (const am_mainConnectionID_t mainConnectionID)
 
am_Error_e removeSinkDB (const am_sinkID_t sinkID)
 
am_Error_e removeSourceDB (const am_sourceID_t sourceID)
 
am_Error_e removeGatewayDB (const am_gatewayID_t gatewayID)
 
am_Error_e removeConverterDB (const am_converterID_t converterID)
 
am_Error_e removeCrossfaderDB (const am_crossfaderID_t crossfaderID)
 
am_Error_e removeDomainDB (const am_domainID_t domainID)
 
am_Error_e removeSinkClassDB (const am_sinkClass_t sinkClassID)
 
am_Error_e removeSourceClassDB (const am_sourceClass_t sourceClassID)
 
am_Error_e removeConnection (const am_connectionID_t connectionID)
 
am_Error_e getSourceClassInfoDB (const am_sourceID_t sourceID, am_SourceClass_s &classInfo) const
 
am_Error_e getSinkClassInfoDB (const am_sinkID_t sinkID, am_SinkClass_s &sinkClass) const
 
am_Error_e getGatewayInfoDB (const am_gatewayID_t gatewayID, am_Gateway_s &gatewayData) const
 
am_Error_e getConverterInfoDB (const am_converterID_t converterID, am_Converter_s &converterData) const
 
am_Error_e getSinkInfoDB (const am_sinkID_t sinkID, am_Sink_s &sinkData) const
 
am_Error_e getSourceInfoDB (const am_sourceID_t sourceID, am_Source_s &sourceData) const
 
am_Error_e getCrossfaderInfoDB (const am_crossfaderID_t crossfaderID, am_Crossfader_s &crossfaderData) const
 
am_Error_e getMainConnectionInfoDB (const am_mainConnectionID_t mainConnectionID, am_MainConnection_s &mainConnectionData) const
 
am_Error_e getSinkMainVolume (const am_sinkID_t sinkID, am_mainVolume_t &mainVolume) const
 
am_Error_e getSinkVolume (const am_sinkID_t sinkID, am_volume_t &volume) const
 
am_Error_e getSourceVolume (const am_sourceID_t sourceID, am_volume_t &volume) const
 
am_Error_e getSinkSoundPropertyValue (const am_sinkID_t sinkID, const am_CustomSoundPropertyType_t propertyType, int16_t &value) const
 
am_Error_e getSourceSoundPropertyValue (const am_sourceID_t sourceID, const am_CustomSoundPropertyType_t propertyType, int16_t &value) const
 
am_Error_e getMainSinkSoundPropertyValue (const am_sinkID_t sinkID, const am_CustomMainSoundPropertyType_t propertyType, int16_t &value) const
 
am_Error_e getMainSourceSoundPropertyValue (const am_sourceID_t sourceID, const am_CustomMainSoundPropertyType_t propertyType, int16_t &value) const
 
am_Error_e getListSinkSoundProperties (const am_sinkID_t sinkID, std::vector< am_SoundProperty_s > &listSoundproperties) const
 
am_Error_e getListSourceSoundProperties (const am_sourceID_t sourceID, std::vector< am_SoundProperty_s > &listSoundproperties) const
 
am_Error_e getListSinksOfDomain (const am_domainID_t domainID, std::vector< am_sinkID_t > &listSinkID) const
 
am_Error_e getListSourcesOfDomain (const am_domainID_t domainID, std::vector< am_sourceID_t > &listSourceID) const
 
am_Error_e getListCrossfadersOfDomain (const am_domainID_t domainID, std::vector< am_crossfaderID_t > &listGatewaysID) const
 
am_Error_e getListGatewaysOfDomain (const am_domainID_t domainID, std::vector< am_gatewayID_t > &listGatewaysID) const
 
am_Error_e getListConvertersOfDomain (const am_domainID_t domainID, std::vector< am_converterID_t > &listConvertersID) const
 
am_Error_e getListMainConnections (std::vector< am_MainConnection_s > &listMainConnections) const
 
am_Error_e getListDomains (std::vector< am_Domain_s > &listDomains) const
 
am_Error_e getListConnections (std::vector< am_Connection_s > &listConnections) const
 
am_Error_e getListConnectionsReserved (std::vector< am_Connection_s > &listConnections) const
 
am_Error_e getListSinks (std::vector< am_Sink_s > &listSinks) const
 
am_Error_e getListSources (std::vector< am_Source_s > &lisSources) const
 
am_Error_e getListSourceClasses (std::vector< am_SourceClass_s > &listSourceClasses) const
 
am_Error_e getListCrossfaders (std::vector< am_Crossfader_s > &listCrossfaders) const
 
am_Error_e getListGateways (std::vector< am_Gateway_s > &listGateways) const
 
am_Error_e getListConverters (std::vector< am_Converter_s > &listConverters) const
 
am_Error_e getListSinkClasses (std::vector< am_SinkClass_s > &listSinkClasses) const
 
am_Error_e getListVisibleMainConnections (std::vector< am_MainConnectionType_s > &listConnections) const
 
am_Error_e getListMainSinks (std::vector< am_SinkType_s > &listMainSinks) const
 
am_Error_e getListMainSources (std::vector< am_SourceType_s > &listMainSources) const
 
am_Error_e getListMainSinkSoundProperties (const am_sinkID_t sinkID, std::vector< am_MainSoundProperty_s > &listSoundProperties) const
 
am_Error_e getListMainSourceSoundProperties (const am_sourceID_t sourceID, std::vector< am_MainSoundProperty_s > &listSourceProperties) const
 
am_Error_e getListSystemProperties (std::vector< am_SystemProperty_s > &listSystemProperties) const
 
am_Error_e getListSinkConnectionFormats (const am_sinkID_t sinkID, std::vector< am_CustomAvailabilityReason_t > &listConnectionFormats) const
 
am_Error_e getListSourceConnectionFormats (const am_sourceID_t sourceID, std::vector< am_CustomAvailabilityReason_t > &listConnectionFormats) const
 
am_Error_e getListGatewayConnectionFormats (const am_gatewayID_t gatewayID, std::vector< bool > &listConnectionFormat) const
 
am_Error_e getTimingInformation (const am_mainConnectionID_t mainConnectionID, am_timeSync_t &delay) const
 
am_Error_e getDomainOfSource (const am_sourceID_t sourceID, am_domainID_t &domainID) const
 
am_Error_e getDomainOfSink (const am_sinkID_t sinkID, am_domainID_t &domainID) const
 
am_Error_e getDomainOfCrossfader (const am_converterID_t crossfader, am_domainID_t &domainID) const
 
am_Error_e getSoureState (const am_sourceID_t sourceID, am_SourceState_e &sourceState) const
 
am_Error_e getDomainState (const am_domainID_t domainID, am_DomainState_e &state) const
 
am_Error_e peekDomain (const std::string &name, am_domainID_t &domainID)
 
am_Error_e peekSink (const std::string &name, am_sinkID_t &sinkID)
 
am_Error_e peekSource (const std::string &name, am_sourceID_t &sourceID)
 
am_Error_e peekSinkClassID (const std::string &name, am_sinkClass_t &sinkClassID)
 
am_Error_e peekSourceClassID (const std::string &name, am_sourceClass_t &sourceClassID)
 
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_CustomAvailabilityReason_t > &listConnectionFormats, const std::vector< am_MainSoundProperty_s > &listMainSoundProperties)
 
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_CustomAvailabilityReason_t > &listConnectionFormats, const std::vector< am_MainSoundProperty_s > &listMainSoundProperties)
 
am_Error_e getListMainSinkNotificationConfigurations (const am_sinkID_t sinkID, std::vector< am_NotificationConfiguration_s > &listMainNotificationConfigurations)
 
am_Error_e getListMainSourceNotificationConfigurations (const am_sourceID_t sourceID, std::vector< am_NotificationConfiguration_s > &listMainNotificationConfigurations)
 
am_Error_e changeMainSinkNotificationConfigurationDB (const am_sinkID_t sinkID, const am_NotificationConfiguration_s mainNotificationConfiguration)
 
am_Error_e changeMainSourceNotificationConfigurationDB (const am_sourceID_t sourceID, const am_NotificationConfiguration_s mainNotificationConfiguration)
 
am_Error_e changeGatewayDB (const am_gatewayID_t gatewayID, const std::vector< am_CustomAvailabilityReason_t > &listSourceConnectionFormats, const std::vector< am_CustomAvailabilityReason_t > &listSinkConnectionFormats, const std::vector< bool > &convertionMatrix)
 
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)
 
am_Error_e changeSinkNotificationConfigurationDB (const am_sinkID_t sinkID, const am_NotificationConfiguration_s notificationConfiguration)
 
am_Error_e changeSourceNotificationConfigurationDB (const am_sourceID_t sourceID, const am_NotificationConfiguration_s notificationConfiguration)
 
bool existMainConnection (const am_mainConnectionID_t mainConnectionID) const
 checks for a certain mainConnection More...
 
bool existCrossFader (const am_crossfaderID_t crossfaderID) const
 checks if a CrossFader exists More...
 
bool existConnection (const am_Connection_s &connection) const
 checks if a connection already exists. More...
 
bool existConnectionID (const am_connectionID_t connectionID) const
 checks if a connection with the given ID exists More...
 
bool existSource (const am_sourceID_t sourceID) const
 checks for a certain Source More...
 
bool existSourceNameOrID (const am_sourceID_t sourceID, const std::string &name) const
 checks if a source name or ID exists More...
 
bool existSourceName (const std::string &name) const
 checks if a name exits More...
 
bool existSink (const am_sinkID_t sinkID) const
 checks for a certain Sink More...
 
bool existSinkNameOrID (const am_sinkID_t sinkID, const std::string &name) const
 checks if a sink with the ID or the name exists More...
 
bool existSinkName (const std::string &name) const
 checks if a sink with the name exists More...
 
bool existDomain (const am_domainID_t domainID) const
 checks for a certain domain More...
 
bool existGateway (const am_gatewayID_t gatewayID) const
 checks for certain gateway More...
 
bool existConverter (const am_converterID_t converterID) const
 
bool existSinkClass (const am_sinkClass_t sinkClassID) const
 checks for certain SinkClass More...
 
bool existSourceClass (const am_sourceClass_t sourceClassID) const
 checks for certain sourceClass More...
 
bool sourceVisible (const am_sourceID_t sourceID) const
 registers the Observer at the Database More...
 
bool sinkVisible (const am_sinkID_t sinkID) const
 gives information about the visibility of a sink More...
 
bool isComponentConnected (const am_Gateway_s &gateway) const
 
bool isComponentConnected (const am_Converter_s &converter) const
 
void dump (std::ostream &output) const
 
am_Error_e enumerateSources (std::function< void(const am_Source_s &element)> cb) const
 
am_Error_e enumerateSinks (std::function< void(const am_Sink_s &element)> cb) const
 
am_Error_e enumerateGateways (std::function< void(const am_Gateway_s &element)> cb) const
 
am_Error_e enumerateConverters (std::function< void(const am_Converter_s &element)> cb) const
 
bool registerObserver (IAmDatabaseObserver *iObserver)
 
bool unregisterObserver (IAmDatabaseObserver *iObserver)
 
unsigned countObservers ()
 
- Public Member Functions inherited from am::IAmDatabaseHandler
 IAmDatabaseHandler ()
 
virtual ~IAmDatabaseHandler ()
 

Detailed Description

This class handles and abstracts the database.

Definition at line 64 of file CAmDatabaseHandlerMap.h.

Constructor & Destructor Documentation

am::CAmDatabaseHandlerMap::CAmDatabaseHandlerMap ( )

Definition at line 456 of file CAmDatabaseHandlerMap.cpp.

am::CAmDatabaseHandlerMap::~CAmDatabaseHandlerMap ( )
virtual

Definition at line 471 of file CAmDatabaseHandlerMap.cpp.

Member Function Documentation

am_Error_e am::CAmDatabaseHandlerMap::changeConnectionFinal ( const am_connectionID_t  connectionID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2489 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeConnectionTimingInformation ( const am_connectionID_t  connectionID,
const am_timeSync_t  delay 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2461 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::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 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3270 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeCrossFaderHotSink ( const am_crossfaderID_t  crossfaderID,
const am_HotSink_e  hotsink 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2961 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeDelayMainConnection ( const am_timeSync_t delay,
const am_mainConnectionID_t connectionID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2244 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeDomainStateDB ( const am_DomainState_e  domainState,
const am_domainID_t  domainID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1361 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeGatewayDB ( const am_gatewayID_t  gatewayID,
const std::vector< am_CustomAvailabilityReason_t > &  listSourceConnectionFormats,
const std::vector< am_CustomAvailabilityReason_t > &  listSinkConnectionFormats,
const std::vector< bool > &  convertionMatrix 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3239 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeMainConnectionRouteDB ( const am_mainConnectionID_t  mainconnectionID,
const std::vector< am_connectionID_t > &  listConnectionID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1266 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeMainConnectionStateDB ( const am_mainConnectionID_t  mainconnectionID,
const am_ConnectionState_e  connectionState 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1292 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeMainSinkNotificationConfigurationDB ( const am_sinkID_t  sinkID,
const am_NotificationConfiguration_s  mainNotificationConfiguration 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3202 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeMainSinkSoundPropertyDB ( const am_MainSoundProperty_s soundProperty,
const am_sinkID_t  sinkID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1406 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeMainSourceNotificationConfigurationDB ( const am_sourceID_t  sourceID,
const am_NotificationConfiguration_s  mainNotificationConfiguration 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3220 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeMainSourceSoundPropertyDB ( const am_MainSoundProperty_s soundProperty,
const am_sourceID_t  sourceID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1432 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSinkAvailabilityDB ( const am_Availability_s availability,
const am_sinkID_t  sinkID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1336 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSinkClassInfoDB ( const am_SinkClass_s sinkClass)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1741 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSinkDB ( const am_sinkID_t  sinkID,
const am_sinkClass_t  sinkClassID,
const std::vector< am_SoundProperty_s > &  listSoundProperties,
const std::vector< am_CustomAvailabilityReason_t > &  listConnectionFormats,
const std::vector< am_MainSoundProperty_s > &  listMainSoundProperties 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3087 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSinkMainVolumeDB ( const am_mainVolume_t  mainVolume,
const am_sinkID_t  sinkID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1319 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSinkMuteStateDB ( const am_MuteState_e  muteState,
const am_sinkID_t  sinkID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1382 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSinkNotificationConfigurationDB ( const am_sinkID_t  sinkID,
const am_NotificationConfiguration_s  notificationConfiguration 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3317 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSinkSoundPropertyDB ( const am_SoundProperty_s soundProperty,
const am_sinkID_t  sinkID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2937 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSinkVolume ( const am_sinkID_t  sinkID,
const am_volume_t  volume 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2889 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSourceAvailabilityDB ( const am_Availability_s availability,
const am_sourceID_t  sourceID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1459 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSourceClassInfoDB ( const am_SourceClass_s sourceClass)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1762 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSourceDB ( const am_sourceID_t  sourceID,
const am_sourceClass_t  sourceClassID,
const std::vector< am_SoundProperty_s > &  listSoundProperties,
const std::vector< am_CustomAvailabilityReason_t > &  listConnectionFormats,
const std::vector< am_MainSoundProperty_s > &  listMainSoundProperties 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3017 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSourceInterruptState ( const am_sourceID_t  sourceID,
const am_InterruptState_e  interruptState 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2630 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSourceNotificationConfigurationDB ( const am_sourceID_t  sourceID,
const am_NotificationConfiguration_s  notificationConfiguration 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3334 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSourceSoundPropertyDB ( const am_SoundProperty_s soundProperty,
const am_sourceID_t  sourceID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2913 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSourceState ( const am_sourceID_t  sourceID,
const am_SourceState_e  sourceState 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2613 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSourceVolume ( const am_sourceID_t  sourceID,
const am_volume_t  volume 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2901 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::changeSystemPropertyDB ( const am_SystemProperty_s property)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1484 of file CAmDatabaseHandlerMap.cpp.

unsigned am::CAmDatabaseHandlerMap::countObservers ( )
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3415 of file CAmDatabaseHandlerMap.cpp.

void am::CAmDatabaseHandlerMap::dump ( std::ostream &  output) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 966 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterConnectionDB ( const am_Connection_s connection,
am_connectionID_t connectionID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1081 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterConverterDB ( const am_Converter_s converterData,
am_converterID_t converterID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 898 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterCrossfaderDB ( const am_Crossfader_s crossfaderData,
am_crossfaderID_t crossfaderID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 736 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterDomainDB ( const am_Domain_s domainData,
am_domainID_t domainID 
)
virtual

The following interface methods must be implemented by the subclass.

Implements am::IAmDatabaseHandler.

Definition at line 478 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterGatewayDB ( const am_Gateway_s gatewayData,
am_gatewayID_t gatewayID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 823 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterMainConnectionDB ( const am_MainConnection_s mainConnectionData,
am_mainConnectionID_t connectionID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 557 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterSinkClassDB ( const am_SinkClass_s sinkClass,
am_sinkClass_t sinkClassID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1138 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterSinkDB ( const am_Sink_s sinkData,
am_sinkID_t sinkID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 641 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterSourceClassDB ( am_sourceClass_t sourceClassID,
const am_SourceClass_s sourceClass 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1202 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterSourceDB ( const am_Source_s sourceData,
am_sourceID_t sourceID 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1005 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enterSystemProperties ( const std::vector< am_SystemProperty_s > &  listSystemProperties)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1252 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enumerateConverters ( std::function< void(const am_Converter_s &element)>  cb) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3384 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enumerateGateways ( std::function< void(const am_Gateway_s &element)>  cb) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3374 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enumerateSinks ( std::function< void(const am_Sink_s &element)>  cb) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3363 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::enumerateSources ( std::function< void(const am_Source_s &element)>  cb) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3352 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existConnection ( const am_Connection_s connection) const
virtual

checks if a connection already exists.

Only takes sink, source and format information for search!

Parameters
connectionthe connection to be checked
Returns
true if connections exists

Implements am::IAmDatabaseHandler.

Definition at line 2562 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existConnectionID ( const am_connectionID_t  connectionID) const
virtual

checks if a connection with the given ID exists

Parameters
connectionID
Returns
true if connection exits

Implements am::IAmDatabaseHandler.

Definition at line 2578 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existConverter ( const am_converterID_t  converterID) const

Definition at line 2397 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existCrossFader ( const am_crossfaderID_t  crossfaderID) const
virtual

checks if a CrossFader exists

Parameters
crossfaderIDthe ID of the crossfader to be checked
Returns
true if exists

Implements am::IAmDatabaseHandler.

Definition at line 2593 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existDomain ( const am_domainID_t  domainID) const
virtual

checks for a certain domain

Parameters
domainIDto be checked for
Returns
true if it exists

Implements am::IAmDatabaseHandler.

Definition at line 2378 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existGateway ( const am_gatewayID_t  gatewayID) const
virtual

checks for certain gateway

Parameters
gatewayIDto be checked for
Returns
true if it exists

Implements am::IAmDatabaseHandler.

Definition at line 2392 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existMainConnection ( const am_mainConnectionID_t  mainConnectionID) const
virtual

checks for a certain mainConnection

Parameters
mainConnectionIDto be checked for
Returns
true if it exists

Implements am::IAmDatabaseHandler.

Definition at line 2261 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existSink ( const am_sinkID_t  sinkID) const
virtual

checks for a certain Sink

Parameters
sinkIDto be checked for
Returns
true if it exists

Implements am::IAmDatabaseHandler.

Definition at line 2306 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existSinkClass ( const am_sinkClass_t  sinkClassID) const
virtual

checks for certain SinkClass

Parameters
sinkClassID
Returns
true if it exists

Implements am::IAmDatabaseHandler.

Definition at line 2446 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existSinkName ( const std::string &  name) const
virtual

checks if a sink with the name exists

Parameters
namethe name
Returns
true if it exists

Implements am::IAmDatabaseHandler.

Definition at line 2368 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existSinkNameOrID ( const am_sinkID_t  sinkID,
const std::string &  name 
) const
virtual

checks if a sink with the ID or the name exists

Parameters
sinkIDthe ID
namethe name
Returns
true if it exists.

Implements am::IAmDatabaseHandler.

Definition at line 2358 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existSource ( const am_sourceID_t  sourceID) const
virtual

checks for a certain Source

Parameters
sourceIDto be checked for
Returns
true if it exists

Implements am::IAmDatabaseHandler.

Definition at line 2271 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existSourceClass ( const am_sourceClass_t  sourceClassID) const
virtual

checks for certain sourceClass

Parameters
sourceClassID
Returns
true if it exists

Implements am::IAmDatabaseHandler.

Definition at line 2456 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existSourceName ( const std::string &  name) const
virtual

checks if a name exits

Parameters
namethe name
Returns
true if it exits

Implements am::IAmDatabaseHandler.

Definition at line 2296 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::existSourceNameOrID ( const am_sourceID_t  sourceID,
const std::string &  name 
) const
virtual

checks if a source name or ID exists

Parameters
sourceIDthe sourceID
namethe name
Returns
true if it exits

Implements am::IAmDatabaseHandler.

Definition at line 2286 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getConverterInfoDB ( const am_converterID_t  converterID,
am_Converter_s converterData 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1819 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getCrossfaderInfoDB ( const am_crossfaderID_t  crossfaderID,
am_Crossfader_s crossfaderData 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1833 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getDomainOfCrossfader ( const am_converterID_t  crossfader,
am_domainID_t domainID 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2428 of file CAmDatabaseHandlerMap.cpp.

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

Implements am::IAmDatabaseHandler.

Definition at line 2415 of file CAmDatabaseHandlerMap.cpp.

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

Implements am::IAmDatabaseHandler.

Definition at line 2402 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getDomainState ( const am_domainID_t  domainID,
am_DomainState_e state 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2779 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getGatewayInfoDB ( const am_gatewayID_t  gatewayID,
am_Gateway_s gatewayData 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1805 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListConnections ( std::vector< am_Connection_s > &  listConnections) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1972 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListConnectionsReserved ( std::vector< am_Connection_s > &  listConnections) const

Definition at line 1986 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListConverters ( std::vector< am_Converter_s > &  listConverters) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2058 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListConvertersOfDomain ( const am_domainID_t  domainID,
std::vector< am_converterID_t > &  listConvertersID 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1927 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListCrossfaders ( std::vector< am_Crossfader_s > &  listCrossfaders) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2036 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListCrossfadersOfDomain ( const am_domainID_t  domainID,
std::vector< am_crossfaderID_t > &  listGatewaysID 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1882 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListDomains ( std::vector< am_Domain_s > &  listDomains) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1958 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListGatewayConnectionFormats ( const am_gatewayID_t  gatewayID,
std::vector< bool > &  listConnectionFormat 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2206 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListGateways ( std::vector< am_Gateway_s > &  listGateways) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2047 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListGatewaysOfDomain ( const am_domainID_t  domainID,
std::vector< am_gatewayID_t > &  listGatewaysID 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1909 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListMainConnections ( std::vector< am_MainConnection_s > &  listMainConnections) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1945 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListMainSinkNotificationConfigurations ( const am_sinkID_t  sinkID,
std::vector< am_NotificationConfiguration_s > &  listMainNotificationConfigurations 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3154 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListMainSinks ( std::vector< am_SinkType_s > &  listMainSinks) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2091 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListMainSinkSoundProperties ( const am_sinkID_t  sinkID,
std::vector< am_MainSoundProperty_s > &  listSoundProperties 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2119 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListMainSourceNotificationConfigurations ( const am_sourceID_t  sourceID,
std::vector< am_NotificationConfiguration_s > &  listMainNotificationConfigurations 
)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3169 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListMainSources ( std::vector< am_SourceType_s > &  listMainSources) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2105 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListMainSourceSoundProperties ( const am_sourceID_t  sourceID,
std::vector< am_MainSoundProperty_s > &  listSourceProperties 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2133 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSinkClasses ( std::vector< am_SinkClass_s > &  listSinkClasses) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2069 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSinkConnectionFormats ( const am_sinkID_t  sinkID,
std::vector< am_CustomAvailabilityReason_t > &  listConnectionFormats 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2180 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSinks ( std::vector< am_Sink_s > &  listSinks) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2000 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSinksOfDomain ( const am_domainID_t  domainID,
std::vector< am_sinkID_t > &  listSinkID 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1846 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSinkSoundProperties ( const am_sinkID_t  sinkID,
std::vector< am_SoundProperty_s > &  listSoundproperties 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2146 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSourceClasses ( std::vector< am_SourceClass_s > &  listSourceClasses) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2025 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSourceConnectionFormats ( const am_sourceID_t  sourceID,
std::vector< am_CustomAvailabilityReason_t > &  listConnectionFormats 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2193 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSources ( std::vector< am_Source_s > &  lisSources) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2012 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSourcesOfDomain ( const am_domainID_t  domainID,
std::vector< am_sourceID_t > &  listSourceID 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1864 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSourceSoundProperties ( const am_sourceID_t  sourceID,
std::vector< am_SoundProperty_s > &  listSoundproperties 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2160 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListSystemProperties ( std::vector< am_SystemProperty_s > &  listSystemProperties) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2174 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getListVisibleMainConnections ( std::vector< am_MainConnectionType_s > &  listConnections) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2080 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getMainConnectionInfoDB ( const am_mainConnectionID_t  mainConnectionID,
am_MainConnection_s mainConnectionData 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1728 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getMainSinkSoundPropertyValue ( const am_sinkID_t  sinkID,
const am_CustomMainSoundPropertyType_t  propertyType,
int16_t &  value 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2731 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getMainSourceSoundPropertyValue ( const am_sourceID_t  sourceID,
const am_CustomMainSoundPropertyType_t  propertyType,
int16_t &  value 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2754 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSinkClassInfoDB ( const am_sinkID_t  sinkID,
am_SinkClass_s sinkClass 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1783 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSinkInfoDB ( const am_sinkID_t  sinkID,
am_Sink_s sinkData 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1693 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSinkMainVolume ( const am_sinkID_t  sinkID,
am_mainVolume_t mainVolume 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2643 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSinkSoundPropertyValue ( const am_sinkID_t  sinkID,
const am_CustomSoundPropertyType_t  propertyType,
int16_t &  value 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2684 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSinkVolume ( const am_sinkID_t  sinkID,
am_volume_t volume 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2657 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSourceClassInfoDB ( const am_sourceID_t  sourceID,
am_SourceClass_s classInfo 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1672 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSourceInfoDB ( const am_sourceID_t  sourceID,
am_Source_s sourceData 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1710 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSourceSoundPropertyValue ( const am_sourceID_t  sourceID,
const am_CustomSoundPropertyType_t  propertyType,
int16_t &  value 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2708 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSourceVolume ( const am_sourceID_t  sourceID,
am_volume_t volume 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2671 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getSoureState ( const am_sourceID_t  sourceID,
am_SourceState_e sourceState 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2598 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::getTimingInformation ( const am_mainConnectionID_t  mainConnectionID,
am_timeSync_t delay 
) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2226 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::isComponentConnected ( const am_Gateway_s gateway) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2974 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::isComponentConnected ( const am_Converter_s converter) const
virtual

Implements am::IAmDatabaseHandler.

Definition at line 2980 of file CAmDatabaseHandlerMap.cpp.

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

Implements am::IAmDatabaseHandler.

Definition at line 2793 of file CAmDatabaseHandlerMap.cpp.

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

Implements am::IAmDatabaseHandler.

Definition at line 2824 of file CAmDatabaseHandlerMap.cpp.

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

Implements am::IAmDatabaseHandler.

Definition at line 2986 of file CAmDatabaseHandlerMap.cpp.

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

Implements am::IAmDatabaseHandler.

Definition at line 2856 of file CAmDatabaseHandlerMap.cpp.

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

Implements am::IAmDatabaseHandler.

Definition at line 3001 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::registerObserver ( IAmDatabaseObserver iObserver)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3394 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeConnection ( const am_connectionID_t  connectionID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1658 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeConverterDB ( const am_converterID_t  converterID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1579 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeCrossfaderDB ( const am_crossfaderID_t  crossfaderID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1595 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeDomainDB ( const am_domainID_t  domainID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1611 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeGatewayDB ( const am_gatewayID_t  gatewayID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1563 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeMainConnectionDB ( const am_mainConnectionID_t  mainConnectionID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1500 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeSinkClassDB ( const am_sinkClass_t  sinkClassID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1627 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeSinkDB ( const am_sinkID_t  sinkID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1521 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeSourceClassDB ( const am_sourceClass_t  sourceClassID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1643 of file CAmDatabaseHandlerMap.cpp.

am_Error_e am::CAmDatabaseHandlerMap::removeSourceDB ( const am_sourceID_t  sourceID)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 1542 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::sinkVisible ( const am_sinkID_t  sinkID) const
virtual

gives information about the visibility of a sink

Parameters
sinkIDthe sinkID
Returns
true if source is visible

Implements am::IAmDatabaseHandler.

Definition at line 2545 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::sourceVisible ( const am_sourceID_t  sourceID) const
virtual

registers the Observer at the Database

Parameters
iObserverpointer to the observer gives information about the visibility of a source
sourceIDthe sourceID
Returns
true if source is visible

Implements am::IAmDatabaseHandler.

Definition at line 2529 of file CAmDatabaseHandlerMap.cpp.

bool am::CAmDatabaseHandlerMap::unregisterObserver ( IAmDatabaseObserver iObserver)
virtual

Implements am::IAmDatabaseHandler.

Definition at line 3404 of file CAmDatabaseHandlerMap.cpp.


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