![]() |
wxMaxima
|
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 |
Maxima * | GetSource () const |
const wxString & | GetData () const |
wxString & | GetData () |
void | SetData (const wxString &data) |
enum MaximaEvent::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. |