flimEngine
PlaylistPitchCommand Class Reference

#include <PlaylistPitchCommand.h>

Inheritance diagram for PlaylistPitchCommand:
Inheritance graph
Collaboration diagram for PlaylistPitchCommand:
Collaboration graph

Public Member Functions

 PlaylistPitchCommand ()=delete
 
 PlaylistPitchCommand (Playlist *snd, float from, float to, float time)
 
 PlaylistPitchCommand (float from, float to, float time)
 
 ~PlaylistPitchCommand ()
 
PlaylistPitchCommandoperator= (const PlaylistPitchCommand &)=default
 
 PlaylistPitchCommand (const PlaylistPitchCommand &)=default
 
void execute () override
 
PlaylistPitchCommandclone () 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

float from
 
const float to
 
const float time
 
float delta
 
Playlistplaylist
 

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

◆ PlaylistPitchCommand() [1/4]

PlaylistPitchCommand::PlaylistPitchCommand ( )
delete

◆ PlaylistPitchCommand() [2/4]

PlaylistPitchCommand::PlaylistPitchCommand ( Playlist snd,
float  from,
float  to,
float  time 
)

◆ PlaylistPitchCommand() [3/4]

PlaylistPitchCommand::PlaylistPitchCommand ( float  from,
float  to,
float  time 
)

◆ ~PlaylistPitchCommand()

PlaylistPitchCommand::~PlaylistPitchCommand ( )
inline

◆ PlaylistPitchCommand() [4/4]

PlaylistPitchCommand::PlaylistPitchCommand ( const PlaylistPitchCommand )
default

Member Function Documentation

◆ clone()

PlaylistPitchCommand * PlaylistPitchCommand::clone ( )
overridevirtual

Implements AudioCommand.

◆ execute()

void PlaylistPitchCommand::execute ( )
overridevirtual

Reimplemented from AudioCommand.

◆ operator=()

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

Member Data Documentation

◆ delta

float PlaylistPitchCommand::delta
private

◆ from

float PlaylistPitchCommand::from
private

◆ playlist

Playlist* PlaylistPitchCommand::playlist
private

◆ time

const float PlaylistPitchCommand::time
private

◆ to

const float PlaylistPitchCommand::to
private

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