64 void setWorld(
const WorldPtr& world);
68 void reset(
const WorldPtr& world);
74 const std::map<std::string, World::Action>&
getChanges()
const
83 return changes_.begin();
88 return changes_.end();
93 return changes_.size();
98 return changes_.find(
id);
117 std::map<std::string, World::Action> changes_;
Maintain a diff list of changes that have happened to a World.
const_iterator find(const std::string &id) const
void set(const std::string &id, World::Action val)
const std::map< std::string, World::Action > & getChanges() const
Return all the changes that have been recorded.
const_iterator begin() const
void setWorld(const WorldPtr &world)
Set which world to record. Records all objects in old world (if any) as DESTROYED and all objects in ...
void clearChanges()
Clear the internally maintained vector of changes.
const_iterator end() const
void reset()
Turn off recording and erase all previously recorded changes.
std::map< std::string, World::Action >::const_iterator const_iterator
Represents an action that occurred on an object in the world. Several bits may be set indicating seve...
MOVEIT_CLASS_FORWARD(AllowedCollisionMatrix)