|
ad_rss
|
#include <ad/rss/core/RssResponseResolving.hpp>
Public Types | |
| typedef std::shared_ptr< RssResponseResolving > | Ptr |
| 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 ¤tStateSnapshot, state::ProperResponse &response) |
| Calculate the proper response out of the current responses. More... | |
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.
| bool ad::rss::core::RssResponseResolving::provideProperResponse | ( | state::RssStateSnapshot const & | currentStateSnapshot, |
| state::ProperResponse & | response | ||
| ) |
Calculate the proper response out of the current responses.
| [in] | currentStateSnapshot | all the rss states gathered for the constellations of the current situation |
| [out] | response | the proper overall response state |