Tesseract 0.28.4
Loading...
Searching...
No Matches
tesseract::collision::DiscreteContactManagerFactory Class Referenceabstract

Define a discrete contact manager plugin which the factory can create an instance. More...

#include <contact_managers_plugin_factory.h>

Inheritance diagram for tesseract::collision::DiscreteContactManagerFactory:

Public Types

using Ptr = std::shared_ptr<DiscreteContactManagerFactory>
using ConstPtr = std::shared_ptr<const DiscreteContactManagerFactory>

Public Member Functions

std::unique_ptr< DiscreteContactManager > create (const std::string &name, const YAML::Node &config) const
 Create Discrete Contact Manager Object.
virtual tesseract::common::PropertyTree schema () const
 Return the PropertyTree schema describing the config this factory accepts.

Protected Member Functions

virtual std::unique_ptr< DiscreteContactManager > createImpl (const std::string &name, const tesseract::common::PropertyTree &config) const =0

Static Protected Member Functions

static std::string getSection ()

Friends

class boost_plugin_loader::PluginLoader
class ContactManagersPluginFactory

Detailed Description

Define a discrete contact manager plugin which the factory can create an instance.

Member Function Documentation

◆ create()

std::unique_ptr< DiscreteContactManager > tesseract::collision::DiscreteContactManagerFactory::create ( const std::string & name,
const YAML::Node & config ) const

Create Discrete Contact Manager Object.

Parameters
nameThe name of the contact manager object
Returns
If failed to create, nullptr is returned.

◆ schema()

tesseract::common::PropertyTree tesseract::collision::DiscreteContactManagerFactory::schema ( ) const
virtual