otsdaq
v1_01_03
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
src
otsdaq-core
ConfigurationInterface
TimeFormatter.h
1
#ifndef ots_TimeFormatter_h
2
#define ots_TimeFormatter_h
3
4
#include <string>
5
#include <sys/time.h>
6
7
namespace
ots
8
{
9
10
class
TimeFormatter
11
{
12
public
:
13
14
TimeFormatter
(std::string source);
15
~
TimeFormatter
(
void
);
16
17
//Static memebers
18
static
std::string getTime (
void
);
19
static
std::string getmSecTime(
void
);
20
21
void
stopTimer (
void
);
22
struct
tm* getITime (
void
);
23
struct
timeval getImSecTime(void);
24
25
26
private
:
27
28
struct
timeval startTime_;
29
struct
timeval endTime_;
30
std::string origin_;
31
bool
verbose_;
32
};
33
34
}
35
#endif
ots::TimeFormatter
Definition:
TimeFormatter.h:10
Generated on Mon Oct 2 2017 18:09:11 for otsdaq by
1.8.5