flimEngine
PrintSoundCommand Class Reference

#include <PrintSoundCommand.h>

Inheritance diagram for PrintSoundCommand:
Inheritance graph
Collaboration diagram for PrintSoundCommand:
Collaboration graph

Public Member Functions

 PrintSoundCommand ()=default
 
 PrintSoundCommand (const PrintSoundCommand &)=default
 
PrintSoundCommandoperator= (const PrintSoundCommand &)=default
 
 ~PrintSoundCommand ()=default
 
 PrintSoundCommand (SoundCall *snd, const char *name)
 
void execute () override
 
PrintSoundCommandclone ()
 
- Public Member Functions inherited from CallbackCommand
 CallbackCommand ()
 
virtual ~CallbackCommand ()
 
CallbackCommandoperator= (const CallbackCommand &)=default
 
 CallbackCommand (const CallbackCommand &)=default
 
virtual snd_err AttachSecondarySound (Sound *sound)
 
- Public Member Functions inherited from AudioCommand
 AudioCommand ()
 
 AudioCommand (Sound *snd)
 
virtual ~AudioCommand ()
 
AudioCommandoperator= (const AudioCommand &)=default
 
 AudioCommand (const AudioCommand &)=default
 
snd_err AssignPlaylistID (unsigned int)
 
unsigned int GetID ()
 
virtual snd_err AttachSound (Sound *snd)
 
- Public Member Functions inherited from Command
 Command ()
 
virtual ~Command ()
 
Commandoperator= (const Command &)=default
 
 Command (const Command &)=default
 
 Command ()=default
 
 ~Command ()
 
Commandoperator= (const Command &)=default
 
 Command (const Command &)=default
 

Private Attributes

SoundCallsound
 
const char * waveName
 

Additional Inherited Members

- Public Attributes inherited from CallbackCommand
std::multimap< int, CallbackCommand * >::const_iterator deleteIter
 
- Public Attributes inherited from AudioCommand
std::multimap< int, AudioCommand * >::iterator deleteIter
 
- Protected Attributes inherited from CallbackCommand
bool instant_execute
 
CMDTYPES commandType = CMDTYPES::NO_TYPE
 
SoundsecondarySound
 
- Protected Attributes inherited from AudioCommand
int NUM_REPETITIONS
 
int trigger_time
 
bool lerpFinished
 
unsigned int playlist_id
 
Soundsound
 

Constructor & Destructor Documentation

◆ PrintSoundCommand() [1/3]

PrintSoundCommand::PrintSoundCommand ( )
default

◆ PrintSoundCommand() [2/3]

PrintSoundCommand::PrintSoundCommand ( const PrintSoundCommand )
default

◆ ~PrintSoundCommand()

PrintSoundCommand::~PrintSoundCommand ( )
default

◆ PrintSoundCommand() [3/3]

PrintSoundCommand::PrintSoundCommand ( SoundCall snd,
const char *  name 
)

Member Function Documentation

◆ clone()

PrintSoundCommand* PrintSoundCommand::clone ( )
inlinevirtual

Implements CallbackCommand.

◆ execute()

void PrintSoundCommand::execute ( )
overridevirtual

Implements CallbackCommand.

◆ operator=()

PrintSoundCommand& PrintSoundCommand::operator= ( const PrintSoundCommand )
default

Member Data Documentation

◆ sound

SoundCall* PrintSoundCommand::sound
private

◆ waveName

const char* PrintSoundCommand::waveName
private

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