ChimeraTK-ApplicationCore
04.06.00
Loading...
Searching...
No Matches
SetpointRamp.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2
// SPDX-License-Identifier: LGPL-3.0-or-later
3
#pragma once
4
5
/*
6
* This example is explained as part of the \ref conceptualOverview. Please refere there for step-by-step explanations.
7
* Reading the full example might not be a good starting point for learning ApplicationCore as it can be overwelming
8
* and lacks important background information.
9
*
10
* Please ignore all comments of the format "//! [some name]", those are used for Doxygen to include code snippets in
11
* the documentation pages.
12
*/
13
14
#include <ChimeraTK/ApplicationCore/ApplicationCore.h>
15
16
namespace
ctk
=
ChimeraTK
;
17
18
class
SetpointRamp
:
public
ctk::ApplicationModule
{
19
using
ctk::ApplicationModule::ApplicationModule;
20
21
ctk::ScalarPollInput<float>
operatorSetpoint{
this
,
"operatorSetpoint"
,
"degC"
,
"..."
};
22
23
struct
ControllerInterface :
ctk::VariableGroup
{
24
using
ctk::VariableGroup::VariableGroup;
25
ctk::ScalarOutput<float>
actualSetpoint{
this
,
"temperatureSetpoint"
,
"degC"
,
"..."
};
26
};
27
28
ControllerInterface ctrl{
this
,
"/ControlUnit/Controller"
,
""
};
29
30
ctk::ScalarPushInput<uint64_t>
trigger{
this
,
"/Timer/tick"
,
""
,
"..."
};
31
32
void
mainLoop()
override
;
33
};
ChimeraTK::ApplicationModule
Definition
ApplicationModule.h:24
ChimeraTK::ScalarPushInput
Convenience class for input scalar accessors with UpdateMode::push.
Definition
ScalarAccessor.h:70
ChimeraTK::VariableGroup
Definition
VariableGroup.h:22
SetpointRamp
Definition
SetpointRamp.h:18
ChimeraTK
InvalidityTracer application module.
Definition
spec_dataValidityPropagation.dox:2
ChimeraTK::ScalarOutput
Convenience class for output scalar accessors (always UpdateMode::push)
Definition
ScalarAccessor.h:93
ChimeraTK::ScalarPollInput
Convenience class for input scalar accessors with UpdateMode::poll.
Definition
ScalarAccessor.h:81
sources
ChimeraTK-ApplicationCore
example
include
SetpointRamp.h
Generated by
1.9.8