#include <cstdio>
#include <string>
#include <iostream>
#include <vector>
#include <variant>
#include <algorithm>
#include <ctime>
Go to the source code of this file.
|
struct | tsDataPointer |
| Data pointer structure used to track datapoints, with datapoint name and pointer to data. More...
|
|
class | tsLogger |
| The core class of the library is the tsLogger class. Multiple simultaneous class objects are supported. More...
|
|
|
typedef enum _tsLogFileType | tsLogFileType |
| The file-types supported by tsLogger. [BINARY support coming in the future].
|
|
using | smartDataPtr = std::variant< int *, unsigned int *, long *, unsigned long *, long long *, unsigned long long *, float *, double *, char *, unsigned char *, bool * > |
| This varriant datatype governs the supported data points that can be tracked.
|
|
◆ _TSLOGGER_H
◆ defaultDataName
#define defaultDataName "datapoint" |
◆ defaultFileName
#define defaultFileName "tsDataLog" |
◆ defaultFilePath
#define defaultFilePath "C:\\data" |
◆ defDataBufSize
#define defDataBufSize 100 |
◆ defHeaderBufSize
#define defHeaderBufSize 1000 |
◆ defLogBufferSize
#define defLogBufferSize 1000 |
◆ fileNameLength
#define fileNameLength 400 |
◆ smartDataPtr
using smartDataPtr = std::variant <int*, unsigned int*, long*, unsigned long*, long long*, unsigned long long*, float*, double*, char*, unsigned char*, bool* > |
This varriant datatype governs the supported data points that can be tracked.
Definition at line 32 of file tsLogger.h.
◆ tsLogFileType
The file-types supported by tsLogger. [BINARY support coming in the future].
◆ _tsLogFileType
The file-types supported by tsLogger. [BINARY support coming in the future].
Enumerator |
---|
_TSLOGGER_CSV | |
_TSLOGGER_BINARY | |
Definition at line 23 of file tsLogger.h.