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

DataType RssState. More...

#include <ad/rss/state/RssState.hpp>

Collaboration diagram for ad::rss::state::RssState:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< RssStatePtr
 Smart pointer on RssState.
 
typedef std::shared_ptr< RssState const > ConstPtr
 Smart pointer on constant RssState.
 

Public Member Functions

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

Public Attributes

::ad::rss::world::ObjectId ego_id {0}
 
::ad::rss::world::ObjectId object_id
 
::ad::rss::core::RelativeConstellationId constellation_id {0u}
 
::ad::rss::state::LongitudinalRssState longitudinal_state
 
::ad::rss::state::LateralRssState lateral_state_right
 
::ad::rss::state::LateralRssState lateral_state_left
 
::ad::rss::state::UnstructuredConstellationRssState unstructured_constellation_state
 
::ad::rss::world::ConstellationType constellation_type
 

Detailed Description

DataType RssState.

Struct defining the RSS state of a single object.

Member Function Documentation

◆ operator!=()

bool ad::rss::state::RssState::operator!= ( const RssState other) const
inline

standard comparison operator

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

◆ operator=() [1/2]

RssState& ad::rss::state::RssState::operator= ( const RssState other)
default

standard assignment operator

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

◆ operator=() [2/2]

RssState& ad::rss::state::RssState::operator= ( RssState &&  other)
default

standard move operator

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

◆ operator==()

bool ad::rss::state::RssState::operator== ( const RssState other) const
inline

standard comparison operator

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

Member Data Documentation

◆ constellation_id

::ad::rss::core::RelativeConstellationId ad::rss::state::RssState::constellation_id {0u}

Id of the constellation this state refers to. The id has to remain unique over time representing the constellation (ego-vehicle / object pair) under investigation. It is used to track the state of the ego-vehicle / object constellation i.e. at point of danger threshold time.

◆ constellation_type

::ad::rss::world::ConstellationType ad::rss::state::RssState::constellation_type

This type of constellation this RssState was calculated on.

◆ ego_id

::ad::rss::world::ObjectId ad::rss::state::RssState::ego_id {0}

Defines the unique id of the ego. This id has to be constant over time.

◆ lateral_state_left

::ad::rss::state::LateralRssState ad::rss::state::RssState::lateral_state_left

The current lateral rss state at left side in respect to ego-vehicle driving direction.

◆ lateral_state_right

::ad::rss::state::LateralRssState ad::rss::state::RssState::lateral_state_right

The current lateral rss state at right side in respect to ego-vehicle driving direction.

◆ longitudinal_state

::ad::rss::state::LongitudinalRssState ad::rss::state::RssState::longitudinal_state

The current longitudinal rss state.

◆ object_id

::ad::rss::world::ObjectId ad::rss::state::RssState::object_id

Defines the unique id of an object. This id has to be constant over time for the same object.

◆ unstructured_constellation_state

::ad::rss::state::UnstructuredConstellationRssState ad::rss::state::RssState::unstructured_constellation_state

The state of the unstructured constellation.


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