AURobotServers  4
Public Member Functions | Private Member Functions | Private Attributes | List of all members
comedi_if Class Reference

#include <comedi_if.h>

Public Member Functions

 comedi_if (char *a_filename, int a_subdevice, int a_channel, int a_aref, int a_range, int a_n_chan, int a_n_scan, int a_freq)
 
bool set_command ()
 
bool store_data (FILE *fp, bool logopen)
 
 ~comedi_if ()
 

Private Member Functions

int prepare_cmd_lib (comedi_cmd *cmd)
 

Private Attributes

int aref
 
char buf [BUFSZ]
 
comedi_cmd c
 
unsigned int chanlist [MAX_CHANNEL]
 
int channel
 
int * data
 
comedi_t * dev
 
char * filename
 
int freq
 
lsampl_t maxdata [MAX_CHANNEL]
 
int n_chan
 
int n_scan
 
int range
 
comedi_range * range_info [MAX_CHANNEL]
 
int subdev_flags
 
int subdevice
 

Constructor & Destructor Documentation

comedi_if::comedi_if ( char *  a_filename,
int  a_subdevice,
int  a_channel,
int  a_aref,
int  a_range,
int  a_n_chan,
int  a_n_scan,
int  a_freq 
)
comedi_if::~comedi_if ( )

References dev.

Member Function Documentation

int comedi_if::prepare_cmd_lib ( comedi_cmd *  cmd)
private

References chanlist, dev, freq, n_chan, n_scan, and subdevice.

Referenced by set_command().

bool comedi_if::set_command ( )
bool comedi_if::store_data ( FILE *  fp,
bool  logopen 
)

References buf, BUFSZ, c, data, dev, freq, n_chan, n_scan, subdev_flags, and subdevice.

Referenced by UFuncRadar::runRead().

Member Data Documentation

int comedi_if::aref
private

Referenced by comedi_if(), and set_command().

char comedi_if::buf[BUFSZ]
private

Referenced by store_data().

comedi_cmd comedi_if::c
private

Referenced by set_command(), and store_data().

unsigned int comedi_if::chanlist[MAX_CHANNEL]
private

Referenced by prepare_cmd_lib(), and set_command().

int comedi_if::channel
private

Referenced by comedi_if(), and set_command().

int* comedi_if::data
private

Referenced by comedi_if(), and store_data().

comedi_t* comedi_if::dev
private
char* comedi_if::filename
private

Referenced by comedi_if(), and set_command().

int comedi_if::freq
private
lsampl_t comedi_if::maxdata[MAX_CHANNEL]
private

Referenced by set_command().

int comedi_if::n_chan
private
int comedi_if::n_scan
private
int comedi_if::range
private

Referenced by comedi_if(), and set_command().

comedi_range* comedi_if::range_info[MAX_CHANNEL]
private

Referenced by set_command().

int comedi_if::subdev_flags
private

Referenced by store_data().

int comedi_if::subdevice
private

The documentation for this class was generated from the following files: