flimEngine
PitchCommand Class Reference

#include <PitchCommand.h>

Inheritance diagram for PitchCommand:
Inheritance graph
Collaboration diagram for PitchCommand:
Collaboration graph

Public Member Functions

 PitchCommand ()=delete
 
 PitchCommand (Sound *snd, float from, float to, float time)
 
 PitchCommand (float from, float to, float time)
 
 ~PitchCommand ()
 
PitchCommandoperator= (const PitchCommand &)=default
 
 PitchCommand (const PitchCommand &)=default
 
void execute () override
 
PitchCommandclone () 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 PitchFrom
 
const float PitchTo
 
const float time
 
float delta
 

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

◆ PitchCommand() [1/4]

PitchCommand::PitchCommand ( )
delete

◆ PitchCommand() [2/4]

PitchCommand::PitchCommand ( Sound snd,
float  from,
float  to,
float  time 
)

◆ PitchCommand() [3/4]

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

◆ ~PitchCommand()

PitchCommand::~PitchCommand ( )
inline

◆ PitchCommand() [4/4]

PitchCommand::PitchCommand ( const PitchCommand )
default

Member Function Documentation

◆ clone()

PitchCommand * PitchCommand::clone ( )
overridevirtual

Implements AudioCommand.

◆ execute()

void PitchCommand::execute ( )
overridevirtual

Reimplemented from AudioCommand.

◆ operator=()

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

Member Data Documentation

◆ delta

float PitchCommand::delta
private

◆ PitchFrom

float PitchCommand::PitchFrom
private

◆ PitchTo

const float PitchCommand::PitchTo
private

◆ time

const float PitchCommand::time
private

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