Go to the documentation of this file.
17 #ifndef SDF_AIRPRESSURE_HH_
18 #define SDF_AIRPRESSURE_HH_
23 #include <sdf/sdf_config.h>
28 inline namespace SDF_VERSION_NAMESPACE {
30 class AirPressurePrivate;
112 private: AirPressurePrivate *dataPtr;
AirPressure(AirPressure &&_sensor)
Move constructor.
AirPressure contains information about a general purpose fluid pressure sensor.
Definition: AirPressure.hh:36
namespace for Simulation Description Format parser
Definition: Actor.hh:33
bool operator!=(const AirPressure &_air) const
Return true this AirPressure object does not contain the same values as the passed in parameter.
void SetPressureNoise(const Noise &_noise)
Set the noise values related to the pressure data.
const Noise & PressureNoise() const
Get the noise values.
double ReferenceAltitude() const
Get the reference altitude of the sensor in meters.
AirPressure(const AirPressure &_sensor)
Copy constructor.
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:89
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
Errors Load(ElementPtr _sdf)
Load the airPressure based on an element pointer.
The Noise class contains information about a noise model, such as a Gaussian distribution.
Definition: Noise.hh:50
AirPressure & operator=(AirPressure &&_sensor)
Move assignment operator.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
AirPressure()
Default constructor.
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
AirPressure & operator=(const AirPressure &_sensor)
Assignment operator.
~AirPressure()
Destructor.
bool operator==(const AirPressure &_air) const
Return true if both AirPressure objects contain the same values.
void SetReferenceAltitude(double _ref)
Set the reference altitude of the sensor in meters.