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

The ActivationFactory class is a ConstructionFactory of Activation methods for RuleBlocks. More...

#include <ActivationFactory.h>

Inheritance diagram for fl::ActivationFactory:
Collaboration diagram for fl::ActivationFactory:

Public Member Functions

 ActivationFactory ()
 
virtual ~ActivationFactory () FL_IOVERRIDE
 
- Public Member Functions inherited from fl::ConstructionFactory< Activation *>
 ConstructionFactory (const std::string &name)
 
virtual ~ConstructionFactory ()
 
virtual std::string name () const
 Returns the name of the factory. More...
 
virtual void registerConstructor (const std::string &key, Constructor constructor)
 Registers the constructor in the factory. More...
 
virtual void deregisterConstructor (const std::string &key)
 Deregisters from the factory the constructor associated to the given key. More...
 
virtual bool hasConstructor (const std::string &key) const
 Checks whether the factory has a constructor registered by the given key. More...
 
virtual Constructor getConstructor (const std::string &key) const
 Gets the constructor registered by the given key. More...
 
virtual ActivationconstructObject (const std::string &key) const
 Creates an object by executing the constructor associated to the given key. More...
 
virtual std::vector< std::string > available () const
 Returns a vector of keys for the constructors available. More...
 
virtual std::map< std::string, Constructor > & constructors ()
 Gets the map of registered keys and constructors. More...
 
virtual const std::map< std::string, Constructor > & constructors () const
 Gets an immutable map of registered keys and constructors. More...
 

Additional Inherited Members

- Public Types inherited from fl::ConstructionFactory< Activation *>
typedef Activation *(* Constructor) ()
 The Constructor type definition refers to a zero-parameter method which returns an instance of T. More...
 

Detailed Description

The ActivationFactory class is a ConstructionFactory of Activation methods for RuleBlocks.

Author
Juan Rada-Vilela, Ph.D.
See also
Activation
RuleBlock
ConstructionFactory
FactoryManager
Since
6.0

Definition at line 38 of file ActivationFactory.h.

Constructor & Destructor Documentation

◆ ActivationFactory()

fl::ActivationFactory::ActivationFactory ( )

◆ ~ActivationFactory()

virtual fl::ActivationFactory::~ActivationFactory ( )
virtual

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