xtd - Reference Guide  0.1.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

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

#include <icontrol_trace.h>

Inheritance diagram for xtd::forms::icontrol_trace:
Inheritance graph
[legend]
Collaboration diagram for xtd::forms::icontrol_trace:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

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

Library
xtd.forms

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 contrtol.

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

◆ write()

virtual void xtd::forms::icontrol_trace::write ( const std::string &  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 std::string &  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: