flimEngine
LoopCommand Class Reference

#include <LoopCommand.h>

Inheritance diagram for LoopCommand:
Inheritance graph
Collaboration diagram for LoopCommand:
Collaboration graph

Public Member Functions

 LoopCommand ()=delete
 
 LoopCommand (Sound *snd, bool p)
 
 LoopCommand (bool p)
 
 ~LoopCommand ()
 
LoopCommandoperator= (const LoopCommand &)=default
 
 LoopCommand (const LoopCommand &)=default
 
void execute () override
 
LoopCommandclone () override
 
- 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

const bool Loop
 

Additional Inherited Members

- Public Attributes inherited from AudioCommand
std::multimap< int, AudioCommand * >::iterator deleteIter
 
- Protected Attributes inherited from AudioCommand
int NUM_REPETITIONS
 
int trigger_time
 
bool lerpFinished
 
unsigned int playlist_id
 
Soundsound
 

Constructor & Destructor Documentation

◆ LoopCommand() [1/4]

LoopCommand::LoopCommand ( )
delete

◆ LoopCommand() [2/4]

LoopCommand::LoopCommand ( Sound snd,
bool  p 
)

◆ LoopCommand() [3/4]

LoopCommand::LoopCommand ( bool  p)

◆ ~LoopCommand()

LoopCommand::~LoopCommand ( )
inline

◆ LoopCommand() [4/4]

LoopCommand::LoopCommand ( const LoopCommand )
default

Member Function Documentation

◆ clone()

LoopCommand * LoopCommand::clone ( )
overridevirtual

Implements AudioCommand.

◆ execute()

void LoopCommand::execute ( )
overridevirtual

Reimplemented from AudioCommand.

◆ operator=()

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

Member Data Documentation

◆ Loop

const bool LoopCommand::Loop
private

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