ad_physics
Public Types | Public Member Functions | Public Attributes | List of all members
ad::physics::AccelerationRange Struct Reference

DataType AccelerationRange. More...

#include <ad/physics/AccelerationRange.hpp>

Collaboration diagram for ad::physics::AccelerationRange:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< AccelerationRangePtr
 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
 
AccelerationRangeoperator= (const AccelerationRange &other)=default
 standard assignment operator More...
 
AccelerationRangeoperator= (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()}
 

Detailed Description

DataType AccelerationRange.

An acceleration range described by its borders: [minimum, maximum].

Member Function Documentation

◆ operator!=()

bool ad::physics::AccelerationRange::operator!= ( const AccelerationRange other) const
inline

standard comparison operator

Parameters
[in]otherOther AccelerationRange.
Returns
true if both AccelerationRange are different

◆ operator=() [1/2]

AccelerationRange& ad::physics::AccelerationRange::operator= ( AccelerationRange &&  other)
default

standard move operator

Parameters
[in]otherOther AccelerationRange
Returns
Reference to this AccelerationRange.

◆ operator=() [2/2]

AccelerationRange& ad::physics::AccelerationRange::operator= ( const AccelerationRange other)
default

standard assignment operator

Parameters
[in]otherOther AccelerationRange
Returns
Reference to this AccelerationRange.

◆ operator==()

bool ad::physics::AccelerationRange::operator== ( const AccelerationRange other) const
inline

standard comparison operator

Parameters
[in]otherOther AccelerationRange
Returns
true if both AccelerationRange are equal

Member Data Documentation

◆ maximum

::ad::physics::Acceleration ad::physics::AccelerationRange::maximum {std::numeric_limits<Acceleration>::max()}

The maximum value of the acceleration range.

◆ minimum

::ad::physics::Acceleration ad::physics::AccelerationRange::minimum {std::numeric_limits<Acceleration>::lowest()}

The minimum value of the acceleration range.


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