|
ChimeraTK-ApplicationCore
04.01.00
|
Go to the documentation of this file.
10 #include <ChimeraTK/ApplicationCore/ApplicationCore.h>
11 #include <ChimeraTK/ApplicationCore/EnableXMLGenerator.h>
12 #include <ChimeraTK/ApplicationCore/ModuleGroup.h>
13 #include <ChimeraTK/ApplicationCore/StatusMonitor.h>
79 "/TemperatureMonitor/temperatureStatus",
"/TemperatureMonitor",
"monitor for the simulated temperature",
82 } simulationGroup{
this,
"Simulation",
""};
Generic module to read an XML config file and provide the defined values as constant variables.
Example to simulate the working and usage of StatusMonitor.
void shutdown() override
This will remove the global pointer to the instance and allows creating another instance afterwards.
void dump(const std::string &prefix="", std::ostream &stream=std::cout) const
Print the full hierarchy to given stream.
[Snippet: Class Definition Start]
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...
ModuleGroup()=default
Default constructor to allow late initialisation of module groups.
void mainLoop()
To be implemented by the user: function called in a separate thread executing the main loop of the mo...
void setCurrentVersionNumber(VersionNumber versionNumber) override
Set the current version number.
ctk::RangeMonitor< double > temperatureMonitor
ctk::ScalarOutput< double > temperature
The value to be monitored.
bool write(ChimeraTK::VersionNumber versionNumber)=delete
SimulationModule simulation
ApplicationModule()=default
Default constructor: Allows late initialisation of modules (e.g.
InvalidityTracer application module.