aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result/scalarresult.h
diff options
context:
space:
mode:
Diffstat (limited to 'result/scalarresult.h')
-rw-r--r--result/scalarresult.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/result/scalarresult.h b/result/scalarresult.h
index 4d64a90..8a0fa11 100644
--- a/result/scalarresult.h
+++ b/result/scalarresult.h
@@ -25,16 +25,30 @@
#include "result.h"
#include <Qt>
-
+/**
+ * @brief The ScalarResult class is used to store scalar result by many ExecutionNode.
+ */
class ScalarResult : public Result
{
public:
+ /**
+ * @brief ScalarResult
+ */
ScalarResult();
-
+ /**
+ * @brief getResult
+ * @return
+ */
virtual QVariant getResult(Result::RESULT_TYPE);
-
+ /**
+ * @brief setValue
+ * @param i
+ */
void setValue(qreal i);
-
+ /**
+ * @brief toString
+ * @return
+ */
virtual QString toString();
private: