CbmRoot
Loading...
Searching...
No Matches
ui_callbacks.h
Go to the documentation of this file.
1/* Copyright (C) 2023 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer] */
4
5#ifndef CBM_SERVICES_HISTSERV_LIB_UI_CALLBACKS_H
6#define CBM_SERVICES_HISTSERV_LIB_UI_CALLBACKS_H 1
7
8#include "TNamed.h"
9
11{
12
13 class UiCmdActor : public TNamed {
14 public:
15 UiCmdActor() : TNamed("UiCmdActor", "UiCmdActor") {};
16
17 void SetResetHistos(bool flag = true) { bHistoServerResetHistos = flag; }
18 void SetSaveHistos(bool flag = true) { bHistoServerSaveHistos = flag; }
19 void SetServerStop(bool flag = true) { bHistoServerStop = flag; }
20
24
25 private:
28 bool bHistoServerStop = false;
29
31 };
32} // namespace cbm::services::histserv
33#endif /* CBM_SERVICES_HISTSERV_LIB_UI_CALLBACKS_H */
void SetSaveHistos(bool flag=true)
void SetServerStop(bool flag=true)
void SetResetHistos(bool flag=true)