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

RssResponseResolving. More...

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

Public Types

typedef std::shared_ptr< RssResponseResolvingPtr
 Smart pointer on RssResponseResolving.
 
typedef std::shared_ptr< RssResponseResolving const > ConstPtr
 Smart pointer on constant RssResponseResolving.
 

Public Member Functions

 RssResponseResolving ()=default
 constructor
 
 ~RssResponseResolving ()=default
 destructor
 
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 constellation specific responses into a single responseState. This class tracks the RSS response state of every constellation id over time and especially stores the respective response state before the danger threshold time. This requires that the id of a RSS constellation 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 constellations of the current situation
[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: