w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclStats.hpp
Go to the documentation of this file.
1// $Id: RtclStats.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2011-2019 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2019-06-07 1160 1.1 Rename Collect->Exec, not longer const
8// 2013-03-06 495 1.0.1 Rename Exec->Collect
9// 2011-02-26 364 1.0 Initial version
10// 2011-02-20 363 0.1 fFirst draft
11// ---------------------------------------------------------------------------
12
13
18#ifndef included_Retro_RtclStats
19#define included_Retro_RtclStats 1
20
21#include <string>
22
23#include "RtclArgs.hpp"
24#include "librtools/Rstats.hpp"
25
26namespace Retro {
27
28 class RtclStats {
29 public:
30 struct Context {
31 std::string opt;
32 std::string varname;
33 std::string format;
34 int width;
35 int prec;
36
38 : opt(), varname(), format(), width(0), prec(0)
39 {}
40 };
41
42 static bool GetArgs(RtclArgs& args, Context& cntx);
43 static bool Exec(RtclArgs& args, const Context& cntx, Rstats& stats);
44 };
45
46} // end namespace Retro
47
48//#include "RtclStats.ipp"
49
50#endif
FIXME_docs.
Definition: Rstats.hpp:28
FIXME_docs.
Definition: RtclArgs.hpp:41
FIXME_docs.
Definition: RtclStats.hpp:28
static bool Exec(RtclArgs &args, const Context &cntx, Rstats &stats)
FIXME_docs.
Definition: RtclStats.cpp:75
static bool GetArgs(RtclArgs &args, Context &cntx)
FIXME_docs.
Definition: RtclStats.cpp:37
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47