Simbody
Public Member Functions

SimTK::ForceSubsystem::Guts Class Reference

Public declaration of internals for ForceSubsystem extension. More...

#include <ForceSubsystemGuts.h>

Inheritance diagram for SimTK::ForceSubsystem::Guts:

List of all members.

Public Member Functions

 Guts (const String &name, const String &version)
virtual ~Guts ()
const MultibodySystemgetMultibodySystem () const
virtual Real calcPotentialEnergy (const State &state) const =0
 Get this subsystem's contribution to the potential energy.
 SimTK_DOWNCAST (ForceSubsystem::Guts, Subsystem::Guts)

Detailed Description

Public declaration of internals for ForceSubsystem extension.


Constructor & Destructor Documentation

SimTK::ForceSubsystem::Guts::Guts ( const String name,
const String version 
) [inline]

Reimplemented from SimTK::Subsystem::Guts.

virtual SimTK::ForceSubsystem::Guts::~Guts ( ) [inline, virtual]

Reimplemented from SimTK::Subsystem::Guts.


Member Function Documentation

const MultibodySystem& SimTK::ForceSubsystem::Guts::getMultibodySystem ( ) const [inline]
virtual Real SimTK::ForceSubsystem::Guts::calcPotentialEnergy ( const State state) const [pure virtual]

Get this subsystem's contribution to the potential energy.

The state must be at Dynamics stage or later.

SimTK::ForceSubsystem::Guts::SimTK_DOWNCAST ( ForceSubsystem::Guts  ,
Subsystem::Guts   
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines