TOBI SignalServer
0.1
|
Protected Types | |
enum | daq_mode_type { RSE = 0, NRSE, diff } |
Protected Member Functions | |
virtual SampleBlock< double > | getSyncData ()=0 |
Abstract method to achieve synchronous data acquisition (method is blocking). | |
virtual SampleBlock< double > | getAsyncData ()=0 |
Abstract method to achieve asynchronous data acquisition (method is non-blocking). | |
virtual void | run ()=0 |
Abstract method to start data acquisition. | |
virtual void | stop ()=0 |
Abstract method to stop data acquisition. | |
virtual void | setDeviceSettings (ticpp::Iterator< ticpp::Element >const &father) |
Set configuration listed in the <device_settings> section in the XML file. | |
virtual void | setChannelSettings (ticpp::Iterator< ticpp::Element >const &father) |
Set configuration listed in the <channel_settings> section in the XML file. | |
void | setHardware (ticpp::Iterator< ticpp::Element >const &hw) |
Set the configuration of the device with a XML object. | |
Protected Attributes | |
daq_mode_type | daq_mode_ |
std::string | device_id_ |
std::map< boost::uint32_t, float > | global_scaling_factors_ |
std::vector< float > | scaling_factors_ |
Static Protected Attributes | |
static const std::string | hw_jumper_ |
xml-tag hardware: filter | |
static const std::string | hw_jumper_hp_ |
xml-tag hardware: filter lower cutoff freq. | |
static const std::string | hw_jumper_lp_ |
xml-tag hardware: filter upper cutoff freq. | |
static const std::string | hw_jumper_sense_ |
xml-tag hardware: mV for gBSamp | |
static const std::string | hw_jumper_notch_ |
xml-tag hardware: notch_filter | |
static const std::string | hw_daq_mode_ |
xml-tag hardware: acquisition mode | |
static const std::string | hw_device_id_ |
xml-tag hardware: device name (e.g. Dev1 or comedi0) | |
Private Member Functions | |
void | setDeviceJumperSettings (ticpp::Iterator< ticpp::Element >const &elem) |
void | setChannelJumperSettings (ticpp::Iterator< ticpp::Element >const &father) |
void | checkJumperAttributes (ticpp::Iterator< ticpp::Element >const &elem) |
void | getJumperParams (ticpp::Iterator< ticpp::Element >const &elem, unsigned int &type, bool ¬ch, float &highpass, float &lowpass, float &sense) |
void | setAcquisitionMode (ticpp::Iterator< ticpp::Element >const &elem) |
void | setDeviceName (ticpp::Iterator< ticpp::Element >const &elem) |
void | setGlobalScalingValues () |
void | throwXMLErrorTagNotGiven (std::string &tag_name) |
void | throwXMLErrorWrongValue (const std::string &tag_name, const std::string &attr_name, std::string type, float given, float cor1, float cor2) |
void | checkEEGJumperValues (float highpass, float lowpass, float sense) |
void | checkEOGJumperValues (float highpass, float lowpass, float sense) |
void | checkEMGJumperValues (float highpass, float lowpass, float sense) |
void | checkECGJumperValues (float highpass, float lowpass, float sense) |
Private Attributes | |
std::map< std::string, daq_mode_type > | daq_modes_map_ |
Definition at line 53 of file gBSamp_base.h.