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

class RssSituationExtraction More...

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

Public Types

typedef std::shared_ptr< RssSituationExtractionPtr
 Smart pointer on RssSituationExtraction.
 
typedef std::shared_ptr< RssSituationExtraction const > ConstPtr
 Smart pointer on constant RssSituationExtraction.
 

Public Member Functions

 RssSituationExtraction ()=default
 constructor
 
 ~RssSituationExtraction ()=default
 destructor
 
bool extractSituation (world::WorldModel const &worldModel, core::RssSituationSnapshot &situationSnapshot)
 Transform all RSS constellations from the world model into relative constellations within their constellation lane coordinate system. More...
 
void dropObjectHistory (world::ObjectId const &object_id)
 drop the history associated with a given object_id More...
 

Detailed Description

class RssSituationExtraction

Class providing functions required for the extraction of the RSS situation from the RSS world model.

Member Function Documentation

◆ dropObjectHistory()

void ad::rss::core::RssSituationExtraction::dropObjectHistory ( world::ObjectId const &  object_id)

drop the history associated with a given object_id

This function might be used to drop previous states referred to a certain object id in case the object id is reused

Parameters
[in]object_idthe object_id previous history should be dropped

◆ extractSituation()

bool ad::rss::core::RssSituationExtraction::extractSituation ( world::WorldModel const &  worldModel,
core::RssSituationSnapshot situationSnapshot 
)

Transform all RSS constellations from the world model into relative constellations within their constellation lane coordinate system.

Parameters
[in]worldModel- the current world model information
[out]situationSnapshot- the situation to be analyzed by RSS with its vector of constellations
Returns
true if the situation snapshot could be extracted, false if there was an error during the operation.

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