fuzzylite  6.0
A Fuzzy Logic Control Library in C++
fl::FactoryManager Class Reference

The FactoryManager class is a central class grouping different factories of objects, together with a singleton instance to access each of the factories throughout the library. More...

#include <FactoryManager.h>

Collaboration diagram for fl::FactoryManager:

Public Member Functions

 FactoryManager ()
 
 FactoryManager (TNormFactory *tnorm, SNormFactory *snorm, ActivationFactory *activation, DefuzzifierFactory *defuzzifier, TermFactory *term, HedgeFactory *hedge, FunctionFactory *function)
 
 FactoryManager (const FactoryManager &other)
 
FactoryManageroperator= (const FactoryManager &other)
 
virtual ~FactoryManager ()
 
virtual void setTnorm (TNormFactory *tnorm)
 Sets the factory of TNorms. More...
 
virtual TNormFactorytnorm () const
 Gets the factory of TNorms. More...
 
virtual void setSnorm (SNormFactory *snorm)
 Sets the factory of SNorms. More...
 
virtual SNormFactorysnorm () const
 Gets the factory of SNorms. More...
 
virtual void setActivation (ActivationFactory *activation)
 Sets the factory of Activation methods. More...
 
virtual ActivationFactoryactivation () const
 Gets the factory of Activation methods. More...
 
virtual void setDefuzzifier (DefuzzifierFactory *defuzzifier)
 Sets the factory of Defuzzifiers. More...
 
virtual DefuzzifierFactorydefuzzifier () const
 Gets the factory of Defuzzifiers. More...
 
virtual void setTerm (TermFactory *term)
 Sets the factory of Terms. More...
 
virtual TermFactoryterm () const
 Gets the factory of Terms. More...
 
virtual void setHedge (HedgeFactory *hedge)
 Sets the factory of Hedges. More...
 
virtual HedgeFactoryhedge () const
 Gets the factory of Hedges. More...
 
virtual void setFunction (FunctionFactory *function)
 Sets the factory of Function Elements. More...
 
virtual FunctionFactoryfunction () const
 Gets the factory of Function Elements. More...
 

Static Public Member Functions

static FactoryManagerinstance ()
 Gets the static instance of the manager. More...
 

Detailed Description

The FactoryManager class is a central class grouping different factories of objects, together with a singleton instance to access each of the factories throughout the library.

Author
Juan Rada-Vilela, Ph.D.
See also
TermFactory
TNormFactory
SNormFactory
HedgeFactory
ActivationFactory
DefuzzifierFactory
FunctionFactory
Since
4.0

Definition at line 48 of file FactoryManager.h.

Constructor & Destructor Documentation

◆ FactoryManager() [1/3]

fl::FactoryManager::FactoryManager ( )

◆ FactoryManager() [2/3]

fl::FactoryManager::FactoryManager ( TNormFactory tnorm,
SNormFactory snorm,
ActivationFactory activation,
DefuzzifierFactory defuzzifier,
TermFactory term,
HedgeFactory hedge,
FunctionFactory function 
)
explicit

◆ FactoryManager() [3/3]

fl::FactoryManager::FactoryManager ( const FactoryManager other)
explicit

◆ ~FactoryManager()

virtual fl::FactoryManager::~FactoryManager ( )
virtual

Member Function Documentation

◆ activation()

virtual ActivationFactory* fl::FactoryManager::activation ( ) const
virtual

Gets the factory of Activation methods.

Returns
the factory of Activation methods

◆ defuzzifier()

virtual DefuzzifierFactory* fl::FactoryManager::defuzzifier ( ) const
virtual

Gets the factory of Defuzzifiers.

Returns
the factory of Defuzzifiers

◆ function()

virtual FunctionFactory* fl::FactoryManager::function ( ) const
virtual

Gets the factory of Function Elements.

Returns
the factory of Function Elements

◆ hedge()

virtual HedgeFactory* fl::FactoryManager::hedge ( ) const
virtual

Gets the factory of Hedges.

Returns
the factory of Hedges

◆ instance()

static FactoryManager* fl::FactoryManager::instance ( )
static

Gets the static instance of the manager.

Returns
the static instance of the manager

◆ operator=()

FactoryManager& fl::FactoryManager::operator= ( const FactoryManager other)

◆ setActivation()

virtual void fl::FactoryManager::setActivation ( ActivationFactory activation)
virtual

Sets the factory of Activation methods.

Parameters
activationis the factory of Activation methods

◆ setDefuzzifier()

virtual void fl::FactoryManager::setDefuzzifier ( DefuzzifierFactory defuzzifier)
virtual

Sets the factory of Defuzzifiers.

Parameters
defuzzifieris the factory of Defuzzifiers

◆ setFunction()

virtual void fl::FactoryManager::setFunction ( FunctionFactory function)
virtual

Sets the factory of Function Elements.

Parameters
functionis the factory of Function Elements

◆ setHedge()

virtual void fl::FactoryManager::setHedge ( HedgeFactory hedge)
virtual

Sets the factory of Hedges.

Parameters
hedgeis the factory of Hedges

◆ setSnorm()

virtual void fl::FactoryManager::setSnorm ( SNormFactory snorm)
virtual

Sets the factory of SNorms.

Parameters
snormis the factory of SNorms

◆ setTerm()

virtual void fl::FactoryManager::setTerm ( TermFactory term)
virtual

Sets the factory of Terms.

Parameters
termis the factory of Terms

◆ setTnorm()

virtual void fl::FactoryManager::setTnorm ( TNormFactory tnorm)
virtual

Sets the factory of TNorms.

Parameters
tnormis the factory of TNorms

◆ snorm()

virtual SNormFactory* fl::FactoryManager::snorm ( ) const
virtual

Gets the factory of SNorms.

Returns
the factory of SNorms

◆ term()

virtual TermFactory* fl::FactoryManager::term ( ) const
virtual

Gets the factory of Terms.

Returns
the factory of Terms

◆ tnorm()

virtual TNormFactory* fl::FactoryManager::tnorm ( ) const
virtual

Gets the factory of TNorms.

Returns
the factory of TNorms

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