MNE-CPP
0.1.9
A Framework for Electrophysiology
Namespaces
Namespace List
API Reference
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
c
i
m
n
p
s
t
v
Properties
Related Functions
Files
File List
File Members
All
c
d
e
f
i
k
m
n
q
r
u
Functions
Variables
Macros
c
d
e
f
i
m
n
r
u
About
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Properties
Friends
Macros
Pages
src
libraries
fiff
fifffilesharer.h
Go to the documentation of this file.
1
//=============================================================================================================
35
#ifndef FIFFFILESHARER_H
36
#define FIFFFILESHARER_H
37
38
//=============================================================================================================
39
// INCLUDES
40
//=============================================================================================================
41
42
#include "
fiff_io.h
"
43
44
//=============================================================================================================
45
// QT INCLUDES
46
//=============================================================================================================
47
48
#include <QFileSystemWatcher>
49
50
//=============================================================================================================
51
// DEFINE NAMESPACE FIFFLIB
52
//=============================================================================================================
53
54
namespace
FIFFLIB
55
{
56
57
//=============================================================================================================
61
class
FIFFSHARED_EXPORT
FiffFileSharer
:
public
QObject
62
{
63
Q_OBJECT
64
public
:
65
66
//=========================================================================================================
70
FiffFileSharer
();
71
72
//=========================================================================================================
78
FiffFileSharer
(
const
QString& sDirName);
79
80
//=========================================================================================================
86
void
copyRealtimeFile(
const
QString &sSourcePath);
87
88
//=========================================================================================================
92
void
initWatcher();
93
94
private
:
95
96
//=========================================================================================================
102
bool
initSharedDirectory();
103
104
//=========================================================================================================
108
void
clearSharedDirectory();
109
110
//=========================================================================================================
117
void
onDirectoryChanged(
const
QString &sPath);
118
119
//=========================================================================================================
126
void
onFileChanged(
const
QString &sPath);
127
128
QFileSystemWatcher m_fileWatcher;
130
QString m_sDirectory;
131
int
m_iFileIndex;
133
signals:
134
135
//=========================================================================================================
141
void
newFileAtPath(
const
QString& sPath);
142
143
};
144
}
//namespace
145
146
#endif // FIFFFILESHARER_H
fiff_io.h
Definition of a generic Fiff IO interface.
FIFFSHARED_EXPORT
#define FIFFSHARED_EXPORT
Definition:
fiff_global.h:56
FIFFLIB::FiffFileSharer
Definition:
fifffilesharer.h:61
Generated on Wed Aug 9 2023 17:55:41 for MNE-CPP by
1.8.17