Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
PJ::TransformFactory Class Reference

---— The factory to create instances of a SeriesTransform ----------— More...

#include <transform_function.h>

Inheritance diagram for PJ::TransformFactory:
Inheritance graph
[legend]

Public Member Functions

 TransformFactory ()
 

Static Public Member Functions

static TransformFunction::Ptr create (const std::string &name)
 
static const std::set< std::string > & registeredTransforms ()
 
template<typename T >
static void registerTransform ()
 

Private Member Functions

TransformFactoryoperator= (const TransformFactory &)=delete
 
 TransformFactory (const TransformFactory &)=delete
 

Static Private Member Functions

static TransformFactoryinstance ()
 

Private Attributes

std::map< std::string, std::function< TransformFunction::Ptr()> > creators_
 
std::map< std::string, QDomDocument > default_params_
 
std::set< std::string > names_
 

Detailed Description

---— The factory to create instances of a SeriesTransform ----------—

Definition at line 120 of file transform_function.h.

Constructor & Destructor Documentation

◆ TransformFactory() [1/2]

PJ::TransformFactory::TransformFactory ( )
inline

Definition at line 123 of file transform_function.h.

◆ TransformFactory() [2/2]

PJ::TransformFactory::TransformFactory ( const TransformFactory )
privatedelete

Member Function Documentation

◆ create()

TransformFunction::Ptr PJ::TransformFactory::create ( const std::string &  name)
static

Definition at line 79 of file transform_function.cpp.

◆ instance()

TransformFactory * PJ::TransformFactory::instance ( )
staticprivate

Definition at line 89 of file transform_function.cpp.

◆ operator=()

TransformFactory& PJ::TransformFactory::operator= ( const TransformFactory )
privatedelete

◆ registeredTransforms()

const std::set< std::string > & PJ::TransformFactory::registeredTransforms ( )
static

Definition at line 108 of file transform_function.cpp.

◆ registerTransform()

template<typename T >
static void PJ::TransformFactory::registerTransform ( )
inlinestatic

Definition at line 141 of file transform_function.h.

Member Data Documentation

◆ creators_

std::map<std::string, std::function<TransformFunction::Ptr()> > PJ::TransformFactory::creators_
private

Definition at line 131 of file transform_function.h.

◆ default_params_

std::map<std::string, QDomDocument> PJ::TransformFactory::default_params_
private

Definition at line 132 of file transform_function.h.

◆ names_

std::set<std::string> PJ::TransformFactory::names_
private

Definition at line 133 of file transform_function.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:52