Gazebo Physics

API Reference

8.0.0~pre2
SetContactPropertiesCallbackFeature::Implementation< PolicyT > Class Template Referenceabstract

#include <ContactProperties.hh>

Public Types

using ContactImpl = typename GetContactsFromLastStepFeature ::Implementation< PolicyT >::ContactInternal
 
typedef std::function< void(const ContactImpl &, size_t, ContactSurfaceParams< PolicyT > &) > SurfaceParamsCallback
 

Public Member Functions

virtual void AddContactPropertiesCallback (const Identity &_worldID, const std::string &_callbackID, SurfaceParamsCallback _callback)=0
 Add the callback.
 
virtual bool RemoveContactPropertiesCallback (const Identity &_worldID, const std::string &_callbackID)=0
 Remove the callback.
 
- 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.
 

Member Typedef Documentation

◆ ContactImpl

template<typename PolicyT >
using ContactImpl = typename GetContactsFromLastStepFeature ::Implementation<PolicyT>::ContactInternal

◆ SurfaceParamsCallback

template<typename PolicyT >
typedef std::function< void(const ContactImpl&, size_t, ContactSurfaceParams<PolicyT>&) > SurfaceParamsCallback

Member Function Documentation

◆ AddContactPropertiesCallback()

template<typename PolicyT >
virtual void AddContactPropertiesCallback ( const Identity &  _worldID,
const std::string _callbackID,
SurfaceParamsCallback  _callback 
)
pure virtual

Add the callback.

◆ RemoveContactPropertiesCallback()

template<typename PolicyT >
virtual bool RemoveContactPropertiesCallback ( const Identity &  _worldID,
const std::string _callbackID 
)
pure virtual

Remove the callback.


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