Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
exotica::Setup Class Reference

#include <setup.h>

Inheritance diagram for exotica::Setup:
Inheritance graph
[legend]

Public Member Functions

 ~Setup () noexcept
 
- Public Member Functions inherited from exotica::Object
std::string GetObjectName ()
 
void InstantiateObject (const Initializer &init)
 
 Object ()
 
virtual std::string Print (const std::string &prepend) const
 
virtual std::string type () const
 Type Information wrapper: must be virtual so that it is polymorphic... More...
 
virtual ~Object ()
 

Static Public Member Functions

static std::shared_ptr< exotica::CollisionSceneCreateCollisionScene (const std::string &type, bool prepend=true)
 
static std::shared_ptr< exotica::CollisionSceneCreateCollisionScene (const Initializer &init)
 
static std::shared_ptr< exotica::DynamicsSolverCreateDynamicsSolver (const std::string &type, bool prepend=true)
 
static std::shared_ptr< exotica::DynamicsSolverCreateDynamicsSolver (const Initializer &init)
 
static std::shared_ptr< exotica::TaskMapCreateMap (const std::string &type, bool prepend=true)
 
static std::shared_ptr< exotica::PlanningProblemCreateProblem (const std::string &type, bool prepend=true)
 
static std::shared_ptr< exotica::PlanningProblemCreateProblem (const Initializer &init)
 
static exotica::ScenePtr CreateScene (const Initializer &init)
 CreateScene instantiate a scene from an initialiser The returned scene is independent of the internal EXOTica solver or problem state. It can only be used to access the parsed information like joint and link names or the kinematics. Changes to the scene will not affect the solver or problem. More...
 
static std::shared_ptr< exotica::MotionSolverCreateSolver (const std::string &type, bool prepend=true)
 
static std::shared_ptr< exotica::MotionSolverCreateSolver (const Initializer &init)
 
static void Destroy ()
 
static std::vector< std::string > GetCollisionScenes ()
 
static std::vector< std::string > GetDynamicsSolvers ()
 
static std::vector< InitializerGetInitializers ()
 
static std::vector< std::string > GetMaps ()
 
static std::vector< std::string > GetProblems ()
 
static std::vector< std::string > GetSolvers ()
 
static std::shared_ptr< SetupInstance ()
 
static void PrintSupportedClasses ()
 

Private Member Functions

void operator= (Setup const &)=delete
 
 Setup ()
 
 Setup (Setup const &)=delete
 
- Private Member Functions inherited from exotica::Uncopyable
 Uncopyable ()=default
 
 ~Uncopyable ()=default
 

Static Private Member Functions

static std::shared_ptr< exotica::TaskMapCreateMap (const Initializer &init)
 

Private Attributes

pluginlib::ClassLoader< exotica::CollisionScenecollision_scenes_
 
pluginlib::ClassLoader< exotica::DynamicsSolverdynamics_solvers_
 
pluginlib::ClassLoader< exotica::TaskMapmaps_
 
friend PlanningProblem
 
PlanningProblemFac problems_
 
pluginlib::ClassLoader< exotica::MotionSolversolvers_
 

Static Private Attributes

static std::shared_ptr< Setupsingleton_initialiser_ = nullptr
 

Additional Inherited Members

- Public Attributes inherited from exotica::Object
bool debug_
 
std::string ns_
 
std::string object_name_
 

Detailed Description

Definition at line 47 of file setup.h.

Constructor & Destructor Documentation

exotica::Setup::~Setup ( )
inlinenoexcept

Definition at line 50 of file setup.h.

exotica::Setup::Setup ( )
private

Definition at line 166 of file setup.cpp.

exotica::Setup::Setup ( Setup const &  )
privatedelete

Member Function Documentation

static std::shared_ptr<exotica::CollisionScene> exotica::Setup::CreateCollisionScene ( const std::string &  type,
bool  prepend = true 
)
inlinestatic

Definition at line 66 of file setup.h.

static std::shared_ptr<exotica::CollisionScene> exotica::Setup::CreateCollisionScene ( const Initializer init)
inlinestatic

Definition at line 111 of file setup.h.

static std::shared_ptr<exotica::DynamicsSolver> exotica::Setup::CreateDynamicsSolver ( const std::string &  type,
bool  prepend = true 
)
inlinestatic

Definition at line 67 of file setup.h.

static std::shared_ptr<exotica::DynamicsSolver> exotica::Setup::CreateDynamicsSolver ( const Initializer init)
inlinestatic

Definition at line 104 of file setup.h.

static std::shared_ptr<exotica::TaskMap> exotica::Setup::CreateMap ( const std::string &  type,
bool  prepend = true 
)
inlinestatic

Definition at line 64 of file setup.h.

static std::shared_ptr<exotica::TaskMap> exotica::Setup::CreateMap ( const Initializer init)
inlinestaticprivate

Definition at line 126 of file setup.h.

static std::shared_ptr<exotica::PlanningProblem> exotica::Setup::CreateProblem ( const std::string &  type,
bool  prepend = true 
)
inlinestatic

Definition at line 65 of file setup.h.

static std::shared_ptr<exotica::PlanningProblem> exotica::Setup::CreateProblem ( const Initializer init)
inlinestatic

Definition at line 81 of file setup.h.

static exotica::ScenePtr exotica::Setup::CreateScene ( const Initializer init)
inlinestatic

CreateScene instantiate a scene from an initialiser The returned scene is independent of the internal EXOTica solver or problem state. It can only be used to access the parsed information like joint and link names or the kinematics. Changes to the scene will not affect the solver or problem.

Parameters
initscene initialiser
Returns
a shared pointer to the scene

Definition at line 97 of file setup.h.

static std::shared_ptr<exotica::MotionSolver> exotica::Setup::CreateSolver ( const std::string &  type,
bool  prepend = true 
)
inlinestatic

Definition at line 63 of file setup.h.

static std::shared_ptr<exotica::MotionSolver> exotica::Setup::CreateSolver ( const Initializer init)
inlinestatic

Definition at line 75 of file setup.h.

void exotica::Setup::Destroy ( )
static

Definition at line 42 of file setup.cpp.

std::vector< std::string > exotica::Setup::GetCollisionScenes ( )
static

Definition at line 164 of file setup.cpp.

std::vector< std::string > exotica::Setup::GetDynamicsSolvers ( )
static

Definition at line 165 of file setup.cpp.

std::vector< Initializer > exotica::Setup::GetInitializers ( )
static

Definition at line 103 of file setup.cpp.

std::vector< std::string > exotica::Setup::GetMaps ( )
static

Definition at line 163 of file setup.cpp.

std::vector< std::string > exotica::Setup::GetProblems ( )
static

Definition at line 162 of file setup.cpp.

std::vector< std::string > exotica::Setup::GetSolvers ( )
static

Definition at line 161 of file setup.cpp.

static std::shared_ptr<Setup> exotica::Setup::Instance ( void  )
inlinestatic

Definition at line 54 of file setup.h.

void exotica::Setup::operator= ( Setup const &  )
privatedelete
void exotica::Setup::PrintSupportedClasses ( )
static

Definition at line 48 of file setup.cpp.

Member Data Documentation

pluginlib::ClassLoader<exotica::CollisionScene> exotica::Setup::collision_scenes_
private

Definition at line 135 of file setup.h.

pluginlib::ClassLoader<exotica::DynamicsSolver> exotica::Setup::dynamics_solvers_
private

Definition at line 136 of file setup.h.

pluginlib::ClassLoader<exotica::TaskMap> exotica::Setup::maps_
private

Definition at line 134 of file setup.h.

friend exotica::Setup::PlanningProblem
private

Definition at line 119 of file setup.h.

PlanningProblemFac exotica::Setup::problems_
private

Definition at line 137 of file setup.h.

SetupPtr exotica::Setup::singleton_initialiser_ = nullptr
staticprivate

Definition at line 121 of file setup.h.

pluginlib::ClassLoader<exotica::MotionSolver> exotica::Setup::solvers_
private

Definition at line 133 of file setup.h.


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


exotica_core
Author(s): Yiming Yang, Michael Camilleri
autogenerated on Sat Apr 10 2021 02:34:50