TOBI SignalServer  0.1
tobiss::DataQWrapper Class Reference

wrapper class More...

#include <dataq_wrapper.h>

+ Collaboration diagram for tobiss::DataQWrapper:

Public Member Functions

 DataQWrapper (std::string dll_filename)
int di_inlist (struct di_inlist_struct *input_list)
int di_burst_rate (unsigned rate)
unsigned di_mode (struct di_mode_struct *mode)
int di_close (void)
int di_info (struct di_info_struct *info)
int di_buffer_free (unsigned chn)
short * di_buffer_alloc (unsigned chn, unsigned size)
int di_start_scan (void)
int di_outlist (struct di_outlist_struct *output_list)
int di_list_length (unsigned in_length, unsigned out_length)
int di_stop_scan (void)
int di_copy_mux (short *dest)
unsigned di_set_data_mode (unsigned datamode)
int di_open (unsigned devno)
unsigned di_buffer_status (unsigned chn)
unsigned di_digin (void)
unsigned di_digout (unsigned i)
int di_anin (struct di_anin_struct *analog_input)
int di_anout (unsigned dac_data, unsigned range)
int di_strerr (unsigned err_code, char *err_str)
int di_com (unsigned di_command, unsigned di_data)
double di_maximum_rate (double max_burst_rate)
double di_sample_rate (double desired_rate, int *oversample, int *burst_div)
unsigned di_buffer_size (void)
int di_copy_array (unsigned buf_index, short *source, unsigned word_count)
int di_copy_buffer (unsigned buf_index, short *dest, unsigned word_count)
unsigned di_copy_header (unsigned hdr_index, CODASHDR *dest, unsigned byte_count, unsigned clear_bits)
CODASHDRdi_get_acq_header (void)
unsigned di_status_read (short *dest, unsigned num_scans)

Private Member Functions

 DataQWrapper (const DataQWrapper &)
template<typename T >
void setupDLLFunction (T &pointer, std::string const &name)

Private Attributes

HINSTANCE dll_handle_
std::string dll_filename_
FPDIINLIST fndi_inlist_ptr_
FPDIBURSTRATE fndi_burst_rate_ptr_
FPDIMODE fndi_mode_ptr_
FPDICLOSE fndi_close_ptr_
FPDIINFO fndi_info_ptr_
FPDIBUFFERFREE fndi_buffer_free_ptr_
FPDIBUFFERALLOC fndi_buffer_alloc_ptr_
FPDISTARTSCAN fndi_start_scan_ptr_
FPDIOUTLIST fndi_outlist_ptr_
FPDILISTLENGTH fndi_list_length_ptr_
FPDISTOPSCAN fndi_stop_scan_ptr_
FPDICOPYMUX fndi_copy_mux_ptr_
FPDISETDATAMODE fndi_set_data_mode_ptr_
FPDIOPEN fndi_open_ptr_
FPDIBUFFERSTATUS fndi_buffer_status_ptr_
FPDIDIGIN fndi_digin_ptr_
FPDIDIGOUT fndi_digout_ptr_
FPDIANIN fndi_anin_ptr_
FPDIANOUT fndi_anout_ptr_
FPDISTRERR fndi_strerr_ptr_
FPDICOM fndi_com_ptr_
FPDIMAXIMUMRATE fndi_maximum_rate_ptr_
FPDISAMPLERATE fndi_sample_rate_ptr_
FPDIBUFFERSIZE fndi_buffer_size_ptr_
FPDICOPYARRAY fndi_copy_array_ptr_
FPDICOPYBUFFER fndi_copy_buffer_ptr_
FPDICOPYHEADER fndi_copy_header_ptr_
FPDIGETACQHEADER fndi_get_acq_header_ptr_
FPDISTATUSREAD fndi_status_read_ptr_

Detailed Description

wrapper class

Definition at line 178 of file dataq_wrapper.h.


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