Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SurgSim::Physics::PushResults Class Reference

Propagates the Mlcp result to the representations. More...

#include <SurgSim/Physics/PushResults.h>

Inheritance diagram for SurgSim::Physics::PushResults:
SurgSim::Physics::Computation

Public Member Functions

 PushResults (bool doCopyState=false)
 Constructor. More...
 
 SURGSIM_CLASSNAME (SurgSim::Physics::PushResults)
 
virtual ~PushResults ()
 Destructor. More...
 
- Public Member Functions inherited from SurgSim::Physics::Computation
 Computation (bool doCopyState)
 Constructor. More...
 
virtual ~Computation ()
 Destructor. More...
 
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 doUpdate from superclass. More...
 

Protected Attributes

std::shared_ptr< SurgSim::Framework::Loggerm_logger
 

Detailed Description

Propagates the Mlcp result to the representations.

Constructor & Destructor Documentation

§ PushResults()

SurgSim::Physics::PushResults::PushResults ( bool  doCopyState = false)
explicit

Constructor.

Parameters
doCopyStateSpecify if the output state in Computation::Update() is a copy or not of the input state

§ ~PushResults()

SurgSim::Physics::PushResults::~PushResults ( )
virtual

Destructor.

Member Function Documentation

§ doUpdate()

std::shared_ptr< PhysicsManagerState > SurgSim::Physics::PushResults::doUpdate ( const double &  dt,
const std::shared_ptr< PhysicsManagerState > &  state 
)
overrideprotectedvirtual

Override doUpdate from superclass.

Implements SurgSim::Physics::Computation.

§ SURGSIM_CLASSNAME()

SurgSim::Physics::PushResults::SURGSIM_CLASSNAME ( SurgSim::Physics::PushResults  )

Member Data Documentation

§ m_logger

std::shared_ptr<SurgSim::Framework::Logger> SurgSim::Physics::PushResults::m_logger
protected

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