Definition at line 103 of file FGStateSpace.h.
◆ ComponentVector() [1/2]
Definition at line 106 of file FGStateSpace.h.
106 :
107 m_stateSpace(stateSpace), m_fdm(fdm), m_components() {}
◆ ComponentVector() [2/2]
Definition at line 115 of file FGStateSpace.h.
115 :
116 m_stateSpace(componentVector.m_stateSpace),
117 m_fdm(componentVector.m_fdm),
118 m_components(componentVector.m_components)
119 {
120 }
◆ add()
Definition at line 121 of file FGStateSpace.h.
122 {
123 comp->setStateSpace(m_stateSpace);
124 comp->setFdm(m_fdm);
125 m_components.push_back(comp);
126 }
◆ clear()
◆ get() [1/4]
| std::vector< double > get |
( |
| ) |
const |
|
inline |
Definition at line 152 of file FGStateSpace.h.
153 {
154 std::vector<double> val;
155 for (unsigned int i=0;i<getSize();i++) val.push_back(m_components[i]->get());
156 return val;
157 }
◆ get() [2/4]
| void get |
( |
double * |
array | ) |
const |
|
inline |
Definition at line 158 of file FGStateSpace.h.
159 {
160 for (unsigned int i=0;i<getSize();i++) array[i] = m_components[i]->get();
161 }
◆ get() [3/4]
Definition at line 148 of file FGStateSpace.h.
149 {
150 return m_components[i]->get();
151 };
◆ get() [4/4]
| double get |
( |
int |
i | ) |
const |
|
inline |
Definition at line 139 of file FGStateSpace.h.
140 {
141 return m_components[i]->get();
142 };
◆ getComp() [1/2]
Definition at line 135 of file FGStateSpace.h.
136 {
137 return m_components[i];
138 };
◆ getComp() [2/2]
Definition at line 131 of file FGStateSpace.h.
132 {
133 return m_components[i];
134 };
◆ getDeriv() [1/3]
| std::vector< double > getDeriv |
( |
| ) |
const |
|
inline |
Definition at line 166 of file FGStateSpace.h.
167 {
168 std::vector<double> val;
169 for (unsigned int i=0;i<getSize();i++) val.push_back(m_components[i]->getDeriv());
170 return val;
171 }
◆ getDeriv() [2/3]
| void getDeriv |
( |
double * |
array | ) |
const |
|
inline |
Definition at line 172 of file FGStateSpace.h.
173 {
174 for (unsigned int i=0;i<getSize();i++) array[i] = m_components[i]->getDeriv();
175 }
◆ getDeriv() [3/3]
Definition at line 162 of file FGStateSpace.h.
163 {
164 return m_components[i]->getDeriv();
165 };
◆ getName() [1/2]
| std::vector< std::string > getName |
( |
| ) |
const |
|
inline |
Definition at line 190 of file FGStateSpace.h.
191 {
192 std::vector<std::string> name;
193 for (unsigned int i=0;i<getSize();i++) name.push_back(m_components[i]->getName());
194 return name;
195 }
◆ getName() [2/2]
| std::string getName |
( |
int |
i | ) |
const |
|
inline |
Definition at line 186 of file FGStateSpace.h.
187 {
188 return m_components[i]->getName();
189 };
◆ getSize()
Definition at line 127 of file FGStateSpace.h.
128 {
129 return m_components.size();
130 }
◆ getUnit() [1/2]
| std::vector< std::string > getUnit |
( |
| ) |
const |
|
inline |
Definition at line 200 of file FGStateSpace.h.
201 {
202 std::vector<std::string> unit;
203 for (unsigned int i=0;i<getSize();i++) unit.push_back(m_components[i]->getUnit());
204 return unit;
205 }
◆ getUnit() [2/2]
| std::string getUnit |
( |
int |
i | ) |
const |
|
inline |
Definition at line 196 of file FGStateSpace.h.
197 {
198 return m_components[i]->getUnit();
199 };
◆ operator=()
Definition at line 108 of file FGStateSpace.h.
109 {
110 m_stateSpace = componentVector.m_stateSpace;
111 m_fdm = componentVector.m_fdm;
112 m_components = componentVector.m_components;
113 return *this;
114 }
◆ set() [1/3]
| void set |
( |
double * |
array | ) |
|
|
inline |
Definition at line 181 of file FGStateSpace.h.
182 {
183 for (unsigned int i=0;i<getSize();i++) m_components[i]->set(array[i]);
184 m_stateSpace->run();
185 }
◆ set() [2/3]
| void set |
( |
int |
i, |
|
|
double |
val |
|
) |
| |
|
inline |
Definition at line 143 of file FGStateSpace.h.
144 {
145 m_components[i]->set(val);
146 m_stateSpace->run();
147 };
◆ set() [3/3]
| void set |
( |
std::vector< double > |
vals | ) |
|
|
inline |
Definition at line 176 of file FGStateSpace.h.
177 {
178 for (unsigned int i=0;i<getSize();i++) m_components[i]->set(vals[i]);
179 m_stateSpace->run();
180 }
The documentation for this class was generated from the following file: