Go to the documentation of this file. 1 #ifndef SimTK_SIMBODY_TEXT_DATA_EVENT_REPORTER_H_
2 #define SimTK_SIMBODY_TEXT_DATA_EVENT_REPORTER_H_
74 class TextDataEventReporterRep;
76 TextDataEventReporterRep*
rep;
77 const TextDataEventReporterRep&
getRep()
const {assert(rep);
return *rep;}
78 TextDataEventReporterRep&
updRep()
const {assert(rep);
return *rep;}
83 #endif // SimTK_SIMBODY_TEXT_DATA_EVENT_REPORTER_H_
This object is intended to contain all state information for a SimTK::System, except topological info...
Definition: State.h:280
TextDataEventReporter(const System &system, UserFunction< Vector > *function, Real reportInterval)
Create a TextDataEventReporter which calculates a vector of numbers at each reporting interval,...
This is a System that represents the dynamics of a particle moving along a smooth surface.
Definition: Assembler.h:37
virtual ~UserFunction()
Definition: TextDataEventReporter.h:50
void handleEvent(const State &state) const override
This is the implementation of the EventReporter virtual.
const TextDataEventReporterRep & getRep() const
Definition: TextDataEventReporter.h:77
virtual T evaluate(const System &system, const State &state)=0
PeriodicEventReporter is a subclass of ScheduledEventReporter which generates a series of uniformly s...
Definition: EventReporter.h:138
This is an EventReporter which prints out numeric data at regular intervals in tabular form.
Definition: TextDataEventReporter.h:42
This template class defines a standard interface for objects that calculate a function based on a Sys...
Definition: TextDataEventReporter.h:48
~TextDataEventReporter()
The destructor will take care of deleting the UserFunction object; don't delete it yourself.
#define SimTK_SIMBODY_EXPORT
Definition: Simbody/include/simbody/internal/common.h:68
SimTK_Real Real
This is the default compiled-in floating point type for SimTK, either float or double.
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:606
TextDataEventReporter(const System &system, UserFunction< Real > *function, Real reportInterval)
Create a TextDataEventReporter which calculates a single number at each reporting interval,...
This is the base class that serves as the parent of all SimTK System objects; most commonly Simbody's...
Definition: System.h:97
TextDataEventReporterRep & updRep() const
Definition: TextDataEventReporter.h:78
TextDataEventReporterRep * rep
Definition: TextDataEventReporter.h:74