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;}
 
Includes internal headers providing declarations for the basic SimTK Core classes,...
 
Every Simbody header and source file should include this header before any other Simbody header.
 
#define SimTK_SIMBODY_EXPORT
Definition: Simbody/include/simbody/internal/common.h:68
 
PeriodicEventReporter is a subclass of ScheduledEventReporter which generates a series of uniformly s...
Definition: EventReporter.h:138
 
This object is intended to contain all state information for a SimTK::System, except topological info...
Definition: State.h:280
 
This is the base class that serves as the parent of all SimTK System objects; most commonly Simbody's...
Definition: System.h:97
 
This template class defines a standard interface for objects that calculate a function based on a Sys...
Definition: TextDataEventReporter.h:48
 
virtual ~UserFunction()
Definition: TextDataEventReporter.h:50
 
virtual T evaluate(const System &system, const State &state)=0
 
This is an EventReporter which prints out numeric data at regular intervals in tabular form.
Definition: TextDataEventReporter.h:42
 
TextDataEventReporter(const System &system, UserFunction< Vector > *function, Real reportInterval)
Create a TextDataEventReporter which calculates a vector of numbers at each reporting interval,...
 
const TextDataEventReporterRep & getRep() const
Definition: TextDataEventReporter.h:77
 
TextDataEventReporterRep * rep
Definition: TextDataEventReporter.h:74
 
TextDataEventReporterRep & updRep() const
Definition: TextDataEventReporter.h:78
 
void handleEvent(const State &state) const override
This is the implementation of the EventReporter virtual.
 
TextDataEventReporter(const System &system, UserFunction< Real > *function, Real reportInterval)
Create a TextDataEventReporter which calculates a single number at each reporting interval,...
 
~TextDataEventReporter()
The destructor will take care of deleting the UserFunction object; don't delete it yourself.
 
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
 
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:607