xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Public Member Functions | List of all members
xtd::forms::icontrol_trace Class Referenceabstract

#include <icontrol_trace.h>

Definition

Allow a control to be called by control_trace_listener for writing debug or trace message.

Namespace
xtd::forms
Library
xtd.forms

Public Member Functions

virtual void flush ()=0
 Flushes the output buffer and causes buffered data to write to the control. More...
 
virtual void write (const xtd::ustring &message)=0
 Write debug or trace message on this instance control. More...
 
virtual void write_line (const xtd::ustring &message)=0
 Write debug or trace message on this instance control followed by line terminator. More...
 

Member Function Documentation

◆ flush()

virtual void xtd::forms::icontrol_trace::flush ( )
pure virtual

Flushes the output buffer and causes buffered data to write to the control.

Implemented in xtd::forms::debug_form, and xtd::forms::trace_form.

◆ write()

virtual void xtd::forms::icontrol_trace::write ( const xtd::ustring message)
pure virtual

Write debug or trace message on this instance control.

Parameters
messageA string that tcontains the debug oor trace message.

Implemented in xtd::forms::debug_form, and xtd::forms::trace_form.

◆ write_line()

virtual void xtd::forms::icontrol_trace::write_line ( const xtd::ustring message)
pure virtual

Write debug or trace message on this instance control followed by line terminator.

Parameters
messageA string that tcontains the debug oor trace message.

Implemented in xtd::forms::debug_form, and xtd::forms::trace_form.


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