MNE-CPP
beta 1.0
|
Contains the declaration of the tmsidriver class. This class implements the basic communication between MNE-X and a TMSI Refa device. More...
#include <iostream>
#include <fstream>
#include <cmath>
#include <cstring>
#include <vector>
#include <map>
#include <tchar.h>
#include <string.h>
#include <windows.h>
#include <Eigen/Core>
#include <QSharedPointer>
#include <qapplication.h>
#include <QVector>
#include <QSysInfo>
Go to the source code of this file.
Classes | |
struct | TMSIPlugin::_SP_DEVICE_PATH |
struct | TMSIPlugin::_FeatureData |
struct | TMSIPlugin::_SYSTEM_TIME |
struct | TMSIPlugin::_SIGNAL_FORMAT |
struct | TMSIPlugin::_FRONTENDINFO |
class | TMSIPlugin::TMSIDriver |
The TMSIDriver class provides real time data acquisition of EEG data with a TMSi Refa device. More... | |
Macros | |
#define | MAX_BUFFER_SIZE 0xFFFFFFFF |
#define | __load_dll_func__(var, type, name) |
#define | MEASURE_MODE_NORMAL ((ULONG)0x0) |
#define | MEASURE_MODE_IMPEDANCE ((ULONG)0x1) |
#define | MEASURE_MODE_CALIBRATION ((ULONG)0x2) |
#define | MEASURE_MODE_IMPEDANCE_EX ((ULONG)0x3) |
#define | MEASURE_MODE_CALIBRATION_EX ((ULONG)0x4) |
#define | IC_OHM_002 0 |
#define | IC_OHM_005 1 |
#define | IC_OHM_010 2 |
#define | IC_OHM_020 3 |
#define | IC_OHM_050 4 |
#define | IC_OHM_100 5 |
#define | IC_OHM_200 6 |
#define | IC_VOLT_050 0 |
#define | IC_VOLT_100 1 |
#define | IC_VOLT_200 2 |
#define | IC_VOLT_500 3 |
#define | SF_UNSIGNED 0x0 |
#define | SF_INTEGER 0x1 |
#define | OVERFLOW_32BITS ((long) 0x80000000) |
#define | SIGNAL_NAME 40 |
#define | UNIT_UNKNOWN 0 |
#define | UNIT_VOLT 1 |
#define | UNIT_PERCENT 2 |
#define | UNIT_BPM 3 |
#define | UNIT_BAR 4 |
#define | UNIT_PSI 5 |
#define | UNIT_MH20 6 |
#define | UNIT_MHG 7 |
#define | UNIT_BIT 8 |
Typedefs | |
typedef struct TMSIPlugin::_SP_DEVICE_PATH | TMSIPlugin::SP_DEVICE_PATH |
typedef struct TMSIPlugin::_SP_DEVICE_PATH * | TMSIPlugin::PSP_DEVICE_PATH |
typedef struct TMSIPlugin::_FeatureData | TMSIPlugin::FEATURE_DATA |
typedef struct TMSIPlugin::_FeatureData * | TMSIPlugin::PFEATURE_DATA |
typedef struct TMSIPlugin::_SYSTEM_TIME | TMSIPlugin::SYSTEM_TIME |
typedef struct TMSIPlugin::_SIGNAL_FORMAT | TMSIPlugin::SIGNAL_FORMAT |
typedef struct TMSIPlugin::_SIGNAL_FORMAT * | TMSIPlugin::PSIGNAL_FORMAT |
typedef enum TMSIPlugin::_TMSiConnectionEnum | TMSIPlugin::TMSiConnectionType |
typedef struct TMSIPlugin::_FRONTENDINFO | TMSIPlugin::FRONTENDINFO |
typedef struct TMSIPlugin::_FRONTENDINFO * | TMSIPlugin::PFRONTENDINFO |
typedef const char * | TMSIPlugin::DeviceLocator |
typedef IN OUT char * | TMSIPlugin::FrontEndName |
typedef IN OUT PULONG | TMSIPlugin::SampleRate |
typedef IN OUT PULONG IN OUT PULONG | TMSIPlugin::BufferSize |
typedef OUT PULONG | TMSIPlugin::SampleBuffer |
typedef OUT PULONG IN ULONG | TMSIPlugin::Size |
typedef OUT PULONG | TMSIPlugin::Overflow |
typedef OUT PULONG OUT PULONG | TMSIPlugin::PercentFull |
typedef IN OUT int * | TMSIPlugin::ErrorCode |
typedef char **__stdcall * | TMSIPlugin::PGETDEVICELIST(IN HANDLE Handle, IN OUT int *NrOfFrontEnds) |
typedef IN OUT FRONTENDINFO * | TMSIPlugin::FrontEndInfo |
typedef IN int | TMSIPlugin::OnOrOff |
typedef IN ULONG | TMSIPlugin::Mode |
typedef IN ULONG IN int | TMSIPlugin::Value |
Enumerations | |
enum | _TMSiConnectionEnum { TMSiConnectionUndefined = 0, TMSiConnectionFiber, TMSiConnectionBluetooth, TMSiConnectionUSB, TMSiConnectionWifi, TMSiConnectionNetwork } |
Contains the declaration of the tmsidriver class. This class implements the basic communication between MNE-X and a TMSI Refa device.
Copyright (C) 2013, Lorenz Esch, Christoph Dinh and Matti Hamalainen. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file tmsidriver.h.
#define __load_dll_func__ | ( | var, | |
type, | |||
name | |||
) |
Definition at line 205 of file tmsidriver.h.
#define IC_OHM_002 0 |
2K Impedance limit
Definition at line 219 of file tmsidriver.h.
#define IC_OHM_005 1 |
5K Impedance limit
Definition at line 220 of file tmsidriver.h.
#define IC_OHM_010 2 |
10K Impedance limit
Definition at line 221 of file tmsidriver.h.
#define IC_OHM_020 3 |
20K Impedance limit
Definition at line 222 of file tmsidriver.h.
#define IC_OHM_050 4 |
50K Impedance limit
Definition at line 223 of file tmsidriver.h.
#define IC_OHM_100 5 |
100K Impedance limit
Definition at line 224 of file tmsidriver.h.
#define IC_OHM_200 6 |
200K Impedance limit
Definition at line 225 of file tmsidriver.h.
#define IC_VOLT_050 0 |
50 uV t-t Calibration voltage
Definition at line 228 of file tmsidriver.h.
#define IC_VOLT_100 1 |
100 uV t-t Calibration voltage
Definition at line 229 of file tmsidriver.h.
#define IC_VOLT_200 2 |
200 uV t-t Calibration voltage
Definition at line 230 of file tmsidriver.h.
#define IC_VOLT_500 3 |
500 uV t-t Calibration voltage
Definition at line 231 of file tmsidriver.h.