ModularSensors > Classes > Variable > MaxBotixSonar_Range
ModularSensors > Modules > MaxBotix MaxSonar > MaxBotixSonar_Range


MaxBotixSonar_Range class

The Variable sub-class used for the range output from a MaxBotix HRXL-MaxSonar ultrasonic range finder.

Base classes

class Variable
The variable class for a value and related metadata.

Constructors, destructors, conversion operators

MaxBotixSonar_Range(MaxBotixSonar* parentSense, const char* uuid = "", const char* varCode = HRXL_DEFAULT_CODE) explicit
Construct a new MaxBotixSonar_Range object.
MaxBotixSonar_Range()
Construct a new MaxBotixSonar_Range object.
~MaxBotixSonar_Range()
Destroy the MaxBotixSonar_Range object - no action needed.

Function documentation

MaxBotixSonar_Range(MaxBotixSonar* parentSense, const char* uuid = "", const char* varCode = HRXL_DEFAULT_CODE) explicit

Construct a new MaxBotixSonar_Range object.

Parameters
parentSense The parent MaxBotixSonar providing the result values.
uuid A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string.
varCode A short code to help identify the variable in files; optional with a default value of "SonarRange".

MaxBotixSonar_Range()

Construct a new MaxBotixSonar_Range object.