16 #ifndef SURGSIM_PHYSICS_PREUPDATE_H 17 #define SURGSIM_PHYSICS_PREUPDATE_H 34 explicit PreUpdate(
bool doCopyState =
false);
41 virtual std::shared_ptr<PhysicsManagerState>
42 doUpdate(
const double& dt,
const std::shared_ptr<PhysicsManagerState>& state)
override;
48 #endif // SURGSIM_PHYSICS_PREUPDATE_H Definition: DriveElementFromInputBehavior.cpp:27
PreUpdate(bool doCopyState=false)
Constructor.
Definition: PreUpdate.cpp:28
virtual std::shared_ptr< PhysicsManagerState > doUpdate(const double &dt, const std::shared_ptr< PhysicsManagerState > &state) override
Override doUpdate from superclass.
Definition: PreUpdate.cpp:38
Encapsulates a calculation over a selection of objects, needs to be subclassed to be used...
Definition: Computation.h:30
virtual ~PreUpdate()
Destructor.
Definition: PreUpdate.cpp:33
Pre Update is called after everything else is done in the physics time step.
Definition: PreUpdate.h:29