-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTSingleLogLine.h
More file actions
46 lines (37 loc) · 840 Bytes
/
TSingleLogLine.h
File metadata and controls
46 lines (37 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* TSingleLogLine.h
*
* Created on: Feb 28, 2019
* Author: mss
*/
#ifndef TSINGLELOGLINE_H_
#define TSINGLELOGLINE_H_
#include <string>
#include <iostream>
#include <iomanip>
namespace std {
class TSingleLogLine {
private:
string timeStamp;
string boardName;
int channel;
string parName;
float value;
public:
TSingleLogLine();
virtual ~TSingleLogLine();
// Setters and getters
const string& GetBoardName() const;
void SetBoardName(const string& boardName);
int GetChannel() const;
void SetChannel(int channel);
const string& GetTimeStamp() const;
void SetTimeStamp(const string& timeStamp);
const string& GetParName() const;
void SetParName(const string& parName);
float GetValue() const;
void SetValue(float value);
void Print(ostream &out);
};
} /* namespace std */
#endif /* TSINGLELOGLINE_H_ */