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

This class is used to send data to the CommandInterface. More...

#include <CAmCommandSender.h>

Inheritance diagram for am::CAmCommandSender:
am::CAmDatabaseHandlerMap::AmDatabaseObserverCallbacks

Public Member Functions

 CAmCommandSender (const std::vector< std::string > &listOfPluginDirectories, CAmSocketHandler *iSocketHandler)
 
 ~CAmCommandSender ()
 
am_Error_e startupInterfaces (CAmCommandReceiver *iCommandReceiver)
 
void setCommandReady ()
 
void setCommandRundown ()
 
void cbNewMainConnection (const am_MainConnectionType_s mainConnection)
 
void cbRemovedMainConnection (const am_mainConnectionID_t mainConnection)
 
void cbNewSink (am_SinkType_s sink)
 
void cbRemovedSink (const am_sinkID_t sink)
 
void cbNewSource (const am_SourceType_s source)
 
void cbRemovedSource (const am_sourceID_t source)
 
void cbNumberOfSinkClassesChanged ()
 
void cbNumberOfSourceClassesChanged ()
 
void cbMainConnectionStateChanged (const am_mainConnectionID_t connectionID, const am_ConnectionState_e connectionState)
 
void cbMainSinkSoundPropertyChanged (const am_sinkID_t sinkID, const am_MainSoundProperty_s &soundProperty)
 
void cbMainSourceSoundPropertyChanged (const am_sourceID_t sourceID, const am_MainSoundProperty_s &soundProperty)
 
void cbSinkAvailabilityChanged (const am_sinkID_t sinkID, const am_Availability_s &availability)
 
void cbSourceAvailabilityChanged (const am_sourceID_t sourceID, const am_Availability_s &availability)
 
void cbVolumeChanged (const am_sinkID_t sinkID, const am_mainVolume_t volume)
 
void cbSinkMuteStateChanged (const am_sinkID_t sinkID, const am_MuteState_e muteState)
 
void cbSystemPropertyChanged (const am_SystemProperty_s &systemProperty)
 
void cbTimingInformationChanged (const am_mainConnectionID_t mainConnectionID, const am_timeSync_t time)
 
void getInterfaceVersion (std::string &version) const
 
am_Error_e getListPlugins (std::vector< std::string > &interfaces) const
 
void cbSinkUpdated (const am_sinkID_t sinkID, const am_sinkClass_t sinkClassID, const std::vector< am_MainSoundProperty_s > &listMainSoundProperties)
 
void cbSourceUpdated (const am_sourceID_t sourceID, const am_sourceClass_t sourceClassID, const std::vector< am_MainSoundProperty_s > &listMainSoundProperties)
 
void cbSinkNotification (const am_sinkID_t sinkID, const am_NotificationPayload_s &notification)
 
void cbSourceNotification (const am_sourceID_t sourceID, const am_NotificationPayload_s &notification)
 
void cbSinkMainNotificationConfigurationChanged (const am_sinkID_t sinkID, const am_NotificationConfiguration_s &mainNotificationConfiguration)
 
void cbSourceMainNotificationConfigurationChanged (const am_sourceID_t sourceID, const am_NotificationConfiguration_s &mainNotificationConfiguration)
 
- Public Member Functions inherited from am::CAmDatabaseHandlerMap::AmDatabaseObserverCallbacks
 AmDatabaseObserverCallbacks ()
 
virtual ~AmDatabaseObserverCallbacks ()
 

Additional Inherited Members

- Protected Attributes inherited from am::CAmDatabaseHandlerMap::AmDatabaseObserverCallbacks
std::function< void()> dboNumberOfSinkClassesChanged
 
std::function< void()> dboNumberOfSourceClassesChanged
 
std::function< void(const am_Sink_s &)> dboNewSink
 
std::function< void(const am_Source_s &)> dboNewSource
 
std::function< void(const am_Domain_s &)> dboNewDomain
 
std::function< void(const am_Gateway_s &)> dboNewGateway
 
std::function< void(const am_Converter_s &)> dboNewConverter
 
std::function< void(const am_Crossfader_s &)> dboNewCrossfader
 
std::function< void(const am_MainConnectionType_s &)> dboNewMainConnection
 
std::function< void(const am_mainConnectionID_t)> dboRemovedMainConnection
 
std::function< void(const am_sinkID_t, const bool)> dboRemovedSink
 
std::function< void(const am_sourceID_t, const bool)> dboRemovedSource
 
std::function< void(const am_domainID_t)> dboRemoveDomain
 
std::function< void(const am_gatewayID_t)> dboRemoveGateway
 
std::function< void(const am_converterID_t)> dboRemoveConverter
 
std::function< void(const am_crossfaderID_t)> dboRemoveCrossfader
 
std::function< void(const am_mainConnectionID_t, const am_ConnectionState_e)> dboMainConnectionStateChanged
 
std::function< void(const am_sinkID_t, const am_MainSoundProperty_s &)> dboMainSinkSoundPropertyChanged
 
std::function< void(const am_sourceID_t, const am_MainSoundProperty_s &)> dboMainSourceSoundPropertyChanged
 
std::function< void(const am_sinkID_t, const am_Availability_s &)> dboSinkAvailabilityChanged
 
std::function< void(const am_sourceID_t, const am_Availability_s &)> dboSourceAvailabilityChanged
 
std::function< void(const am_sinkID_t, const am_mainVolume_t)> dboVolumeChanged
 
std::function< void(const am_sinkID_t, const am_MuteState_e)> dboSinkMuteStateChanged
 
std::function< void(const am_SystemProperty_s &)> dboSystemPropertyChanged
 
std::function< void(const am_mainConnectionID_t, const am_timeSync_t)> dboTimingInformationChanged
 
std::function< void(const am_sinkID_t, const am_sinkClass_t, const std::vector< am_MainSoundProperty_s > &, const bool)> dboSinkUpdated
 
std::function< void(const am_sourceID_t, const am_sourceClass_t, const std::vector< am_MainSoundProperty_s > &, const bool)> dboSourceUpdated
 
std::function< void(const am_sinkID_t, const am_NotificationConfiguration_s)> dboSinkMainNotificationConfigurationChanged
 
std::function< void(const am_sourceID_t, const am_NotificationConfiguration_s)> dboSourceMainNotificationConfigurationChanged
 
CAmDatabaseHandlerMapmpDatabaseHandler
 

Detailed Description

This class is used to send data to the CommandInterface.

All loaded plugins will be called when a callback is invoked.

Definition at line 46 of file CAmCommandSender.h.

Constructor & Destructor Documentation

am::CAmCommandSender::CAmCommandSender ( const std::vector< std::string > &  listOfPluginDirectories,
CAmSocketHandler iSocketHandler 
)

Definition at line 54 of file CAmCommandSender.cpp.

am::CAmCommandSender::~CAmCommandSender ( )

Definition at line 260 of file CAmCommandSender.cpp.

Member Function Documentation

void am::CAmCommandSender::cbMainConnectionStateChanged ( const am_mainConnectionID_t  connectionID,
const am_ConnectionState_e  connectionState 
)

Definition at line 293 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbMainSinkSoundPropertyChanged ( const am_sinkID_t  sinkID,
const am_MainSoundProperty_s soundProperty 
)

Definition at line 298 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbMainSourceSoundPropertyChanged ( const am_sourceID_t  sourceID,
const am_MainSoundProperty_s soundProperty 
)

Definition at line 303 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbNewMainConnection ( const am_MainConnectionType_s  mainConnection)

Definition at line 338 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbNewSink ( am_SinkType_s  sink)

Definition at line 348 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbNewSource ( const am_SourceType_s  source)

Definition at line 358 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbNumberOfSinkClassesChanged ( )

Definition at line 283 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbNumberOfSourceClassesChanged ( )

Definition at line 288 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbRemovedMainConnection ( const am_mainConnectionID_t  mainConnection)

Definition at line 343 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbRemovedSink ( const am_sinkID_t  sink)

Definition at line 353 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbRemovedSource ( const am_sourceID_t  source)

Definition at line 363 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSinkAvailabilityChanged ( const am_sinkID_t  sinkID,
const am_Availability_s availability 
)

Definition at line 308 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSinkMainNotificationConfigurationChanged ( const am_sinkID_t  sinkID,
const am_NotificationConfiguration_s mainNotificationConfiguration 
)

Definition at line 446 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSinkMuteStateChanged ( const am_sinkID_t  sinkID,
const am_MuteState_e  muteState 
)

Definition at line 323 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSinkNotification ( const am_sinkID_t  sinkID,
const am_NotificationPayload_s notification 
)

Definition at line 436 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSinkUpdated ( const am_sinkID_t  sinkID,
const am_sinkClass_t  sinkClassID,
const std::vector< am_MainSoundProperty_s > &  listMainSoundProperties 
)

Definition at line 426 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSourceAvailabilityChanged ( const am_sourceID_t  sourceID,
const am_Availability_s availability 
)

Definition at line 313 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSourceMainNotificationConfigurationChanged ( const am_sourceID_t  sourceID,
const am_NotificationConfiguration_s mainNotificationConfiguration 
)

Definition at line 451 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSourceNotification ( const am_sourceID_t  sourceID,
const am_NotificationPayload_s notification 
)

Definition at line 441 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSourceUpdated ( const am_sourceID_t  sourceID,
const am_sourceClass_t  sourceClassID,
const std::vector< am_MainSoundProperty_s > &  listMainSoundProperties 
)

Definition at line 431 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbSystemPropertyChanged ( const am_SystemProperty_s systemProperty)

Definition at line 328 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbTimingInformationChanged ( const am_mainConnectionID_t  mainConnectionID,
const am_timeSync_t  time 
)

Definition at line 333 of file CAmCommandSender.cpp.

void am::CAmCommandSender::cbVolumeChanged ( const am_sinkID_t  sinkID,
const am_mainVolume_t  volume 
)

Definition at line 318 of file CAmCommandSender.cpp.

void am::CAmCommandSender::getInterfaceVersion ( std::string &  version) const

Definition at line 415 of file CAmCommandSender.cpp.

am_Error_e am::CAmCommandSender::getListPlugins ( std::vector< std::string > &  interfaces) const

Definition at line 420 of file CAmCommandSender.cpp.

void am::CAmCommandSender::setCommandReady ( )

Definition at line 368 of file CAmCommandSender.cpp.

void am::CAmCommandSender::setCommandRundown ( )

Definition at line 392 of file CAmCommandSender.cpp.

am_Error_e am::CAmCommandSender::startupInterfaces ( CAmCommandReceiver iCommandReceiver)

Definition at line 265 of file CAmCommandSender.cpp.


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