|
wxMaxima
|
The handlers that turn a chunk of data Maxima sent into a change to wxMaxima's state and worksheet. More...
#include <wx/string.h>#include <wx/xml/xml.h>#include <wx/hashmap.h>#include <unordered_map>Go to the source code of this file.
Data Structures | |
| class | MaximaResponseReader |
| The Maxima-response handlers extracted from the wxMaxima god class. More... | |
The handlers that turn a chunk of data Maxima sent into a change to wxMaxima's state and worksheet.
Maxima answers wxMaxima's commands with XML wrapped in known tags plus the occasional bit of plain text (prompts, stderr, misc output). wxMaxima's socket-event handler (MaximaProcessManager::MaximaEvent) classifies each chunk and hands it to one of the Read* handlers collected here. They used to be members of the wxMaxima god class; they are being peeled off into this class to shrink wxMaxima.cpp.
The pure XML -> data-structure parsing keeps moving into GUI-free, unit-testable free functions (see MaximaVariableUpdates.h); the handlers here drive the GUI (the worksheet, the sidebars, the status bar, the configuration) through the m_wxMaxima reference, so MaximaResponseReader is a friend of wxMaxima.