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

DataType Situation. More...

#include <ad/rss/situation/Situation.hpp>

Collaboration diagram for ad::rss::situation::Situation:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< SituationPtr
 Smart pointer on Situation.
 
typedef std::shared_ptr< Situation const > ConstPtr
 Smart pointer on constant Situation.
 

Public Member Functions

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

Public Attributes

::ad::rss::situation::SituationId situationId
 
::ad::rss::world::ObjectId objectId
 
::ad::rss::situation::SituationType situationType
 
::ad::rss::situation::VehicleState egoVehicleState
 
::ad::rss::situation::VehicleState otherVehicleState
 
::ad::rss::situation::RelativePosition relativePosition
 

Detailed Description

DataType Situation.

Describes a RSS situation. A situation always considers the relative relation between two objects: the ego vehicle and one other vehicle. The situation coordinate system is unique for one specific situation. As a consequence the vehicle state of the ego vehicle in different RSS situations cannot be compared to each other. Consists of a situation id and type, the VehicleState of the ego vehicle, the VehicleState of the other vehicle and the RelativePosition between ego vehicle and other vehicle.

Member Function Documentation

◆ operator!=()

bool ad::rss::situation::Situation::operator!= ( const Situation other) const
inline

standard comparison operator

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

◆ operator=() [1/2]

Situation& ad::rss::situation::Situation::operator= ( const Situation other)
default

standard assignment operator

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

◆ operator=() [2/2]

Situation& ad::rss::situation::Situation::operator= ( Situation &&  other)
default

standard move operator

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

◆ operator==()

bool ad::rss::situation::Situation::operator== ( const Situation other) const
inline

standard comparison operator

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

Member Data Documentation

◆ egoVehicleState

::ad::rss::situation::VehicleState ad::rss::situation::Situation::egoVehicleState

The vehicle state of the ego vehicle

◆ objectId

::ad::rss::world::ObjectId ad::rss::situation::Situation::objectId

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

◆ otherVehicleState

::ad::rss::situation::VehicleState ad::rss::situation::Situation::otherVehicleState

The vehicle state of the other vehicle within the situation.

◆ relativePosition

::ad::rss::situation::RelativePosition ad::rss::situation::Situation::relativePosition

The relative position between the ego vehicle and the other vehicle within this situation.

◆ situationId

::ad::rss::situation::SituationId ad::rss::situation::Situation::situationId

The unique id of the situation. The situation id has to be constant over time for a pair of ego vehicle and specific other vehicle. E.g. might be filled with an id identifying the other vehicle unambiguously.

◆ situationType

::ad::rss::situation::SituationType ad::rss::situation::Situation::situationType

The type of the current situation.


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