Gazebo Physics

API Reference

9.4.0
ModelStaticState::Implementation< PolicyT > Class Template Referenceabstract

The implementation API for model static state. More...

#include <Model.hh>

Public Member Functions

virtual bool GetModelStatic (const Identity &_id) const =0
 Implementation API for getting the model static state.
 
virtual void SetModelStatic (const Identity &_id, bool _static)=0
 Implementation API for setting the model static state.
 
- 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::ModelStaticState::Implementation< PolicyT >

The implementation API for model static state.

Member Function Documentation

◆ GetModelStatic()

template<typename PolicyT >
virtual bool GetModelStatic ( const Identity &  _id) const
pure virtual

Implementation API for getting the model static state.

Parameters
[in]_idIdentity of the model.
Returns
True if the model is static.

◆ SetModelStatic()

template<typename PolicyT >
virtual void SetModelStatic ( const Identity &  _id,
bool  _static 
)
pure virtual

Implementation API for setting the model static state.

Parameters
[in]_idIdentity of the model.
[in]_staticTrue to make the model static.

The documentation for this class was generated from the following file: