Ignition Physics

API Reference

5.1.0
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. More...
 
virtual bool RemoveContactPropertiesCallback (const Identity &_worldID, const std::string &_callbackID)=0
 Remove the callback. More...
 
- Public Member Functions inherited from Feature::Implementation< PolicyT >
virtual ~Implementation ()=default
 Virtual destructor. More...
 
virtual Identity InitiateEngine (std::size_t engineID=0)=0
 Tell the physics plugin to initiate a physics engine. More...
 

Member Typedef Documentation

◆ ContactImpl

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

◆ SurfaceParamsCallback

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

Member Function Documentation

◆ AddContactPropertiesCallback()

virtual void AddContactPropertiesCallback ( const Identity &  _worldID,
const std::string _callbackID,
SurfaceParamsCallback  _callback 
)
pure virtual

Add the callback.

◆ RemoveContactPropertiesCallback()

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: