GLPK for C#/CLI  1.10.0
Public Member Functions | List of all members
org.gnu.glpk.IGlpkTerminalListener Interface Reference

Terminal Listener. More...

Collaboration diagram for org.gnu.glpk.IGlpkTerminalListener:
Collaboration graph

Public Member Functions

bool output (string str)
 Receive terminal output. More...
 

Detailed Description

Terminal Listener.

GLPK will call method GlpkTerminal::callback before producing terminal output. A listener can inhibit the terminal output by returning false in the output routine.

If a GlpkExeption has occured it is necessary to call

GLPK.glp_term_hook(null, null);

to reenable listening to terminal output.

See also
GlpkTerminal
GlpkException
GLPK::glp_term_hook(SWIGTYPE_p_f_p_void_p_q_const__char__int, SWIGTYPE_p_void)

Definition at line 19 of file IGlpkTerminalListener.cs.

Member Function Documentation

◆ output()

bool org.gnu.glpk.IGlpkTerminalListener.output ( string  str)

Receive terminal output.

The return value controls, if the mesage is displayed in the console.

Parameters
stroutput string
Returns
true if terminal output is requested
Here is the caller graph for this function:

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