CEBL
2.1
|
driver class to interface with mindset More...
#include <Mindset24.hpp>
Public Member Functions | |
Mindset24 () | |
void | Init () |
~Mindset24 () | |
bool | Open (const char *filename) |
void | Close () |
bool | Ready () |
bool | IsOpen () |
SampleRate | GetSampleRate () |
BlockSize | GetBlockSize () |
void | SetSampleRate (SampleRate) |
void | SetBlockSize (BlockSize) |
std::string | Inquiry () |
bool | IsMindset () |
MindsetStatus | GetStatus () |
EEGData | GetAllData () |
EEGData | GetNextDataBlock () |
driver class to interface with mindset
Definition at line 94 of file Mindset24.hpp.
Mindset24::Mindset24 | ( | ) |
Definition at line 19 of file Mindset24.cpp.
Mindset24::~Mindset24 | ( | ) |
Definition at line 33 of file Mindset24.cpp.
void Mindset24::Close | ( | ) |
Definition at line 56 of file Mindset24.cpp.
References SETSAMPLERATE.
Referenced by DeviceConfig::isReady().
EEGData Mindset24::GetAllData | ( | ) |
Definition at line 211 of file Mindset24.cpp.
References MindsetStatus::block_size, MindsetReply::error, MindsetStatus::num_data_bytes, READDATA, MindsetReply::reply, and MindsetReply::sense_buffer.
BlockSize Mindset24::GetBlockSize | ( | ) |
Definition at line 115 of file Mindset24.cpp.
EEGData Mindset24::GetNextDataBlock | ( | ) |
Definition at line 255 of file Mindset24.cpp.
References MindsetStatus::block_size, MindsetReply::error, MindsetStatus::num_data_bytes, READDATA, MindsetReply::reply, and MindsetReply::sense_buffer.
SampleRate Mindset24::GetSampleRate | ( | ) |
Definition at line 110 of file Mindset24.cpp.
MindsetStatus Mindset24::GetStatus | ( | ) |
Definition at line 129 of file Mindset24.cpp.
References MindsetStatus::block_size, MindsetStatus::num_data_bytes, READSTATUS, MindsetReply::reply, and MindsetStatus::sample_rate.
void Mindset24::Init | ( | ) |
Definition at line 25 of file Mindset24.cpp.
std::string Mindset24::Inquiry | ( | ) |
Definition at line 175 of file Mindset24.cpp.
References INQUIRE, MindsetReply::reply, and MindsetReply::sense_buffer.
Referenced by DeviceConfig::isReady().
|
inline |
Definition at line 127 of file Mindset24.hpp.
Referenced by DeviceConfig::isReady(), and DeviceConfig::scanForDevices().
|
inline |
Definition at line 121 of file Mindset24.hpp.
Referenced by DeviceConfig::isReady(), and DeviceConfig::scanForDevices().
bool Mindset24::Open | ( | const char * | filename | ) |
Definition at line 42 of file Mindset24.cpp.
Referenced by DeviceConfig::isReady(), and DeviceConfig::scanForDevices().
bool Mindset24::Ready | ( | ) |
Definition at line 67 of file Mindset24.cpp.
References READY.
Referenced by DeviceConfig::isReady(), and DeviceConfig::scanForDevices().
void Mindset24::SetBlockSize | ( | BlockSize | b | ) |
Definition at line 98 of file Mindset24.cpp.
References SETBLOCKSIZE.
void Mindset24::SetSampleRate | ( | SampleRate | s | ) |
Definition at line 91 of file Mindset24.cpp.
References SETSAMPLERATE.