18 #ifndef AGXPYTHON_REACTIVECRIPT_H
19 #define AGXPYTHON_REACTIVECRIPT_H 1
148 long getLastErrorLine()
const;
150 bool errorOccurred()
const;
160 void setReadOnly(
bool readOnly);
168 virtual void addNotification()
override;
170 virtual void removeNotification()
override;
189 ActionSimulationRemove = 1,
197 void pushAction(Action action,
void* param =
nullptr);
199 void setLastErrorMessage(
const agx::String &lastErrorMessage);
201 void setLastErrorLine(
long lastErrorLine);
205 std::vector<std::pair<Action, void*> > m_pendingActions;
215 long m_lastErrorLine;
Derive from this class to implement a listener for simulation Step events.
Class that manages the embedded Python interpreter and a script context.
Representation of a name string.
The ReactiveScript class is derived from the agxSDK::StepEventListener class and require an agxSDK::S...
agx::ref_ptr< ScriptRuntimeListener > listener
Smart pointer for handling referenced counted objects.
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
agx::ref_ptr< ScriptConsole > console