Recorder Class Reference

Data recorder (storing single frame). More...

#include <Recorder.h>

List of all members.

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 &timestamp, float fDivX, int coupling, int trigger_type)
 Store single data vector in file.


Detailed Description

Data recorder (storing single frame).

Member Enumeration Documentation

Storage format

Enumerator:
FMT_JSON  use JSON
FMT_CSV  use CSV


Member Function Documentation

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.

Parameters:
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
Returns:
0 on success


The documentation for this class was generated from the following files:

Generated on Wed May 15 22:42:22 2013 for miniscope v3 by  doxygen 1.5.9
Tomasz Ostrowski