Sensor for accessing proximity sensor measurements.  
 More...
#include <proximitysensor.h>
|  | 
| static AbstractSensorChannel * | factoryMethod (const QString &id) | 
|  | Factory method for AbstractSensorChannel.  More... 
 | 
|  | 
Sensor for accessing proximity sensor measurements. 
Provides measurement data from device proximity sensor. 
Definition at line 46 of file proximitysensor.h.
◆ ProximitySensorChannel()
  
  | 
        
          | ProximitySensorChannel::ProximitySensorChannel | ( | const QString & | id | ) |  |  | protected | 
 
 
◆ ~ProximitySensorChannel()
  
  | 
        
          | virtual ProximitySensorChannel::~ProximitySensorChannel | ( |  | ) |  |  | protectedvirtual | 
 
 
◆ dataAvailable
  
  | 
        
          | void ProximitySensorChannel::dataAvailable | ( | const Unsigned & | data | ) |  |  | signal | 
 
Sent when new measurement data has become available. 
- Parameters
- 
  
  
 
 
◆ factoryMethod()
  
  | 
        
          | static AbstractSensorChannel * ProximitySensorChannel::factoryMethod | ( | const QString & | id | ) |  |  | inlinestatic | 
 
 
◆ proximity()
  
  | 
        
          | Unsigned ProximitySensorChannel::proximity | ( |  | ) | const |  | inline | 
 
Property for accessing the measured value. 
- Returns
- Last measured value. 
Definition at line 70 of file proximitysensor.h.
 
 
◆ proximityReflectance()
  
  | 
        
          | Proximity ProximitySensorChannel::proximityReflectance | ( |  | ) | const |  | inline | 
 
 
◆ start
  
  | 
        
          | bool ProximitySensorChannel::start | ( |  | ) |  |  | slot | 
 
 
◆ stop
  
  | 
        
          | bool ProximitySensorChannel::stop | ( |  | ) |  |  | slot | 
 
 
◆ proximity
  
  | 
        
          | Unsigned ProximitySensorChannel::proximity |  | read | 
 
 
◆ proximityReflectance
  
  | 
        
          | Proximity ProximitySensorChannel::proximityReflectance |  | read | 
 
 
The documentation for this class was generated from the following file: