Audacity  2.2.0
CombinedMessageTarget Class Referencefinal

Sends messages to two message targets at once. More...

#include <CommandTargets.h>

Inheritance diagram for CombinedMessageTarget:
CommandMessageTarget

Public Member Functions

 CombinedMessageTarget (std::unique_ptr< CommandMessageTarget > &&t1, std::unique_ptr< CommandMessageTarget > &&t2)
 
 ~CombinedMessageTarget ()
 
void Update (const wxString &message) override
 
- Public Member Functions inherited from CommandMessageTarget
virtual ~CommandMessageTarget ()
 

Private Attributes

std::unique_ptr
< CommandMessageTarget
m1
 
std::unique_ptr
< CommandMessageTarget
m2
 

Detailed Description

Sends messages to two message targets at once.

Constructor & Destructor Documentation

CombinedMessageTarget::CombinedMessageTarget ( std::unique_ptr< CommandMessageTarget > &&  t1,
std::unique_ptr< CommandMessageTarget > &&  t2 
)
inline

References m1, and m2.

CombinedMessageTarget::~CombinedMessageTarget ( )
inline

Member Function Documentation

void CombinedMessageTarget::Update ( const wxString &  message)
inlineoverridevirtual

Implements CommandMessageTarget.

References m1, and m2.

Member Data Documentation

std::unique_ptr<CommandMessageTarget> CombinedMessageTarget::m1
private

Referenced by CombinedMessageTarget(), and Update().

std::unique_ptr<CommandMessageTarget> CombinedMessageTarget::m2
private

Referenced by CombinedMessageTarget(), and Update().


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