OpenCPN Partial API docs
Loading...
Searching...
No Matches
Multiplexer Class Reference
Inheritance diagram for Multiplexer:

Public Member Functions

 Multiplexer (MuxLogCallbacks log_callbacks, bool &legacy_input_filter_behaviour)
 
void LogOutputMessage (const wxString &msg, wxString stream_name, bool b_filter)
 
void LogOutputMessageColor (const wxString &msg, const wxString &stream_name, const wxString &color)
 
void LogInputMessage (const wxString &msg, const wxString &stream_name, bool b_filter, bool b_error=false, const wxString error_msg=wxEmptyString)
 Logs an input message with context information.
 
bool IsLogActive ()
 

Detailed Description

Definition at line 50 of file multiplexer.h.

Constructor & Destructor Documentation

◆ Multiplexer()

Multiplexer::Multiplexer ( MuxLogCallbacks  log_callbacks,
bool &  legacy_input_filter_behaviour 
)

Definition at line 103 of file multiplexer.cpp.

◆ ~Multiplexer()

Multiplexer::~Multiplexer ( )

Definition at line 121 of file multiplexer.cpp.

Member Function Documentation

◆ IsLogActive()

bool Multiplexer::IsLogActive ( )
inline

Definition at line 74 of file multiplexer.h.

◆ LogInputMessage()

void Multiplexer::LogInputMessage ( const wxString &  msg,
const wxString &  stream_name,
bool  b_filter,
bool  b_error = false,
const wxString  error_msg = wxEmptyString 
)

Logs an input message with context information.

Parameters
msgThe message to be logged.
stream_nameThe name of the stream from which the message originated.
b_filterIndicates whether the message was filtered.
b_errorIndicates whether the message has an error such as bad CRC.
error_msgThe error message to be logged.

Definition at line 165 of file multiplexer.cpp.

◆ LogOutputMessage()

void Multiplexer::LogOutputMessage ( const wxString &  msg,
wxString  stream_name,
bool  b_filter 
)

Definition at line 157 of file multiplexer.cpp.

◆ LogOutputMessageColor()

void Multiplexer::LogOutputMessageColor ( const wxString &  msg,
const wxString &  stream_name,
const wxString &  color 
)

Definition at line 130 of file multiplexer.cpp.


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