gz/physics/Entity.hh
Policy Policy
Definition: gz/physics/Entity.hh:218
This is the base class of all "proxy objects". The "proxy objects" are essentially interfaces into th...
Definition: gz/physics/Entity.hh:216
FeatureT::template Implementation< PolicyT > * Interface()
Get a pointer to the implementation of FeatureT.
bool operator==(const EntityPtr< OtherEntityT > &_other) const
Comparison operator.
~EntityPtr()=default
bool operator>=(const EntityPtr< OtherEntityT > &_other) const
Comparison operator.
bool operator<=(const EntityPtr< OtherEntityT > &_other) const
Comparison operator.
EntityPtr & operator=(EntityPtr &&)=default
const Identity & FullIdentity() const
Get the Identity object of this Entity.
Entity(const std::shared_ptr< Pimpl > &_pimpl=nullptr, const Identity &_identity=Identity())
Constructor for the Entity.
EntityT & operator*() const
Dereference operator. Access a reference to the Entity being pointed to. This does NOT check whether ...
This class can be used to request features from an entity, or identify what features are missing from...
Definition: gz/physics/Entity.hh:34
Identity identity
This field contains information to identify the entity.
Definition: gz/physics/Entity.hh:292
const std::shared_ptr< void > & EntityReference() const
Get a reference-counting std::shared_ptr to the object inside the implementation that this object pro...
bool operator>(const EntityPtr< OtherEntityT > &_other) const
Comparison operator.
bool operator<(const EntityPtr< OtherEntityT > &_other) const
Comparison operator.
bool Valid() const
Check whether this is pointing at a valid Entity.
typename detail::DeterminePlugin< Policy, Features >::type Pimpl
Definition: gz/physics/Entity.hh:221
std::size_t Hash() const
Produces a hash for the Entity that this EntityPtr is referring to. This function allows EntityPtr in...
Definition: gz/physics/Entity.hh:42
const std::size_t INVALID_ENTITY_ID
This constant-value should be used to indicate that an Entity ID is invalid (i.e. does not refer to a...
Definition: gz/physics/Entity.hh:38
bool operator!=(const EntityPtr< OtherEntityT > &_other) const
Comparison operator.
T max(T... args)
EntityT * operator->() const
Drill operator. Access members of the Entity being pointed to. This does NOT check whether the Entity...
FeaturesT Features
Definition: gz/physics/Entity.hh:219
std::size_t EntityID() const
Get the unique ID value of this Entity.
std::shared_ptr< Pimpl > pimpl
This is a pointer to the physics engine implementation, and it can be used by the object features to ...
Definition: gz/physics/Entity.hh:289