53 #ifndef __OFX_ICCPHYSICALSAT_H 
   54 #define __OFX_ICCPHYSICALSAT_H 
   61 class ofxICCPhysicalSAT : 
public ofxSAT, 
private ofThread {
 
   63         typedef ofxICCPhysicalSAT       
self;
 
   69             SENSOR_EXAMPLE_X            = super::SENSOR_LIMIT,
 
  101         mutable ofMutex                 _mutexValue;
 
  102         mutable ofMutex                 _mutexCrawl;
 
  104         mutable bool                    _immediate;
 
  108                 double                  _valueExampleX;
 
  109                 double                  _valueExampleY;
 
  115         explicit                        ofxICCPhysicalSAT               (
void);
 
  116         virtual                         ~ofxICCPhysicalSAT              (
void);
 
  131                 ofxSATError             getSensorExampleX               (
ofxSATTime const& time, 
double* result, 
bool* simulation = NULL) 
const;
 
  132                 ofxSATError             getSensorExampleY               (
ofxSATTime const& time, 
double* result, 
bool* simulation = NULL) 
const;
 
  138         virtual void                    threadedFunction                (
void);
 
  139                 TableRec 
const*         getTableBySensor                (SensorType sensor) 
const;
 
  140                 void                    pushCrawl                       (
bool immediate) 
const;
 
  141                 bool                    popCrawl                        (
void) 
const;
 
  142                 bool                    remainsCrawl                    (
void) 
const;
 
  143                 bool                    isImmediate                     (
void) 
const;
 
  145                                         ofxICCPhysicalSAT               (ofxICCPhysicalSAT 
const&);
 
  146                 ofxICCPhysicalSAT&      operator=                       (ofxICCPhysicalSAT 
const&);
 
  149 inline ofxSATTimeDiff const& ofxICCPhysicalSAT::getUpdateInterval(
void)
 const 
  154 inline ofxSATTimeDiff const& ofxICCPhysicalSAT::getRetryInterval(
void)
 const 
  160 inline ofxSATError ofxICCPhysicalSAT::getSensorExampleX(
ofxSATTime const& time, 
double* result, 
bool* simulation)
 const 
  162     return getSensorData(SENSOR_EXAMPLE_X, time, result, 
sizeof(*result), simulation);
 
  165 inline ofxSATError ofxICCPhysicalSAT::getSensorExampleY(
ofxSATTime const& time, 
double* result, 
bool* simulation)
 const 
  167     return getSensorData(SENSOR_EXAMPLE_Y, time, result, 
sizeof(*result), simulation);