Audacity  2.2.0
GetProjectInfoCommand Class Referencefinal

Command that returns requested project information. More...

#include <GetProjectInfoCommand.h>

Inheritance diagram for GetProjectInfoCommand:
CommandImplementation Command

Public Member Functions

 GetProjectInfoCommand (CommandType &type, std::unique_ptr< CommandOutputTarget > &&target)
virtual ~GetProjectInfoCommand ()
bool Apply (CommandExecutionContext context) override
- Public Member Functions inherited from CommandImplementation
void Progress (double completed)
void Status (const wxString &status) override
void Error (const wxString &message) override
 CommandImplementation (CommandType &type, std::unique_ptr< CommandOutputTarget > &&output)
virtual ~CommandImplementation ()
wxString GetName ()
 An instance method for getting the command name (for consistency) More...
CommandSignatureGetSignature ()
 Get the signature of the command. More...
bool SetParameter (const wxString &paramName, const wxVariant &paramValue)
- Public Member Functions inherited from Command
virtual ~Command ()

Private Types

typedef bool(GetProjectInfoCommand::* Getter )(const Track *track) const

Private Member Functions

int SendNumberOfTracks (CommandExecutionContext context)
int SendFocusedTrackIndex (CommandExecutionContext context)
void SendTracksInfo (TrackList *projTracks, Getter)
bool testSelected (const Track *track) const
bool testLinked (const Track *track) const
bool testSolo (const Track *track) const
bool testMute (const Track *track) const

Additional Inherited Members

- Protected Member Functions inherited from CommandImplementation
void TypeCheck (const wxString &typeName, const wxString &paramName, const wxVariant &param)
void CheckParam (const wxString &paramName)
bool GetBool (const wxString &paramName)
long GetLong (const wxString &paramName)
double GetDouble (const wxString &paramName)
wxString GetString (const wxString &paramName)
- Protected Attributes inherited from CommandImplementation
< CommandOutputTarget

Detailed Description

Command that returns requested project information.

Member Typedef Documentation

typedef bool(GetProjectInfoCommand::* GetProjectInfoCommand::Getter)(const Track *track) const

Constructor & Destructor Documentation

GetProjectInfoCommand::GetProjectInfoCommand ( CommandType type,
std::unique_ptr< CommandOutputTarget > &&  target 
virtual GetProjectInfoCommand::~GetProjectInfoCommand ( )

Member Function Documentation

int GetProjectInfoCommand::SendNumberOfTracks ( CommandExecutionContext  context)
void GetProjectInfoCommand::SendTracksInfo ( TrackList projTracks,
Getter  functPtrToGetter 
bool GetProjectInfoCommand::testLinked ( const Track track) const

References Track::GetLinked().

Referenced by Apply().

bool GetProjectInfoCommand::testMute ( const Track track) const

References PlayableTrack::GetMute().

Referenced by Apply().

bool GetProjectInfoCommand::testSelected ( const Track track) const

References Track::GetSelected().

Referenced by Apply().

bool GetProjectInfoCommand::testSolo ( const Track track) const

References PlayableTrack::GetSolo().

Referenced by Apply().

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