ad_rss
Public Types | Public Member Functions | Public Attributes | List of all members
ad::rss::core::StructuredObjectState Struct Reference

DataType StructuredObjectState. More...

#include <ad/rss/core/StructuredObjectState.hpp>

Collaboration diagram for ad::rss::core::StructuredObjectState:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< StructuredObjectStatePtr
 Smart pointer on StructuredObjectState.
 
typedef std::shared_ptr< StructuredObjectState const > ConstPtr
 Smart pointer on constant StructuredObjectState.
 

Public Member Functions

 StructuredObjectState ()=default
 standard constructor
 
 ~StructuredObjectState ()=default
 standard destructor
 
 StructuredObjectState (const StructuredObjectState &other)=default
 standard copy constructor
 
 StructuredObjectState (StructuredObjectState &&other)=default
 standard move constructor
 
StructuredObjectStateoperator= (const StructuredObjectState &other)=default
 standard assignment operator More...
 
StructuredObjectStateoperator= (StructuredObjectState &&other)=default
 standard move operator More...
 
bool operator== (const StructuredObjectState &other) const
 standard comparison operator More...
 
bool operator!= (const StructuredObjectState &other) const
 standard comparison operator More...
 

Public Attributes

::ad::rss::world::Velocity velocity
 
bool has_priority {false}
 
bool is_in_correct_lane {false}
 
::ad::physics::Distance distance_to_enter_intersection {std::numeric_limits<::ad::physics::Distance>::max()}
 
::ad::physics::Distance distance_to_leave_intersection {std::numeric_limits<::ad::physics::Distance>::max()}
 

Detailed Description

DataType StructuredObjectState.

The state of an object within the constellation specific lane coordinate system. The state consists of the following components in respect to the constellation lane coordinate system: the velocity, the distance to the intersection (if applicable ), a Right-of-Way priority flag as well as a flag stating if the vehicle is driving in its correct lane.

Member Function Documentation

◆ operator!=()

bool ad::rss::core::StructuredObjectState::operator!= ( const StructuredObjectState other) const
inline

standard comparison operator

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

◆ operator=() [1/2]

StructuredObjectState& ad::rss::core::StructuredObjectState::operator= ( const StructuredObjectState other)
default

standard assignment operator

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

◆ operator=() [2/2]

StructuredObjectState& ad::rss::core::StructuredObjectState::operator= ( StructuredObjectState &&  other)
default

standard move operator

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

◆ operator==()

bool ad::rss::core::StructuredObjectState::operator== ( const StructuredObjectState other) const
inline

standard comparison operator

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

Member Data Documentation

◆ distance_to_enter_intersection

::ad::physics::Distance ad::rss::core::StructuredObjectState::distance_to_enter_intersection {std::numeric_limits<::ad::physics::Distance>::max()}

The minimum distance to be covered by the vehicle to enter the intersection.

◆ distance_to_leave_intersection

::ad::physics::Distance ad::rss::core::StructuredObjectState::distance_to_leave_intersection {std::numeric_limits<::ad::physics::Distance>::max()}

The maximum distance to cover by the vehicle to leave the intersection completely.

◆ has_priority

bool ad::rss::core::StructuredObjectState::has_priority {false}

Flag indicating if the constellation specific Right-of-Way relation.

◆ is_in_correct_lane

bool ad::rss::core::StructuredObjectState::is_in_correct_lane {false}

Flag indicating if the vehicle driving in the correct lane

◆ velocity

::ad::rss::world::Velocity ad::rss::core::StructuredObjectState::velocity

The constellation specific velocity range.


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