aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/expression/RBAStateValueMaker.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/expression/RBAStateValueMaker.hpp')
-rw-r--r--src/core/expression/RBAStateValueMaker.hpp49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/core/expression/RBAStateValueMaker.hpp b/src/core/expression/RBAStateValueMaker.hpp
new file mode 100644
index 0000000..8b01e09
--- /dev/null
+++ b/src/core/expression/RBAStateValueMaker.hpp
@@ -0,0 +1,49 @@
+/**
+ * Copyright (c) 2019 DENSO CORPORATION.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/// @file RBAStateValueMaker.cpp
+/// @brief StateValue object generator class header
+
+#ifndef RBASTATEVALUEMAKER_HPP
+#define RBASTATEVALUEMAKER_HPP
+
+#include "RBAOperatorMaker.hpp"
+
+namespace rba
+{
+
+/// @brief StateValue object generator class
+class RBAStateValueMaker : public RBAOperatorMaker
+{
+public:
+ RBAStateValueMaker();
+ RBAStateValueMaker(const RBAStateValueMaker&)=delete;
+ RBAStateValueMaker(const RBAStateValueMaker&&)=delete;
+ RBAStateValueMaker& operator=(const RBAStateValueMaker&)=delete;
+ RBAStateValueMaker& operator=(const RBAStateValueMaker&&)=delete;
+ virtual ~RBAStateValueMaker()=default;
+
+protected:
+ /// @brief generate an empty instance
+ /// @details generate an empty instance of unique_ptr in derived class
+ /// @return unique_ptr for instance
+ std::unique_ptr<RBAModelElement> createInstance(const std::string& name="") override;
+
+};
+
+}
+
+#endif