summaryrefslogtreecommitdiff
path: root/fuzzylite/fl/factory/ActivationFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'fuzzylite/fl/factory/ActivationFactory.h')
-rw-r--r--fuzzylite/fl/factory/ActivationFactory.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/fuzzylite/fl/factory/ActivationFactory.h b/fuzzylite/fl/factory/ActivationFactory.h
new file mode 100644
index 0000000..6ebfc73
--- /dev/null
+++ b/fuzzylite/fl/factory/ActivationFactory.h
@@ -0,0 +1,46 @@
+/*
+ fuzzylite (R), a fuzzy logic control library in C++.
+ Copyright (C) 2010-2017 FuzzyLite Limited. All rights reserved.
+ Author: Juan Rada-Vilela, Ph.D. <jcrada@fuzzylite.com>
+
+ This file is part of fuzzylite.
+
+ fuzzylite is free software: you can redistribute it and/or modify it under
+ the terms of the FuzzyLite License included with the software.
+
+ You should have received a copy of the FuzzyLite License along with
+ fuzzylite. If not, see <http://www.fuzzylite.com/license/>.
+
+ fuzzylite is a registered trademark of FuzzyLite Limited.
+ */
+
+#ifndef FL_ACTIVATIONFACTORY_H
+#define FL_ACTIVATIONFACTORY_H
+
+#include "fl/fuzzylite.h"
+
+#include "fl/factory/ConstructionFactory.h"
+#include "fl/activation/Activation.h"
+
+namespace fl {
+
+ /**
+ The ActivationFactory class is a ConstructionFactory of Activation
+ methods for RuleBlock%s.
+
+ @author Juan Rada-Vilela, Ph.D.
+ @see Activation
+ @see RuleBlock
+ @see ConstructionFactory
+ @see FactoryManager
+ @since 6.0
+ */
+ class FL_API ActivationFactory : public ConstructionFactory<Activation*> {
+ public:
+ ActivationFactory();
+ virtual ~ActivationFactory() FL_IOVERRIDE;
+ FL_DEFAULT_COPY_AND_MOVE(ActivationFactory)
+ };
+}
+
+#endif /* FL_ACTIVATIONFACTORY_H */