37 #ifndef MOVEIT_COLLISION_DETECTION_WORLD_DIFF_ 38 #define MOVEIT_COLLISION_DETECTION_WORLD_DIFF_ 65 void setWorld(
const WorldPtr& world);
69 void reset(
const WorldPtr& world);
75 const std::map<std::string, World::Action>&
getChanges()
const 87 const_iterator
end()
const 97 const_iterator
find(
const std::string&
id)
const Maintain a diff list of changes that have happened to a World.
std::map< std::string, World::Action >::const_iterator const_iterator
const_iterator begin() const
World::ObserverHandle observer_handle_
const_iterator end() const
Represents an action that occurred on an object in the world. Several bits may be set indicating seve...
MOVEIT_CLASS_FORWARD(AllowedCollisionMatrix)
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.
Generic interface to collision detection.
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.
void notify(const World::ObjectConstPtr &, World::Action)
Notification function.
const_iterator find(const std::string &id) const
std::map< std::string, World::Action > changes_