flimEngine
CallbackCommand Class Referenceabstract

#include <CallbackCommand.h>

Inheritance diagram for CallbackCommand:
Inheritance graph
Collaboration diagram for CallbackCommand:
Collaboration graph

Public Member Functions

 CallbackCommand ()
 
virtual ~CallbackCommand ()
 
CallbackCommandoperator= (const CallbackCommand &)=default
 
 CallbackCommand (const CallbackCommand &)=default
 
virtual void execute ()=0
 
virtual snd_err AttachSecondarySound (Sound *sound)
 
virtual CallbackCommandclone () override=0
 
- 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
 

Public Attributes

std::multimap< int, CallbackCommand * >::const_iterator deleteIter
 
- Public Attributes inherited from AudioCommand
std::multimap< int, AudioCommand * >::iterator deleteIter
 

Protected Attributes

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
 

Friends

class CallbackMailbox
 
class SoundExecutioner
 

Constructor & Destructor Documentation

◆ CallbackCommand() [1/2]

CallbackCommand::CallbackCommand ( )

◆ ~CallbackCommand()

virtual CallbackCommand::~CallbackCommand ( )
inlinevirtual

◆ CallbackCommand() [2/2]

CallbackCommand::CallbackCommand ( const CallbackCommand )
default

Member Function Documentation

◆ AttachSecondarySound()

snd_err CallbackCommand::AttachSecondarySound ( Sound sound)
virtual

◆ clone()

virtual CallbackCommand* CallbackCommand::clone ( )
overridepure virtual

◆ execute()

virtual void CallbackCommand::execute ( )
pure virtual

◆ operator=()

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

Friends And Related Function Documentation

◆ CallbackMailbox

friend class CallbackMailbox
friend

◆ SoundExecutioner

friend class SoundExecutioner
friend

Member Data Documentation

◆ commandType

CMDTYPES CallbackCommand::commandType = CMDTYPES::NO_TYPE
protected

◆ deleteIter

std::multimap<int, CallbackCommand*>::const_iterator CallbackCommand::deleteIter

◆ instant_execute

bool CallbackCommand::instant_execute
protected

◆ secondarySound

Sound* CallbackCommand::secondarySound
protected

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