flimEngine
PlaylistLoopCommand Class Reference

#include <PlaylistLoopCommand.h>

Inheritance diagram for PlaylistLoopCommand:
Inheritance graph
Collaboration diagram for PlaylistLoopCommand:
Collaboration graph

Public Member Functions

 PlaylistLoopCommand ()
 
 PlaylistLoopCommand (Playlist *snd, bool toLoop)
 
 ~PlaylistLoopCommand ()
 
PlaylistLoopCommandoperator= (const PlaylistLoopCommand &)=default
 
 PlaylistLoopCommand (const PlaylistLoopCommand &)=default
 
void execute () override
 
PlaylistLoopCommandclone () 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

Playlistplaylist
 
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

◆ PlaylistLoopCommand() [1/3]

PlaylistLoopCommand::PlaylistLoopCommand ( )

◆ PlaylistLoopCommand() [2/3]

PlaylistLoopCommand::PlaylistLoopCommand ( Playlist snd,
bool  toLoop 
)

◆ ~PlaylistLoopCommand()

PlaylistLoopCommand::~PlaylistLoopCommand ( )
inline

◆ PlaylistLoopCommand() [3/3]

PlaylistLoopCommand::PlaylistLoopCommand ( const PlaylistLoopCommand )
default

Member Function Documentation

◆ clone()

PlaylistLoopCommand * PlaylistLoopCommand::clone ( )
overridevirtual

Implements AudioCommand.

◆ execute()

void PlaylistLoopCommand::execute ( )
overridevirtual

Reimplemented from AudioCommand.

◆ operator=()

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

Member Data Documentation

◆ loop

bool PlaylistLoopCommand::loop
private

◆ playlist

Playlist* PlaylistLoopCommand::playlist
private

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