OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
VariableValue.h
Go to the documentation of this file.
1/*
2 * File: VariableValue.h
3 * Package: rbeCalc
4 *
5 * Created on: September 07, 2021
6 * Author: Alexander Kuester
7 * Copyright (c) 2021 Alexander Kuester
8 * This file is part of the RubberbandEngine package.
9 * This file is subject to the terms and conditions defined in
10 * file 'LICENSE', which is part of this source code package.
11 */
12
13#pragma once
14
16
17namespace rbeCalc {
18
20 public:
22 VariableValue(coordinate_t _v) : m_value(_v) {}
23 virtual ~VariableValue() {}
24
25 virtual coordinate_t value(void) const override { return m_value; }
26
27 void setValue(coordinate_t _v) { m_value = _v; }
28
29 protected:
31 };
32
33}
Definition AbstractCalculationItem.h:20
Definition VariableValue.h:19
void setValue(coordinate_t _v)
Definition VariableValue.h:27
virtual coordinate_t value(void) const override
Definition VariableValue.h:25
coordinate_t m_value
Definition VariableValue.h:30
virtual ~VariableValue()
Definition VariableValue.h:23
VariableValue(coordinate_t _v)
Definition VariableValue.h:22
VariableValue()
Definition VariableValue.h:21
float coordinate_t
Definition dataTypes.h:26
#define RBE_API_EXPORT
Definition dataTypes.h:18
Definition AbstractCalculationItem.h:18