10#include <ChimeraTK/ApplicationCore/ApplicationCore.h>
11#include <ChimeraTK/ApplicationCore/EnableXMLGenerator.h>
12#include <ChimeraTK/ApplicationCore/ModuleGroup.h>
13#include <ChimeraTK/ApplicationCore/StatusMonitor.h>
19 using ctk::ApplicationModule::ApplicationModule;
61 using ctk::ModuleGroup::ModuleGroup;
70 "/TemperatureMonitor/temperatureStatus",
"/TemperatureMonitor",
"monitor for the simulated temperature",
73 } simulationGroup{
this,
"Simulation",
""};
void shutdown() override
This will remove the global pointer to the instance and allows creating another instance afterwards.
void setCurrentVersionNumber(VersionNumber versionNumber) override
Set the current version number.
Generic module to read an XML config file and provide the defined values as constant variables.
bool write(ChimeraTK::VersionNumber versionNumber)=delete
[Snippet: Class Definition Start]
ctk::RangeMonitor< double > temperatureMonitor
SimulationModule simulation
InvalidityTracer application module.
const std::unordered_set< std::string > TAGS
Convenience type definition which can optionally be used as a shortcut for the type which defines a l...
Module for status monitoring depending on range of threshold values.
Convenience class for output scalar accessors (always UpdateMode::push)
Example to simulate the working and usage of StatusMonitor.
ctk::ScalarOutput< double > temperature
The value to be monitored.
void mainLoop() override
To be implemented by the user: function called in a separate thread executing the main loop of the mo...