xtd 1.0.0
Loading...
Searching...
No Matches
xtd::forms::icontrol_trace Class Referenceabstract
Inheritance diagram for xtd::forms::icontrol_trace:
xtd::interface xtd::forms::debug_form xtd::forms::trace_form

Definition

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

Header
#include <xtd/forms/ibutton_trace>
Namespace
xtd::forms
Library
xtd.forms

Public Methods

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

Member Function Documentation

◆ write()

virtual auto xtd::forms::icontrol_trace::write ( const xtd::string & message) -> void
pure virtual

Write debug or trace message on this instance control.

Parameters
messageA string that tcontains the debug or trace message.

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

◆ write_line()

virtual auto xtd::forms::icontrol_trace::write_line ( const xtd::string & message) -> void
pure virtual

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

Parameters
messageA string that tcontains the debug or trace message.

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

◆ flush()

virtual auto xtd::forms::icontrol_trace::flush ( ) -> void
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.


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