OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Limit.h
Go to the documentation of this file.
1/*
2 * File: Limit.h
3 * Package: rbeCore
4 *
5 * Created on: November 12, 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
15// RBE header
16#include <rbeCore/dataTypes.h>
17
18namespace rbeCalc { class AbstractCalculationItem; }
19
20namespace rbeCore {
21
25 public:
27 virtual ~Limit();
28
29 // ##########################################################################
30
31 // Getter
32
33 AxisLimit axis(void) const { return m_axis; }
34
35 coordinate_t value(void) const;
36
37 rbeCalc::AbstractCalculationItem * valueItem(void) { return m_value; }
38
39 private:
40
41 AxisLimit m_axis;
43
44 Limit() = delete;
45 Limit(Limit&) = delete;
46 Limit& operator = (Limit&) = delete;
47 };
48
49}
bsoncxx::types::value value
Definition DocumentManager.h:16
Definition AbstractCalculationItem.h:20
A limit is used for the engine to forbid values exceeding a defined range of values Limits can be add...
Definition Limit.h:24
rbeCalc::AbstractCalculationItem * valueItem(void)
Definition Limit.h:37
AxisLimit axis(void) const
Definition Limit.h:33
float coordinate_t
Definition dataTypes.h:26
#define RBE_API_EXPORT
Definition dataTypes.h:18
Definition AbstractCalculationItem.h:18
Definition ParserAPI.h:21
AxisLimit
Definition dataTypes.h:61