LCC Fusion Project 1.0
LCC Automation
Loading...
Searching...
No Matches
SoundConfiguredConsumer Class Reference

resetPlayerConfiguration invoke to reset the group of players CDI configuration to factory settings More...

#include <SoundConfiguredConsumer.h>

Inheritance diagram for SoundConfiguredConsumer:

Public Member Functions

void applyPlayerConfiguration (int fd, uint8_t cardNum, uint8_t numPlayers, size_t playersCdiOffset, const std::vector< std::vector< SoundPlayerDevice * > > &pPlayers)
 applyPlayerConfiguration invoke to apply (register events) for the group of players using the user specified CDI More...
 

Detailed Description

resetPlayerConfiguration invoke to reset the group of players CDI configuration to factory settings


Parameters
fdis the file descriptor provided by openMRN
cardNumis the current card number the player(s) is associated with. Used to qualifying the default event ID to a specific card.
numPlayersis the number of players in the group of players (1 or more)
playersCdiOffsetis the offset in memory for the CDI configuration for this group of players
nodeIdis the Node ID from the Node object

Definition at line 96 of file SoundConfiguredConsumer.h.

Member Function Documentation

◆ applyPlayerConfiguration()

void SoundConfiguredConsumer::applyPlayerConfiguration ( int  fd,
uint8_t  cardNum,
uint8_t  numPlayers,
size_t  playersCdiOffset,
const std::vector< std::vector< SoundPlayerDevice * > > &  pPlayers 
)
inline

applyPlayerConfiguration invoke to apply (register events) for the group of players using the user specified CDI


Parameters
fdis the file descriptor provided by openMRN
cardNumis the current card number the player(s) is associated with. Used to qualifying the default event ID to a specific card.
numPlayersis the number of players in the group of players (1 or more)
playersCdiOffsetis the offset in memory for the CDI configuration for this group of players
pPlayersis a vector of pointers to the SoundPlayerDevice objects created for each player
Note
player specific information is stored in the event's 4-byte user argument. Later when the event is received an being processed, these 4-bytes are used to identify the specific player information (player request type, card number, player number, file number and volume %)

Definition at line 128 of file SoundConfiguredConsumer.h.

Here is the caller graph for this function:

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