base
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
base::samples::Pressure Struct Reference

#include <Pressure.hpp>

Inheritance diagram for base::samples::Pressure:
base::Pressure

Public Member Functions

 Pressure ()
 
 Pressure (base::Time const &time, base::Pressure pressure)
 
- Public Member Functions inherited from base::Pressure
 Pressure ()
 
float toPa () const
 
float toBar () const
 
float toPSI () const
 

Static Public Member Functions

static Pressure fromPascal (base::Time const &time, float pascal)
 
static Pressure fromBar (base::Time const &time, float bar)
 
static Pressure fromPSI (base::Time const &time, float psi)
 
- Static Public Member Functions inherited from base::Pressure
static Pressure fromPascal (float pascal)
 
static Pressure fromBar (float bar)
 
static Pressure fromPSI (float psi)
 

Public Attributes

base::Time time
 
- Public Attributes inherited from base::Pressure
float pascal
 

Detailed Description

Timestamped pressure

Constructor & Destructor Documentation

◆ Pressure() [1/2]

base::samples::Pressure::Pressure ( )
inline

◆ Pressure() [2/2]

base::samples::Pressure::Pressure ( base::Time const &  time,
base::Pressure  pressure 
)
inline

Member Function Documentation

◆ fromBar()

Pressure base::samples::Pressure::fromBar ( base::Time const &  time,
float  bar 
)
static

◆ fromPascal()

Pressure base::samples::Pressure::fromPascal ( base::Time const &  time,
float  pascal 
)
static

◆ fromPSI()

Pressure base::samples::Pressure::fromPSI ( base::Time const &  time,
float  psi 
)
static

Member Data Documentation

◆ time

base::Time base::samples::Pressure::time

The sample timestamp


The documentation for this struct was generated from the following files: