ad_rss
Public Member Functions | List of all members
ad::rss::core::RssResponseResolving Class Reference

RssResponseResolving. More...

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

Public Member Functions

 RssResponseResolving ()
 constructor
 
bool provideProperResponse (state::RssStateSnapshot const &currentStateSnapshot, state::ProperResponse &response)
 Calculate the proper response out of the current responses. More...
 

Detailed Description

RssResponseResolving.

Class to resolve the responseStateVector of the different situation specific responses into a single responseState. This class tracks the RSS response state of every situation id over time and especially stores the respective response state before the danger threshold time. This requires that the id of a RSS situation remains constant over time in case it refers to the same object; otherwise tracking over time will fail.

Member Function Documentation

◆ provideProperResponse()

bool ad::rss::core::RssResponseResolving::provideProperResponse ( state::RssStateSnapshot const &  currentStateSnapshot,
state::ProperResponse response 
)

Calculate the proper response out of the current responses.

Parameters
[in]currentStateSnapshotall the rss states gathered for the current situations
[out]responsethe proper overall response state
Returns
true if response and acceleration restriction could be calculated, false otherwise If false is returned the internal state has not been updated

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