CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
CFxOutputDevice Class Referenceabstract

Use this interface to receive messages from the command window. More...

#include <FxOutputDevice.h>

Public Member Functions

virtual ~CFxOutputDevice ()
 Provided for polymorphic use. More...
 
virtual void CommandOutput (const CFxString &message, const CFxDocument *document)=0
 Triggered, when using CFxUserIO::Write() or CFxSystemServices::WriteLine(). The default implementation does nothing. More...
 
virtual void SystemOutput (const CFxString &message, const CFxDocument *document)=0
 Triggered from CFxUserIO::GetXXX() functions and by other system output. The default implementation does nothing. More...
 

Detailed Description

Use this interface to receive messages from the command window.

Implement this interface to handle text written in the command window and pass it to CFxSystemServices, to have it hooked into ARES.

See also
CFxSystemServices::AddOutputDevice(), CFxSystemServices::RemoveOutputDevice()

Definition at line 35 of file FxOutputDevice.h.

Constructor & Destructor Documentation

◆ ~CFxOutputDevice()

virtual CFxOutputDevice::~CFxOutputDevice ( )
virtual

Provided for polymorphic use.

Member Function Documentation

◆ CommandOutput()

virtual void CFxOutputDevice::CommandOutput ( const CFxString message,
const CFxDocument document 
)
pure virtual

Triggered, when using CFxUserIO::Write() or CFxSystemServices::WriteLine(). The default implementation does nothing.

Parameters
messageMessage written in the command window.
documentThe document gives the message its context.

◆ SystemOutput()

virtual void CFxOutputDevice::SystemOutput ( const CFxString message,
const CFxDocument document 
)
pure virtual

Triggered from CFxUserIO::GetXXX() functions and by other system output. The default implementation does nothing.

Parameters
messageMessage written in the command window.
documentThe document gives the message its context.

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