opensurgsim
Public Member Functions | Protected Member Functions | List of all members
SurgSim::Physics::MockComputation Class Reference
Inheritance diagram for SurgSim::Physics::MockComputation:
SurgSim::Physics::Computation

Public Member Functions

 MockComputation (bool doCopyState=false)
 
 SURGSIM_CLASSNAME (SurgSim::Physics::MockComputation)
 
- Public Member Functions inherited from SurgSim::Physics::Computation
 Computation (bool doCopyState)
 Constructor. More...
 
virtual ~Computation ()
 Destructor.
 
std::shared_ptr< PhysicsManagerStateupdate (double dt, const std::shared_ptr< PhysicsManagerState > &state)
 Public Interface execute this objects computations, dt is the time from the last update call in seconds. More...
 
void setDoCopyState (bool val)
 Sets up whether the computation will copy the state of PhysicsManagerState before executing. More...
 
bool isCopyingState ()
 Query if this object is copying the PhysicsManagerState. More...
 
virtual std::string getClassName () const =0
 The class name for this class. More...
 
Framework::TimergetTimer ()
 Provides access to the update timer. More...
 

Protected Member Functions

std::shared_ptr< PhysicsManagerStatedoUpdate (const double &dt, const std::shared_ptr< PhysicsManagerState > &state) override
 Override this function to implement the computations specific behavior.
 

The documentation for this class was generated from the following files: