18 #ifndef GZ_PHYSICS_FRAMEID_HH_
19 #define GZ_PHYSICS_FRAMEID_HH_
23 #include <gz/physics/Export.hh>
24 #include <gz/physics/detail/Identity.hh>
25 #include <gz/utils/SuppressWarning.hh>
46 class IGNITION_PHYSICS_VISIBLE
FrameID final
49 public:
bool operator ==(
const FrameID &_other)
const;
50 public:
bool operator <(
const FrameID &_other)
const;
51 public:
bool operator >(
const FrameID &_other)
const;
52 public:
bool operator <=(
const FrameID &_other)
const;
53 public:
bool operator >=(
const FrameID &_other)
const;
54 public:
bool operator !=(
const FrameID &_other)
const;
94 private:
explicit FrameID(
const Identity &_identity);
97 private:
enum WorldConstructorArg { ConstructWorld };
100 private:
explicit FrameID(WorldConstructorArg);
111 IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
113 IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING
Container for specifying Frame IDs. We do not want to use a generic integer type for this,...
Definition: gz/physics/FrameID.hh:47
FrameID(FrameID &&)=default
bool IsReferenceCounted() const
This will return true if this Frame is being reference-counted, and false otherwise.
bool IsWorld() const
Returns true if this is the world frame.
FrameID(const FrameID &)=default
std::size_t ID() const
The numerical value of this FrameID's ID number.
static const FrameID & World()
Get a reference to the world Frame.
FrameSemantics is an Interface that can be provided by ignition-physics engines to provide users with...
Definition: gz/physics/FrameSemantics.hh:39