CanonicalLinkModelTracker.hh
const std::set< Entity > & CanonicalLinkModels(const Entity _canonicalLink) const
Get a topological ordering of models that have a particular canonical link.
Definition: CanonicalLinkModelTracker.hh:97
void RemoveLink(const Entity &_link)
Remove a link from the mapping. This method should be called when a link is removed from simulation.
Definition: CanonicalLinkModelTracker.hh:108
uint64_t Entity
An Entity identifies a single object in simulation such as a model, link, or light....
Definition: gz/sim/Entity.hh:58
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:66
T find(T... args)
Gazebo is a leading open source robotics simulator, that provides high fidelity physics,...
Definition: gz/sim/Actor.hh:35
Helper class that keeps track of which models have a particular canonical link. This is useful in the...
Definition: CanonicalLinkModelTracker.hh:55
T erase(T... args)
Component< NoData, class ModelTag > Model
A component that identifies an entity as being a model.
Definition: gz/sim/components/Model.hh:111
A component type that wraps any data type. The intention is for this class to be used to create simpl...
Definition: gz/sim/components/Component.hh:324
void AddNewModels(const EntityComponentManager &_ecm)
Save mappings for new models and their canonical links.
Definition: CanonicalLinkModelTracker.hh:85
T insert(T... args)
T end(T... args)
void EachNew(typename identity< std::function< bool(const Entity &_entity, ComponentTypeTs *...)>>::type _f)
Get all newly created entities which contain given component types, as well as the components....
STL class.