wxMaxima
Public Types | Public Member Functions | List of all members
MaximaEvent Class Reference
Inheritance diagram for MaximaEvent:
Inheritance graph
[legend]
Collaboration diagram for MaximaEvent:
Collaboration graph
[legend]

Public Types

enum  Cause {
  READ_PENDING, READ_DATA, READ_TIMEOUT, DISCONNECTED,
  WRITE_PENDING, WRITE_ERROR
}
 

Public Member Functions

 MaximaEvent (Cause cause, Maxima *source)
 
 MaximaEvent (Cause cause, Maxima *source, wxString &&data)
 
wxEvent * Clone () const override
 
Cause GetCause () const
 
MaximaGetSource () const
 
const wxString & GetData () const
 
wxString & GetData ()
 
void SetData (const wxString &data)
 

Member Enumeration Documentation

◆ Cause

Enumerator
READ_PENDING 

There's still pending data coming from Maxima. The Data member is empty at the moment.

READ_DATA 

A complete response has been read from Maxima.

READ_TIMEOUT 

Reading from Maxima had timed out while awaiting an end marker - partial response is provided.

DISCONNECTED 

Maxima has disconnected (possibly because the process had died).

WRITE_PENDING 

A write to Maxima is still ongoing. We use this event to keep the traffic indicator alive.

WRITE_ERROR 

The transmission has failed - this is an unrecoverable error, most likely.


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