te::st::STDataLoaderFromDSFactory Class Reference

This is the concrete factory for a STDataSourceLoaderFromDS. More...

#include <STDataLoaderFromDSFactory.h>

Inheritance diagram for te::st::STDataLoaderFromDSFactory:
STDataLoaderImplFactory

Public Member Functions

const std::string & getType () const
 It returns the type of the factory. More...
 
 ~STDataLoaderFromDSFactory ()
 Destructor that automatically unregister the factory from the dictionary. More...
 

Static Public Member Functions

static void finalize ()
 It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the abstract factory CachedSTDataLoader. More...
 
static void initialize ()
 It initializes the factory: the singleton instance will be registered in the abstract factory CachedSTDataLoader. More...
 

Protected Member Functions

STDataLoaderImplbuild ()
 It returns the global object DataSourceLoader. More...
 
 STDataLoaderFromDSFactory ()
 Constructor. More...
 

Static Private Attributes

static STDataLoaderFromDSFactorysm_factory
 A pointer to the global STDataLoaderFromDSFactory factory. More...
 

Detailed Description

This is the concrete factory for a STDataSourceLoaderFromDS.

See also
STDataSourceLoaderFromDS

Definition at line 43 of file STDataLoaderFromDSFactory.h.

Constructor & Destructor Documentation

te::st::STDataLoaderFromDSFactory::~STDataLoaderFromDSFactory ( )
default

Destructor that automatically unregister the factory from the dictionary.

te::st::STDataLoaderFromDSFactory::STDataLoaderFromDSFactory ( )
protected

Constructor.

Definition at line 57 of file STDataLoaderFromDSFactory.cpp.

Referenced by initialize().

Member Function Documentation

te::st::STDataLoaderImpl * te::st::STDataLoaderFromDSFactory::build ( )
protected

It returns the global object DataSourceLoader.

Definition at line 52 of file STDataLoaderFromDSFactory.cpp.

void te::st::STDataLoaderFromDSFactory::finalize ( )
static

It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the abstract factory CachedSTDataLoader.

Definition at line 41 of file STDataLoaderFromDSFactory.cpp.

References sm_factory.

Referenced by te::st::Module::finalize(), and initialize().

const std::string & te::st::STDataLoaderFromDSFactory::getType ( ) const

It returns the type of the factory.

Definition at line 47 of file STDataLoaderFromDSFactory.cpp.

References te::st::Globals::sm_loaderFromDSIdentifier.

void te::st::STDataLoaderFromDSFactory::initialize ( )
static

It initializes the factory: the singleton instance will be registered in the abstract factory CachedSTDataLoader.

Definition at line 35 of file STDataLoaderFromDSFactory.cpp.

References finalize(), sm_factory, and STDataLoaderFromDSFactory().

Referenced by te::st::Module::initialize().

Member Data Documentation

te::st::STDataLoaderFromDSFactory * te::st::STDataLoaderFromDSFactory::sm_factory
staticprivate

A pointer to the global STDataLoaderFromDSFactory factory.

Definition at line 69 of file STDataLoaderFromDSFactory.h.

Referenced by finalize(), and initialize().


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