|
ad_physics
|
DataType SpeedRange. More...
#include <ad/physics/SpeedRange.hpp>

Public Types | |
| typedef std::shared_ptr< SpeedRange > | Ptr |
| Smart pointer on SpeedRange. | |
| typedef std::shared_ptr< SpeedRange const > | ConstPtr |
| Smart pointer on constant SpeedRange. | |
Public Member Functions | |
| SpeedRange ()=default | |
| standard constructor | |
| ~SpeedRange ()=default | |
| standard destructor | |
| SpeedRange (const SpeedRange &other)=default | |
| standard copy constructor | |
| SpeedRange (SpeedRange &&other)=default | |
| standard move constructor | |
| SpeedRange & | operator= (const SpeedRange &other)=default |
| standard assignment operator More... | |
| SpeedRange & | operator= (SpeedRange &&other)=default |
| standard move operator More... | |
| bool | operator== (const SpeedRange &other) const |
| standard comparison operator More... | |
| bool | operator!= (const SpeedRange &other) const |
| standard comparison operator More... | |
Public Attributes | |
| ::ad::physics::Speed | minimum {std::numeric_limits<Speed>::lowest()} |
| ::ad::physics::Speed | maximum {std::numeric_limits<Speed>::max()} |
DataType SpeedRange.
A speed range described by its borders: [minimum, maximum].
|
inline |
standard comparison operator
| [in] | other | Other SpeedRange. |
true if both SpeedRange are different
|
default |
standard assignment operator
| [in] | other | Other SpeedRange |
|
default |
|
inline |
standard comparison operator
| [in] | other | Other SpeedRange |
true if both SpeedRange are equal | ::ad::physics::Speed ad::physics::SpeedRange::maximum {std::numeric_limits<Speed>::max()} |
The maximum value of the speed range.
| ::ad::physics::Speed ad::physics::SpeedRange::minimum {std::numeric_limits<Speed>::lowest()} |
The minimum value of the speed range.
1.8.17