ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::params::ParamsFactoryInstance Class Referencefinal

Utility class to simplify factory access. More...

#include <afactory.h>

Collaboration diagram for adore::params::ParamsFactoryInstance:
Collaboration graph

Static Public Member Functions

static adore::params::AFactoryget ()
 
static void init (adore::params::AFactory *paramsFactory)
 Initialize private members of AllFactory. More...
 

Private Member Functions

 ParamsFactoryInstance ()=default
 
 ~ParamsFactoryInstance ()=default
 
 ParamsFactoryInstance (const ParamsFactoryInstance &)=delete
 
ParamsFactoryInstanceoperator= (const ParamsFactoryInstance &)=delete
 
 ParamsFactoryInstance (ParamsFactoryInstance &&)=delete
 
ParamsFactoryInstanceoperator= (ParamsFactoryInstance &&)=delete
 

Static Private Member Functions

static ParamsFactoryInstancegetInstance ()
 Function to access singleton instance of the AllFactory using magic static. More...
 

Private Attributes

adore::params::AFactoryparamsFactory_ = 0
 

Detailed Description

Utility class to simplify factory access.

init() function should be used once per process to set factories

Constructor & Destructor Documentation

◆ ParamsFactoryInstance() [1/3]

adore::params::ParamsFactoryInstance::ParamsFactoryInstance ( )
privatedefault

◆ ~ParamsFactoryInstance()

adore::params::ParamsFactoryInstance::~ParamsFactoryInstance ( )
privatedefault

◆ ParamsFactoryInstance() [2/3]

adore::params::ParamsFactoryInstance::ParamsFactoryInstance ( const ParamsFactoryInstance )
privatedelete

◆ ParamsFactoryInstance() [3/3]

adore::params::ParamsFactoryInstance::ParamsFactoryInstance ( ParamsFactoryInstance &&  )
privatedelete

Member Function Documentation

◆ get()

static adore::params::AFactory* adore::params::ParamsFactoryInstance::get ( )
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getInstance()

static ParamsFactoryInstance& adore::params::ParamsFactoryInstance::getInstance ( )
inlinestaticprivate

Function to access singleton instance of the AllFactory using magic static.

Returns
AllFactory& reference on the threadsafe singleton instance
Here is the caller graph for this function:

◆ init()

static void adore::params::ParamsFactoryInstance::init ( adore::params::AFactory paramsFactory)
inlinestatic

Initialize private members of AllFactory.

This function should ideally run only once per process before the singleton instance is used Makes no guarantees on thread-safety

  @param paramsFactory
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

ParamsFactoryInstance& adore::params::ParamsFactoryInstance::operator= ( const ParamsFactoryInstance )
privatedelete

◆ operator=() [2/2]

ParamsFactoryInstance& adore::params::ParamsFactoryInstance::operator= ( ParamsFactoryInstance &&  )
privatedelete

Member Data Documentation

◆ paramsFactory_

adore::params::AFactory* adore::params::ParamsFactoryInstance::paramsFactory_ = 0
private

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