#include <ModelComponent.h>
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 |
OpenSim::ModelComponentRep::ModelComponentRep | ( | ModelComponent & | mc | ) | [protected] |
Constructor.
OpenSim::ModelComponentRep::~ModelComponentRep | ( | ) | [protected] |
Destructor.
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 |
friend class ModelComponent [friend] |
SimTK::SubsystemIndex OpenSim::ModelComponentRep::_indexOfSubsystemForAllocations [protected] |
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] |