Audacity 3.2.0
|
Interface for objects that can receive (string) messages from a command. More...
#include <CommandTargets.h>
Public Member Functions | |
CommandMessageTarget () | |
virtual | ~CommandMessageTarget () |
virtual void | Update (const wxString &message)=0 |
virtual void | StartArray () |
virtual void | EndArray () |
virtual void | StartStruct () |
virtual void | EndStruct () |
virtual void | AddItem (const wxString &value, const wxString &name={}) |
virtual void | AddBool (const bool value, const wxString &name={}) |
virtual void | AddItem (const double value, const wxString &name={}) |
virtual void | StartField (const wxString &name={}) |
virtual void | EndField () |
virtual void | Flush () |
wxString | Escaped (const wxString &str) |
Public Attributes | |
std::vector< int > | mCounts |
Interface for objects that can receive (string) messages from a command.
Definition at line 70 of file CommandTargets.h.
|
inline |
Definition at line 73 of file CommandTargets.h.
|
virtual |
Definition at line 22 of file CommandTargets.cpp.
References Flush().
|
virtual |
Reimplemented in CommandMessageTargetDecorator, LispyCommandMessageTarget, and BriefCommandMessageTarget.
Definition at line 66 of file CommandTargets.cpp.
References mCounts, name, and Update().
|
virtual |
Reimplemented in CommandMessageTargetDecorator, LispyCommandMessageTarget, and BriefCommandMessageTarget.
Definition at line 74 of file CommandTargets.cpp.
References mCounts, name, str, and Update().
|
virtual |
Reimplemented in CommandMessageTargetDecorator, LispyCommandMessageTarget, and BriefCommandMessageTarget.
Definition at line 55 of file CommandTargets.cpp.
References Escaped(), mCounts, name, anonymous_namespace{CommonTrackInfo.cpp}::Padding, and Update().
|
virtual |
Reimplemented in CommandMessageTargetDecorator, LispyCommandMessageTarget, and BriefCommandMessageTarget.
Definition at line 36 of file CommandTargets.cpp.
References mCounts, and Update().
|
virtual |
Reimplemented in CommandMessageTargetDecorator, LispyCommandMessageTarget, and BriefCommandMessageTarget.
Definition at line 97 of file CommandTargets.cpp.
References mCounts.
|
virtual |
Reimplemented in CommandMessageTargetDecorator, LispyCommandMessageTarget, and BriefCommandMessageTarget.
Definition at line 49 of file CommandTargets.cpp.
References mCounts, and Update().
wxString CommandMessageTarget::Escaped | ( | const wxString & | str | ) |
Definition at line 106 of file CommandTargets.cpp.
References str.
Referenced by AddItem(), and LispyCommandMessageTarget::AddItem().
|
virtual |
Reimplemented in CommandMessageTargetDecorator, ResponseTarget, and MessageDialogTarget.
Definition at line 103 of file CommandTargets.cpp.
Referenced by ~CommandMessageTarget().
|
virtual |
Reimplemented in CommandMessageTargetDecorator, LispyCommandMessageTarget, and BriefCommandMessageTarget.
Definition at line 27 of file CommandTargets.cpp.
References mCounts, anonymous_namespace{CommonTrackInfo.cpp}::Padding, and Update().
|
virtual |
Reimplemented in CommandMessageTargetDecorator, LispyCommandMessageTarget, and BriefCommandMessageTarget.
Definition at line 88 of file CommandTargets.cpp.
References mCounts, name, and Update().
|
virtual |
Reimplemented in CommandMessageTargetDecorator, LispyCommandMessageTarget, and BriefCommandMessageTarget.
Definition at line 42 of file CommandTargets.cpp.
References mCounts, anonymous_namespace{CommonTrackInfo.cpp}::Padding, and Update().
|
pure virtual |
Implemented in NullMessageTarget, CommandMessageTargetDecorator, MessageBoxTarget, ResponseTarget, CombinedMessageTarget, MessageDialogTarget, and StatusBarTarget.
Referenced by AddBool(), AddItem(), EndArray(), EndStruct(), StartArray(), StartField(), and StartStruct().
std::vector<int> CommandMessageTarget::mCounts |
Definition at line 87 of file CommandTargets.h.
Referenced by AddBool(), LispyCommandMessageTarget::AddBool(), BriefCommandMessageTarget::AddBool(), AddItem(), LispyCommandMessageTarget::AddItem(), EndArray(), LispyCommandMessageTarget::EndArray(), BriefCommandMessageTarget::EndArray(), EndField(), LispyCommandMessageTarget::EndField(), BriefCommandMessageTarget::EndField(), EndStruct(), LispyCommandMessageTarget::EndStruct(), BriefCommandMessageTarget::EndStruct(), StartArray(), LispyCommandMessageTarget::StartArray(), BriefCommandMessageTarget::StartArray(), StartField(), LispyCommandMessageTarget::StartField(), BriefCommandMessageTarget::StartField(), StartStruct(), LispyCommandMessageTarget::StartStruct(), and BriefCommandMessageTarget::StartStruct().