TOBI SignalServer  0.1
tobiss::NIRScout Class Reference
+ Inheritance diagram for tobiss::NIRScout:
+ Collaboration diagram for tobiss::NIRScout:

Public Member Functions

 NIRScout (ticpp::Iterator< ticpp::Element > hw)
virtual SampleBlock< double > getSyncData ()
 Abstract method to achieve synchronous data acquisition (method is blocking).
virtual SampleBlock< double > getAsyncData ()
 Abstract method to achieve asynchronous data acquisition (method is non-blocking).
virtual void run ()
 Method to start data acquisition.
virtual void stop ()
 Method to stop data acquisition.

Private Types

enum  NameCodes { sources = 0, detectors, wavelengths }

Private Member Functions

virtual void setDeviceSettings (ticpp::Iterator< ticpp::Element >const &father)
 Set configuration defined in the device settings xml section.
virtual void setChannelSettings (ticpp::Iterator< ticpp::Element >const &father)
 Set configuration defined in the channel settings xml section.
void setHardware (ticpp::Iterator< ticpp::Element >const &hw)
 Set the NIRScout config structure.
std::string getErrorMsg ()

Private Attributes

boost::uint32_t port_
std::string target_ip_
char * string_buffer_
float * raw_data_
double * timestamps_
char * timing_bytes_
int sources_
int detectors_
int wavelengths_
int buffer_size_
int frame_count_
int error_code_

Static Private Attributes

static const
HWThreadBuilderTemplateRegistratorWithoutIOService
< NIRScout
factory_registrator_

Detailed Description

Definition at line 39 of file nirscout.h.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables