OpenSim::ModelComponentRep Class Reference

#include <ModelComponent.h>

List of all members.

Classes

struct  CacheInfo
struct  DiscreteVariableInfo

Public Member Functions

int getNumStateVariablesAddedByModelComponent () const
 Get the number of continuous states that the ModelComponent added to the underlying computational system.
void realizeTopology (SimTK::State &s) const
void realizeModel (SimTK::State &s) const
void realizeInstance (const SimTK::State &s) const
void realizeTime (const SimTK::State &s) const
void realizePosition (const SimTK::State &s) const
void realizeVelocity (const SimTK::State &s) const
void realizeDynamics (const SimTK::State &s) const
void realizeAcceleration (const SimTK::State &s) const
void realizeReport (const SimTK::State &s) const

Protected Member Functions

 ModelComponentRep (ModelComponent &mc)
 Constructor.
 ~ModelComponentRep ()
 Destructor.

Protected Attributes

ModelComponent_modelComponent
SimTK::SubsystemIndex _indexOfSubsystemForAllocations
SimTK::MeasureIndex _simTKcomponentIndex
SimTK::Array_< std::string > _optionFlagNames
SimTK::DiscreteVariableIndex _modelingOptionIndex
std::map< std::string,
SimTK::ZIndex, std::less
< std::string > > 
_namedStateVariableIndices
std::map< std::string,
DiscreteVariableInfo
*, std::less< std::string > > 
_namedDiscreteVariableInfo
std::map< std::string,
CacheInfo *, std::less
< std::string > > 
_namedCacheVariableInfo

Friends

class ModelComponent

Constructor & Destructor Documentation

OpenSim::ModelComponentRep::ModelComponentRep ( ModelComponent mc  )  [protected]

Constructor.

OpenSim::ModelComponentRep::~ModelComponentRep (  )  [protected]

Destructor.


Member Function Documentation

int OpenSim::ModelComponentRep::getNumStateVariablesAddedByModelComponent (  )  const [inline]

Get the number of continuous states that the ModelComponent added to the underlying computational system.

It does not include the number of states already built-in by the SimTK::System level component. Should query it and add to this to obtain the total number of states managed by this ModelComponent

void OpenSim::ModelComponentRep::realizeAcceleration ( const SimTK::State &  s  )  const
void OpenSim::ModelComponentRep::realizeDynamics ( const SimTK::State &  s  )  const
void OpenSim::ModelComponentRep::realizeInstance ( const SimTK::State &  s  )  const
void OpenSim::ModelComponentRep::realizeModel ( SimTK::State &  s  )  const
void OpenSim::ModelComponentRep::realizePosition ( const SimTK::State &  s  )  const
void OpenSim::ModelComponentRep::realizeReport ( const SimTK::State &  s  )  const
void OpenSim::ModelComponentRep::realizeTime ( const SimTK::State &  s  )  const
void OpenSim::ModelComponentRep::realizeTopology ( SimTK::State &  s  )  const
void OpenSim::ModelComponentRep::realizeVelocity ( const SimTK::State &  s  )  const

Friends And Related Function Documentation

friend class ModelComponent [friend]

Member Data Documentation

SimTK::DiscreteVariableIndex OpenSim::ModelComponentRep::_modelingOptionIndex [protected]
std::map<std::string, CacheInfo*, std::less<std::string> > OpenSim::ModelComponentRep::_namedCacheVariableInfo [protected]
std::map<std::string, DiscreteVariableInfo*, std::less<std::string> > OpenSim::ModelComponentRep::_namedDiscreteVariableInfo [protected]
std::map<std::string, SimTK::ZIndex, std::less<std::string> > OpenSim::ModelComponentRep::_namedStateVariableIndices [protected]
SimTK::Array_<std::string> OpenSim::ModelComponentRep::_optionFlagNames [protected]
SimTK::MeasureIndex OpenSim::ModelComponentRep::_simTKcomponentIndex [protected]

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

Generated on Sun Sep 25 00:19:59 2011 for OpenSim by  doxygen 1.6.1