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);
121 std::map<std::string, World::Action> changes_;
#define MOVEIT_CLASS_FORWARD(C)
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_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
const std::map< std::string, World::Action > & getChanges() const
Return all the changes that have been recorded.
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...