37 #ifndef MOVEIT_COLLISION_DETECTION_WORLD_DIFF_ 38 #define MOVEIT_COLLISION_DETECTION_WORLD_DIFF_ 67 void setWorld(
const WorldPtr& world);
71 void reset(
const WorldPtr& world);
77 const std::map<std::string, World::Action>&
getChanges()
const 89 const_iterator
end()
const 99 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
World::ObserverHandle observer_handle_
const_iterator begin() const
Represents an action that occurred on an object in the world. Several bits may be set indicating seve...
MOVEIT_CLASS_FORWARD(AllowedCollisionMatrix)
void reset()
Turn off recording and erase all previously recorded changes.
const std::map< std::string, World::Action > & getChanges() const
Return all the changes that have been recorded.
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.
std::weak_ptr< World > world_
const_iterator end() const
std::map< std::string, World::Action > changes_
const_iterator find(const std::string &id) const