flimEngine
PlaylistVolumeCommand Class Reference

#include <PlaylistVolumeCommand.h>

Inheritance diagram for PlaylistVolumeCommand:
Inheritance graph
Collaboration diagram for PlaylistVolumeCommand:
Collaboration graph

Public Member Functions

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

◆ PlaylistVolumeCommand() [1/4]

PlaylistVolumeCommand::PlaylistVolumeCommand ( )
delete

◆ PlaylistVolumeCommand() [2/4]

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

◆ PlaylistVolumeCommand() [3/4]

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

◆ ~PlaylistVolumeCommand()

PlaylistVolumeCommand::~PlaylistVolumeCommand ( )
inline

◆ PlaylistVolumeCommand() [4/4]

PlaylistVolumeCommand::PlaylistVolumeCommand ( const PlaylistVolumeCommand )
default

Member Function Documentation

◆ clone()

PlaylistVolumeCommand * PlaylistVolumeCommand::clone ( )
overridevirtual

Implements AudioCommand.

◆ execute()

void PlaylistVolumeCommand::execute ( )
overridevirtual

Reimplemented from AudioCommand.

◆ operator=()

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

Member Data Documentation

◆ delta

float PlaylistVolumeCommand::delta
private

◆ from

float PlaylistVolumeCommand::from
private

◆ playlist

Playlist* PlaylistVolumeCommand::playlist
private

◆ time

const float PlaylistVolumeCommand::time
private

◆ to

const float PlaylistVolumeCommand::to
private

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