|
wxMaxima
|
The evaluation-queue driver / command protocol extracted from wxMaxima. More...
#include <MaximaEvaluator.h>
Public Member Functions | |
| MaximaEvaluator (wxMaxima &wxm) | |
| void | SendMaxima (wxString s, bool addToHistory=false, bool background=false) |
| Sends a string to the Maxima process (optionally adding it to the history and/or marking it a background command that must not change the busy state). | |
| void | FirstOutput () |
| Prepares the worksheet once Maxima's first prompt has been seen. | |
| bool | AbortOnError () |
| Reacts to a Maxima error: decides whether to keep evaluating the queue. | |
| bool | QueryVariableValue () |
| Queries the value of the next variable wxMaxima wants to know about. | |
| void | EvaluateEvent (wxCommandEvent &event) |
| The "evaluate" menu/hotkey handler: queues the active/selected cells and starts evaluation (or sends an answer to a pending question). | |
| void | TriggerEvaluation () |
| If Maxima is idle and the queue is non-empty, sends the next command; otherwise settles the UI into its idle state. The core queue pump. | |
| void | SetupVariables () |
| Sends Maxima the one-time startup configuration. | |
The evaluation-queue driver / command protocol extracted from wxMaxima.
Owned by value by the wxMaxima frame. Holds a reference back to that frame for the services it needs (the worksheet, the socket, the status bar).
| bool MaximaEvaluator::AbortOnError | ( | ) |
Reacts to a Maxima error: decides whether to keep evaluating the queue.
| bool MaximaEvaluator::QueryVariableValue | ( | ) |
Queries the value of the next variable wxMaxima wants to know about.
| void MaximaEvaluator::SendMaxima | ( | wxString | s, |
| bool | addToHistory = false, |
||
| bool | background = false |
||
| ) |
Sends a string to the Maxima process (optionally adding it to the history and/or marking it a background command that must not change the busy state).
Check for function/variable definitions
Create a template from the input
| void MaximaEvaluator::SetupVariables | ( | ) |