21 #ifndef _MODELSTATE_HH_
22 #define _MODELSTATE_HH_
81 public:
bool IsZero()
const;
110 public:
bool HasLinkState(
const std::string &_linkName)
const;
147 public:
bool HasJointState(
const std::string &_jointName)
const;
175 _out <<
"<model name='" << _state.
GetName() <<
"'>\n";
176 _out <<
"<pose>" << _state.pose <<
"</pose>\n";
178 for (std::vector<LinkState>::const_iterator iter =
179 _state.linkStates.begin(); iter != _state.linkStates.end();
186 for (std::vector<JointState>::const_iterator iter =
187 _state.jointStates.begin(); iter != _state.jointStates.end();
193 _out <<
"</model>\n";
202 private: std::vector<LinkState> linkStates;
205 private: std::vector<JointState> jointStates;