Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
RoutingKit::TimestampFlags Class Reference

#include <timestamp_flag.h>

Public Member Functions

bool is_set (unsigned id) const
 
void reset_all ()
 
void reset_one (unsigned id)
 
void set (unsigned id)
 
 TimestampFlags ()
 
 TimestampFlags (unsigned id_count)
 

Private Attributes

unsigned short current_timestamp
 
std::vector< unsigned short > last_seen
 

Detailed Description

Definition at line 8 of file timestamp_flag.h.

Constructor & Destructor Documentation

◆ TimestampFlags() [1/2]

RoutingKit::TimestampFlags::TimestampFlags ( )
inline

Definition at line 10 of file timestamp_flag.h.

◆ TimestampFlags() [2/2]

RoutingKit::TimestampFlags::TimestampFlags ( unsigned  id_count)
inlineexplicit

Definition at line 12 of file timestamp_flag.h.

Member Function Documentation

◆ is_set()

bool RoutingKit::TimestampFlags::is_set ( unsigned  id) const
inline

Definition at line 14 of file timestamp_flag.h.

References current_timestamp, and last_seen.

Referenced by RoutingKit::detail::extract_distances_to_targets(), RoutingKit::ContractionHierarchyQuery::get_arc_path(), and RoutingKit::ContractionHierarchyQuery::get_node_path().

Here is the caller graph for this function:

◆ reset_all()

void RoutingKit::TimestampFlags::reset_all ( )
inline

Definition at line 26 of file timestamp_flag.h.

References current_timestamp, and last_seen.

Referenced by RoutingKit::detail::extract_distances_to_targets(), RoutingKit::ContractionHierarchyQuery::reset(), RoutingKit::ContractionHierarchyQuery::reset_source(), and RoutingKit::ContractionHierarchyQuery::reset_target().

Here is the caller graph for this function:

◆ reset_one()

void RoutingKit::TimestampFlags::reset_one ( unsigned  id)
inline

Definition at line 22 of file timestamp_flag.h.

References current_timestamp, and last_seen.

◆ set()

void RoutingKit::TimestampFlags::set ( unsigned  id)
inline

Definition at line 18 of file timestamp_flag.h.

References current_timestamp, and last_seen.

Referenced by RoutingKit::ContractionHierarchyQuery::add_source(), RoutingKit::ContractionHierarchyQuery::add_target(), and RoutingKit::detail::extract_distances_to_targets().

Here is the caller graph for this function:

Field Documentation

◆ current_timestamp

unsigned short RoutingKit::TimestampFlags::current_timestamp
private

Definition at line 36 of file timestamp_flag.h.

Referenced by is_set(), reset_all(), reset_one(), and set().

◆ last_seen

std::vector<unsigned short> RoutingKit::TimestampFlags::last_seen
private

Definition at line 35 of file timestamp_flag.h.

Referenced by is_set(), reset_all(), reset_one(), and set().


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