42 : state_(new robot_state::RobotState(state))
48 :
state_(new robot_state::RobotState(model))
50 state_->setToDefaultValues();
74 state_.reset(
new robot_state::RobotState(state));
robot_state::RobotStateConstPtr getState() const
get read-only access to the state.
void setState(const robot_state::RobotState &state)
Set the state to the new value.
LockedRobotState(const robot_state::RobotState &state)
virtual void robotStateChanged()
void modifyState(const ModifyStateFunction &modify)
robot_state::RobotStatePtr state_
virtual ~LockedRobotState()
boost::function< void(robot_state::RobotState *)> ModifyStateFunction