Module: stateData
Object that is to be used by an integrator. It’s basically an interface with only one method: the \(F\) function describing a dynamic model \(\dot X = F(X,t)\).
- 
class StateData
 
- 
- Public Functions - 
- 
StateData()
 
 - 
- 
StateData(std::string inName, const Eigen::MatrixXd &newState)
 
 - 
- 
StateData(const StateData &inState)
 
 - 
- 
~StateData()
 
 - 
- 
void setState(const Eigen::MatrixXd &newState)
 
 - 
- 
void propagateState(double dt)
 
 - 
- 
void setDerivative(const Eigen::MatrixXd &newDeriv)
 
 - 
- 
Eigen::MatrixXd getState() const
 
 - 
- 
Eigen::MatrixXd getStateDeriv() const
 
 - 
- 
std::string getName() const
 
 - 
- 
uint32_t getRowSize() const
 
 - 
- 
uint32_t getColumnSize() const
 
 - 
- 
bool isStateActive()
 
 - 
- 
void disable()
 
 - 
- 
void enable()
 
 - 
- 
void scaleState(double scaleFactor)
 
 - 
- 
StateData operator+(const StateData &operand)
 
 - 
- 
StateData operator*(double scaleFactor)
 
 
 - 
- Public Members - 
- 
Eigen::MatrixXd state
 
 - 
- 
Eigen::MatrixXd stateDeriv
 
- [-] State value storage  
 - 
- 
std::string stateName
 
- [-] State derivative value storage  
 - 
- 
bool stateEnabled
 
- [-] Name of the state  
 - 
- 
BSKLogger bskLogger
 
- [-] Flag indicating state is enabled  -  BSK Logging