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