otsdaq
v2_05_02_indev
Return to top level
Main Page
Classes
Files
File List
TimeFormatter.h
1
#ifndef ots_TimeFormatter_h
2
#define ots_TimeFormatter_h
3
4
#include <sys/time.h>
5
#include <string>
6
7
namespace
ots
8
{
9
class
TimeFormatter
10
{
11
public
:
12
TimeFormatter
(std::string source);
13
~
TimeFormatter
(
void
);
14
15
// Static memebers
16
static
std::string getTime(
void
);
17
static
std::string getmSecTime(
void
);
18
19
void
stopTimer(
void
);
20
struct
tm* getITime(
void
);
21
struct
timeval getImSecTime(void);
22
23
private
:
24
struct
timeval startTime_;
25
struct
timeval endTime_;
26
std::string origin_;
27
bool
verbose_;
28
};
29
30
}
// namespace ots
31
#endif
ots::TimeFormatter
Definition:
TimeFormatter.h:9
otsdaq
otsdaq
ConfigurationInterface
TimeFormatter.h
Generated on Wed Apr 29 2020 18:41:48 for otsdaq by
1.8.5