Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
LayoutsFactory Class Reference

#include <LayoutsFactory.hh>

Public Types

typedef std::auto_ptr< Layout >(* create_function_t) (const params_t &params)
 
typedef FactoryParams params_t
 

Public Member Functions

std::auto_ptr< Layoutcreate (const std::string &class_name, const params_t &params)
 
bool registed (const std::string &class_name) const
 
void registerCreator (const std::string &class_name, create_function_t create_function)
 

Static Public Member Functions

static LayoutsFactorygetInstance ()
 

Private Types

typedef creators_t::const_iterator const_iterator
 
typedef std::map< std::string, create_function_tcreators_t
 

Private Member Functions

 LayoutsFactory ()
 

Private Attributes

creators_t creators_
 

Detailed Description

Definition at line 12 of file LayoutsFactory.hh.

Member Typedef Documentation

◆ const_iterator

typedef creators_t::const_iterator LayoutsFactory::const_iterator
private

Definition at line 27 of file LayoutsFactory.hh.

◆ create_function_t

typedef std::auto_ptr<Layout>(* LayoutsFactory::create_function_t) (const params_t &params)

Definition at line 16 of file LayoutsFactory.hh.

◆ creators_t

typedef std::map<std::string, create_function_t> LayoutsFactory::creators_t
private

Definition at line 24 of file LayoutsFactory.hh.

◆ params_t

Definition at line 15 of file LayoutsFactory.hh.

Constructor & Destructor Documentation

◆ LayoutsFactory()

LayoutsFactory::LayoutsFactory ( )
inlineprivate

Definition at line 24 of file LayoutsFactory.hh.

Member Function Documentation

◆ create()

std::auto_ptr<Layout> LayoutsFactory::create ( const std::string &  class_name,
const params_t params 
)

◆ getInstance()

static LayoutsFactory& LayoutsFactory::getInstance ( )
static

◆ registed()

bool LayoutsFactory::registed ( const std::string &  class_name) const

◆ registerCreator()

void LayoutsFactory::registerCreator ( const std::string &  class_name,
create_function_t  create_function 
)

Member Data Documentation

◆ creators_

creators_t LayoutsFactory::creators_
private

Definition at line 29 of file LayoutsFactory.hh.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Sun Jun 18 2023 02:43:56