Belle II Software development
Daemon.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#ifndef _Daemon_hh
9#define _Daemon_hh
10
11namespace Belle2 {
17 class Daemon {
18
19 public:
20 static bool start(const char* title,
21 int argc, char** argv,
22 int nargc, const char* msg);
23
24 static bool restart();
25
26 private:
27 static int g_argc;
28 static char** g_argv;
29
30 };
31
33};
34
35#endif
Abstract base class for different kinds of events.