|
ad_rss
|
class supporting to keep track of unique constellation ids More...
#include <ad/rss/structured/RssConstellationIdProvider.hpp>
Public Member Functions | |
| RssConstellationIdProvider ()=default | |
| default constructor | |
| ~RssConstellationIdProvider ()=default | |
| default destructor | |
| core::RelativeConstellationId | getConstellationId (world::TimeIndex const &time_index, world::Constellation const &constellation) |
| get the constellation id of the given constellation More... | |
| void | dropConstellationIds (world::ObjectId const &object_id) |
| drop all constallation ids associated with a given object_id More... | |
class supporting to keep track of unique constellation ids
Constellation id's have to be constant over time.
| void ad::rss::structured::RssConstellationIdProvider::dropConstellationIds | ( | world::ObjectId const & | object_id | ) |
drop all constallation ids 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
| [in] | object_id | the object_id all previous constallations should be dropped |
| core::RelativeConstellationId ad::rss::structured::RssConstellationIdProvider::getConstellationId | ( | world::TimeIndex const & | time_index, |
| world::Constellation const & | constellation | ||
| ) |
get the constellation id of the given constellation
| [in] | time_index | the time index the constellation refers to |
| [in] | constellation | the relevant constellation |