CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
CFxOutputDevice Class Referenceabstract

#include <FxOutputDevice.h>

Public Member Functions

virtual ~CFxOutputDevice ()
 
virtual void CommandOutput (const CFxString &message, const CFxDocument *document)=0
 
virtual void SystemOutput (const CFxString &message, const CFxDocument *document)=0
 

Detailed Description

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 33 of file FxOutputDevice.h.

Constructor & Destructor Documentation

◆ ~CFxOutputDevice()

virtual CFxOutputDevice::~CFxOutputDevice ( )
virtual

Description: Provided for polymorphic use.

Member Function Documentation

◆ CommandOutput()

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

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

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

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

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: