#include <Recorder.h>
Public Types | |
enum | E_FMT { FMT_JSON, FMT_CSV } |
Static Public Member Functions | |
static int | Store (const std::string &filename, const enum E_FMT format, const std::vector< float > &data, const struct timeb ×tamp, float fDivX, int coupling, int trigger_type) |
Store single data vector in file. |
enum Recorder::E_FMT |
int Recorder::Store | ( | const std::string & | filename, | |
const enum E_FMT | format, | |||
const std::vector< float > & | data, | |||
const struct timeb & | timestamp, | |||
float | fDivX, | |||
int | coupling, | |||
int | trigger_type | |||
) | [static] |
Store single data vector in file.
filename | name of file to create or overwrite | |
format | data format for storage | |
data | actual data vector | |
timestamp | time of capturing frame | |
fDivX | sampling period used | |
coupling | coupling used | |
trigger_type | type of trigger used |