Imt.Base C++ API V4.1.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RuntimePriority.h
Go to the documentation of this file.
1// (c) IMT - Information Management Technology AG, CH-9470 Buchs, www.imt.ch.
2//
3// ActiveParts (AP) and the corresponding Data Flow Framework (DFF) is invented and designed by Jakob Daescher.
4// ANY USE OF THIS CODE CONSTITUTES ACCEPTANCE OF THE TERMS OF THE COPYRIGHT NOTICE.
5// ===================================================================================================
6// COPYRIGHT NOTICE
7// ===================================================================================================
8// Copyright (C) 2005-2075, IMT Information Management Technology AG, 9470 Buchs, Switzerland
9// All rights reserved.
10// This code is proprietary software of IMT Information Management Technology AG (hereinafter: "IMT").
11// Proprietary software is computer software licensed under exclusive legal right of IMT.
12//
13// The licensee is given the irrevocable, perpetual, worldwide, non-exclusive right and license to use,
14// execute and reproduce the software in binary form within the licensed products.
15//
16// Redistribution and use in source forms, without modification, are permitted provided that the following conditions are met:
17// (1) Copying of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
18// (2) Copying of source code is only allowed for regulatory documentation and archiving purposes
19// (3) Redistributions in binary form must reproduce the above copyright notice,
20// this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
21//
22// IMT provide no reassurances that the source code provided does not infringe
23// any patent, copyright, or any other intellectual property rights of third parties.
24// IMT disclaim any liability to any recipient for claims brought against
25// recipient by any third party for infringement of that parties intellectual property rights.
26//
27// THIS SOFTWARE IS PROVIDED BY IMT AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
28// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
29// IN NO EVENT SHALL IMT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
30// OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCURE-MENT OF SUBSTITUTE GOODS OR SERVICES;
31// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
32// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
33// IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34// ===================================================================================================
35
36#ifndef IMT_BASE_DFF_RUNTIME_RUNTIMEPRIORITY_H
37#define IMT_BASE_DFF_RUNTIME_RUNTIMEPRIORITY_H
38
41
42namespace imt {
43namespace base {
44namespace dff {
45namespace runtime {
46
53
54 // AXIVION Construct CodingStyle-Naming.Enumerator: Allowed naming, compatibility purposes
55
56 //fuzzy
57 Prio_lowest = 1U,
58 Prio_low = 4U,
59 Prio_mid_low = 8U,
60 Prio_mid = 16U,
61 Prio_mid_high = 24U,
62 Prio_high = 28U,
63 Prio_highest = 32U,
64
65 //numbered
66 Prio_1 = 1U,
67 Prio_2 = 2U,
68 Prio_3 = 3U,
69 Prio_4 = 4U,
70 Prio_5 = 5U,
71 Prio_6 = 6U,
72 Prio_7 = 7U,
73 Prio_8 = 8U,
74 Prio_9 = 9U,
75 Prio_10 = 10U,
76 Prio_11 = 11U,
77 Prio_12 = 12U,
78 Prio_13 = 13U,
79 Prio_14 = 14U,
80 Prio_15 = 15U,
81 Prio_16 = 16U,
82 Prio_17 = 17U,
83 Prio_18 = 18U,
84 Prio_19 = 19U,
85 Prio_20 = 20U,
86 Prio_21 = 21U,
87 Prio_22 = 22U,
88 Prio_23 = 23U,
89 Prio_24 = 24U,
90 Prio_25 = 25U,
91 Prio_26 = 26U,
92 Prio_27 = 27U,
93 Prio_28 = 28U,
94 Prio_29 = 29U,
95 Prio_30 = 30U,
96 Prio_31 = 31U,
97 Prio_32 = 32U
98};
99
104
105public:
106
110 // AXIVION Next Codeline AutosarC++19_03-M2.10.1: Allowed naming, compatibility purposes / Allowed usage
111 static constexpr uint_fast8_t MIN {1U};
112
116 // AXIVION Next Codeline AutosarC++19_03-M2.10.1: Allowed naming, compatibility purposes / Allowed usage
117 static constexpr uint_fast8_t MAX {32U};
118
122 static constexpr uint_fast8_t COUNT {32U};
123};
124
125} // namespace runtime
126} // namespace dff
127} // namespace base
128} // namespace imt
129
130#endif // IMT_BASE_DFF_RUNTIME_RUNTIMEPRIORITY_H
Base class for a static class that disables construction, copy, assignment and move of instances.
Definition StaticClass.h:48
static constexpr uint_fast8_t MAX
Highest priority.
static constexpr uint_fast8_t COUNT
Number of priorities.
static constexpr uint_fast8_t MIN
Lowest priority.
RuntimePriority
Runtime executable priorities (=software priorities) The priorities start at 1 with lowest priority,...
This is a application specific file which is used to configure Imt.Base.Core.Math.
uint8_t uint_fast8_t
Definition stdint.h:82