xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
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

Inherits xtd::interface.

Inherited by xtd::forms::debug_form, and xtd::forms::trace_form.

Public Member Functions

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

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: