class
object_handleA generic handle capable of opaquely representing any simulation object.
Constructors, destructors, conversion operators
- object_handle() defaulted constexpr noexcept
- Default-constructs a null handle.
-
object_handle(const object_
handle&) defaulted constexpr noexcept - Copy constructor.
- operator bool() const explicit constexpr noexcept
- Returns true if this handle represents a valid object (i.e is not null).
- operator force_feedback_emitter_handle() const explicit noexcept
- Casts this handle to a force_
feedback_ emitter_ handle. - operator rigid_body_handle() const explicit noexcept
- Casts this handle to a rigid_
body_ handle. - operator soft_body_handle() const explicit noexcept
- Casts this handle to a soft_
body_ handle. - operator volumetric_body_handle() const explicit noexcept
- Casts this handle to a volumetric_
body_ handle.
Public functions
-
auto operator=(const object_
handle&) -> object_ handle& defaulted noexcept - Copy-assignment operator.