MNE-CPP
0.1.9
A Framework for Electrophysiology
src
libraries
mne
c
mne_raw_buf_def.cpp
Go to the documentation of this file.
1
//=============================================================================================================
37
//=============================================================================================================
38
// INCLUDES
39
//=============================================================================================================
40
41
#include "
mne_raw_buf_def.h
"
42
43
#include <Eigen/Core>
44
45
#define FREE_34(x) if ((char *)(x) != NULL) free((char *)(x))
46
47
//=============================================================================================================
48
// USED NAMESPACES
49
//=============================================================================================================
50
51
using namespace
Eigen;
52
using namespace
FIFFLIB;
53
using namespace
MNELIB;
54
55
//=============================================================================================================
56
// DEFINE MEMBER METHODS
57
//=============================================================================================================
58
59
MneRawBufDef::MneRawBufDef()
60
{
61
}
62
63
//=============================================================================================================
64
65
MneRawBufDef::~MneRawBufDef()
66
{
67
}
68
69
//=============================================================================================================
70
71
void
MneRawBufDef::free_bufs(
MneRawBufDef
*bufs,
int
nbuf)
72
73
{
74
int
k
;
75
for
(
k
= 0;
k
< nbuf;
k
++) {
76
FREE_34(bufs[
k
].ch_filtered);
77
/*
78
* Clear the pointers only, not the data which are in the ringbuffer
79
*/
80
FREE_34(bufs[
k
].vals);
81
}
82
FREE_34(bufs);
83
}
k
int k
Definition:
fiff_tag.cpp:322
mne_raw_buf_def.h
MneRawBufDef class declaration.
MNELIB::MneRawBufDef
Information about raw data in fiff file.
Definition:
mne_raw_buf_def.h:78
Generated on Wed Aug 9 2023 17:55:42 for MNE-CPP by
1.8.17