summaryrefslogtreecommitdiff
path: root/fuzzylite/fl/factory/HedgeFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'fuzzylite/fl/factory/HedgeFactory.h')
-rw-r--r--fuzzylite/fl/factory/HedgeFactory.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/fuzzylite/fl/factory/HedgeFactory.h b/fuzzylite/fl/factory/HedgeFactory.h
new file mode 100644
index 0000000..e4733b2
--- /dev/null
+++ b/fuzzylite/fl/factory/HedgeFactory.h
@@ -0,0 +1,44 @@
+/*
+ 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_HEDGEFACTORY_H
+#define FL_HEDGEFACTORY_H
+
+#include "fl/factory/ConstructionFactory.h"
+
+#include "fl/hedge/Hedge.h"
+
+namespace fl {
+
+ /**
+ The HedgeFactory class is a ConstructionFactory of Hedge%s.
+
+ @author Juan Rada-Vilela, Ph.D.
+ @see Hedge
+ @see ConstructionFactory
+ @see FactoryManager
+ @since 4.0
+ */
+ class FL_API HedgeFactory : public ConstructionFactory<Hedge*> {
+ public:
+ HedgeFactory();
+ virtual ~HedgeFactory() FL_IOVERRIDE;
+ FL_DEFAULT_COPY_AND_MOVE(HedgeFactory)
+ };
+}
+
+#endif /* FL_HEDGEFACTORY_H */
+