|
wxMaxima
|
Handles the "<ipc>" tag from Maxima. More...
#include <MaximaIPC.h>
Public Member Functions | |
| MaximaIPC (wxMaxima *wxm) | |
| void | ReadInputData (const wxString &data) |
| Reads the interprocess communications tag, used in test scripts, etc. | |
| bool | DrainQueue () |
| Drains the event queue and dispatches a queued IPC event to its target. | |
Static Public Member Functions | |
| static void | EnableIPC () |
| static bool | GetEnableIPC () |
Handles the "<ipc>" tag from Maxima.
This is used mainly for testing, so that Maxima can send synthetic events to wxMaxima.
| bool MaximaIPC::DrainQueue | ( | ) |
Drains the event queue and dispatches a queued IPC event to its target.
Only one event is drained at a time. This method should be invoked from the idle loop, on the condition that the idle loop was about to sleep, i.e. there was no more work for it to do.
| void MaximaIPC::ReadInputData | ( | const wxString & | data | ) |
Reads the interprocess communications tag, used in test scripts, etc.
Since it may be unsafe, it must be enabled via command line.