Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

NXT C++ Bluetooth Library
Enum Result_type

   in sensor.h

Enumeration used to determine the result type (which sub-class of Result)

See Also:
Result::get_type

Field Summary
ADC_RESULT = 2
          Means that the sub class is ADC_ports (used with the PCF8591 ADC chip/sensor)
RGB_RESULT = 0
          Means that the sub class is Rgb_color (used with the color sensor)
XYZ_RESULT = 1
          Means that the sub class is Xyz_position (used with the tilt sensor)
 

Field Detail

ADC_RESULT

public ADC_RESULT = 2
Means that the sub class is ADC_ports (used with the PCF8591 ADC chip/sensor)
See Also:
Adc_ports, Adc_8591::read

RGB_RESULT

public RGB_RESULT = 0
Means that the sub class is Rgb_color (used with the color sensor)
See Also:
Rgb_color, Color_sensor::read

XYZ_RESULT

public XYZ_RESULT = 1
Means that the sub class is Xyz_position (used with the tilt sensor)
See Also:
Xyz_position, Tilt::read

 Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD