The VisAO Camera
QTITempProbe Class Reference

Public Types

enum  QTI_ERRORS { QTINO_ERROR, FIN_GOOD_ERROR, FOUT_GOOD_ERROR, DEV_NOT_OPEN_ERROR }
 

Public Member Functions

 QTITempProbe (std::string dev_path)
 
void init ()
 
int setDevPath (std::string dev_path)
 
int readSerialNumber ()
 
std::string getSerialNumber ()
 
double getTemperature ()
 
int getErrNum ()
 

Protected Attributes

std::string devPath
 
bool devOpen
 
std::string serialNumber
 
std::ifstream fin
 
std::ofstream fout
 
int errNum
 
timer_t timerid
 
struct sigevent sev
 
struct itimerspec its
 
struct sigaction sa
 

Detailed Description

Definition at line 16 of file QTITempProbe.h.

Member Function Documentation

int QTITempProbe::readSerialNumber ( )
Todo:
handle isser == -1 here

Definition at line 109 of file QTITempProbe.cpp.


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