GravityEnabled::Implementation< PolicyT > Class Template Referenceabstract
The implementation API for gravity mode. More...
#include <Gravity.hh>
Public Member Functions | |
| virtual bool | GetLinkGravityEnabled (const Identity &_id) const =0 |
| Implementation API for getting the link gravity mode. | |
| virtual bool | GetModelGravityEnabled (const Identity &_id) const =0 |
| Implementation API for getting the model gravity mode. | |
| virtual void | SetLinkGravityEnabled (const Identity &_id, bool _enabled)=0 |
| Implementation API for setting the link gravity mode. | |
| virtual void | SetModelGravityEnabled (const Identity &_id, bool _enabled)=0 |
| Implementation API for setting the model gravity mode. | |
Public Member Functions inherited from Feature::Implementation< PolicyT > | |
| virtual | ~Implementation ()=default |
| Virtual destructor. | |
| virtual Identity | InitiateEngine (std::size_t engineID=0)=0 |
| Tell the physics plugin to initiate a physics engine. | |
Detailed Description
template<typename PolicyT>
class gz::physics::GravityEnabled::Implementation< PolicyT >
class gz::physics::GravityEnabled::Implementation< PolicyT >
The implementation API for gravity mode.
Member Function Documentation
◆ GetLinkGravityEnabled()
template<typename PolicyT >
|
pure virtual |
Implementation API for getting the link gravity mode.
- Parameters
-
[in] _id Identity of the link.
- Returns
- True if gravity is enabled.
◆ GetModelGravityEnabled()
template<typename PolicyT >
|
pure virtual |
Implementation API for getting the model gravity mode.
- Parameters
-
[in] _id Identity of the model.
- Returns
- True if gravity is enabled.
◆ SetLinkGravityEnabled()
template<typename PolicyT >
|
pure virtual |
Implementation API for setting the link gravity mode.
- Parameters
-
[in] _id Identity of the link. [in] _enabled True to enable gravity.
◆ SetModelGravityEnabled()
template<typename PolicyT >
|
pure virtual |
Implementation API for setting the model gravity mode.
- Parameters
-
[in] _id Identity of the model. [in] _enabled True to enable gravity.
The documentation for this class was generated from the following file:
Public Member Functions inherited from