1 #ifndef SimTK_SIMBODY_TEXT_DATA_EVENT_REPORTER_H_ 2 #define SimTK_SIMBODY_TEXT_DATA_EVENT_REPORTER_H_ 51 virtual T evaluate(
const System& system,
const State& state) = 0;
58 UserFunction<Real>*
function,
65 UserFunction<Vector>*
function,
72 void handleEvent(
const State& state)
const override;
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_ TextDataEventReporterRep * rep
Definition: TextDataEventReporter.h:74
This template class defines a standard interface for objects that calculate a function based on a Sys...
Definition: TextDataEventReporter.h:48
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
virtual ~UserFunction()
Definition: TextDataEventReporter.h:50
Every Simbody header and source file should include this header before any other Simbody header...
TextDataEventReporterRep & updRep() const
Definition: TextDataEventReporter.h:78
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
This object is intended to contain all state information for a SimTK::System, except topological info...
Definition: State.h:280
PeriodicEventReporter is a subclass of ScheduledEventReporter which generates a series of uniformly s...
Definition: EventReporter.h:138
Includes internal headers providing declarations for the basic SimTK Core classes, including Simmatrix.
This is an EventReporter which prints out numeric data at regular intervals in tabular form...
Definition: TextDataEventReporter.h:41
#define SimTK_SIMBODY_EXPORT
Definition: Simbody/include/simbody/internal/common.h:68
This is the base class that serves as the parent of all SimTK System objects; most commonly Simbody's...
Definition: System.h:97
const TextDataEventReporterRep & getRep() const
Definition: TextDataEventReporter.h:77