17 #ifndef AGXPLOT_SYSTEM_H
18 #define AGXPLOT_SYSTEM_H
71 bool shouldUpdate()
const;
114 const OutputRefVector& getOutputs()
const;
119 bool hasAnyWindow()
const;
129 void getDescription(agxJson::Value&
root,
bool includeData)
const;
135 void setFromDescription(
const agxJson::Value& root);
157 void clearDataSeries();
162 void disableWindows();
168 static void disableAllPlotting();
169 static bool plottingDisabled();
178 void updatedRepresentation();
186 bool hasData()
const;
188 void simulationTickCallback(
agx::Clock *clock);
197 agxPlot::DataSeriesRefVector m_dataSeries;
199 WindowRefVector m_windows;
201 OutputRefVector m_outputs;
203 bool m_loadingJournal;
205 bool m_updatedRepresentation;
235 void updateOutputs();
Basic wrapper class aroud std::thread.
OutputThread(System *system, agx::Real frequency=30)
void setFrequency(agx::Real frequency)
Generalized callback, using std::function.
#define AGXPHYSICS_EXPORT
#define AGX_DECLARE_POINTER_TYPES(type)
The Timer class permits timing execution speed with the same refinement as the built in hardware cloc...
Block synchronization primitive.
Base class providing referencing counted objects.
Templated callback with one argument.
agx::Real getFrequency() const
agx::Event1< agxPlot::Output * > OutputAddedEvent
OutputAddedEvent outputAdded
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Clock class keeps representation of virtual/simulated time.
AGXCORE_EXPORT Component * root()