Skip to content
Snippets Groups Projects
Commit 700275c7 authored by Nadeem Shehzad's avatar Nadeem Shehzad
Browse files

status flag initialized in prepare.

parent d5a549c6
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,10 @@ namespace ChimeraTK {
StatusMonitorImpl(StatusMonitorImpl&&) = default;
~StatusMonitorImpl() override {}
void prepare() override {}
void prepare() override {
StatusMonitorImpl<T>::status = OK;
StatusMonitorImpl<T>::status.write();
}
/**Input value that should be monitored. It is moved one level up, so it's parallel to this monitor object.*/
struct OneUp : public VariableGroup {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment