18 #ifndef AGXPYTHON_REACTIVECRIPT_H 19 #define AGXPYTHON_REACTIVECRIPT_H 1 21 #include <agx/config/AGX_USE_PYTHON.h> 124 friend class ScriptManager;
136 void setScriptConsole(ScriptConsole* scriptConsole);
138 ScriptConsole* getScriptConsole();
140 void setScriptRuntimeListener(ScriptRuntimeListener* scriptRuntimeListener);
142 ScriptRuntimeListener* getScriptRuntimeListener();
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,
190 ActionStateInitialize,
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.
Representation of a name string.
Smart pointer for handling referenced counted objects.
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...