FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
FIFE::ConsoleExecuter Class Referenceabstract

Console executer is listener interface for console activity. More...

#include <console.h>

+ Collaboration diagram for FIFE::ConsoleExecuter:

Public Member Functions

virtual ~ConsoleExecuter ()
 Destructor. More...
 
virtual void onToolsClick ()=0
 Called when console tools button is clicked. More...
 
virtual std::string onConsoleCommand (const std::string &command)=0
 Called when user has typed command to console and pressed enter. More...
 

Detailed Description

Console executer is listener interface for console activity.

Definition at line 45 of file console.h.

Constructor & Destructor Documentation

◆ ~ConsoleExecuter()

virtual FIFE::ConsoleExecuter::~ConsoleExecuter ( )
inlinevirtual

Destructor.

Definition at line 49 of file console.h.

References onConsoleCommand(), and onToolsClick().

Member Function Documentation

◆ onConsoleCommand()

virtual std::string FIFE::ConsoleExecuter::onConsoleCommand ( const std::string &  command)
pure virtual

Called when user has typed command to console and pressed enter.

Returns
response from executer

Referenced by FIFE::Console::execute(), and ~ConsoleExecuter().

+ Here is the caller graph for this function:

◆ onToolsClick()

virtual void FIFE::ConsoleExecuter::onToolsClick ( )
pure virtual

Called when console tools button is clicked.

Referenced by FIFE::Console::action(), and ~ConsoleExecuter().

+ Here is the caller graph for this function:

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