Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
CCHMetricFamily< E, V, K >::LiveMetric Struct Reference

per-type LIVE metric state. Heap-owned: the atomic makes it non-movable, so it cannot live in a map by value. More...

Data Fields

std::atomic< const RoutingKit::CustomizableContractionHierarchyMetric * > front {nullptr}
 
int frontIndex = 1
 
std::shared_ptr< RoutingKit::CustomizableContractionHierarchyMetricmetric [2]
 
std::shared_ptr< RoutingKit::CustomizableContractionHierarchyPartialCustomizationpartial
 partial-customization worker (queue over the shared CCH); one per metric – its queue is drained by every customize()
 
V * refVehicle = nullptr
 OWNED effort-reference vehicle (see RefVehicleFactory)
 
SUMOVehicleClass vClass = SVC_PASSENGER
 
std::vector< unsigned > weight [2]
 

Detailed Description

template<class E, class V, class K>
struct CCHMetricFamily< E, V, K >::LiveMetric

per-type LIVE metric state. Heap-owned: the atomic makes it non-movable, so it cannot live in a map by value.

Definition at line 513 of file CCHMetricFamily.h.

Field Documentation

◆ front

template<class E , class V , class K >
std::atomic<const RoutingKit::CustomizableContractionHierarchyMetric*> CCHMetricFamily< E, V, K >::LiveMetric::front {nullptr}

Definition at line 516 of file CCHMetricFamily.h.

Referenced by CCHMetricFamily< E, V, K >::published().

◆ frontIndex

template<class E , class V , class K >
int CCHMetricFamily< E, V, K >::LiveMetric::frontIndex = 1

Definition at line 517 of file CCHMetricFamily.h.

◆ metric

template<class E , class V , class K >
std::shared_ptr<RoutingKit::CustomizableContractionHierarchyMetric> CCHMetricFamily< E, V, K >::LiveMetric::metric[2]

Definition at line 515 of file CCHMetricFamily.h.

◆ partial

template<class E , class V , class K >
std::shared_ptr<RoutingKit::CustomizableContractionHierarchyPartialCustomization> CCHMetricFamily< E, V, K >::LiveMetric::partial

partial-customization worker (queue over the shared CCH); one per metric – its queue is drained by every customize()

Definition at line 523 of file CCHMetricFamily.h.

Referenced by CCHMetricFamily< E, V, K >::buildLiveMetric().

◆ refVehicle

template<class E , class V , class K >
V* CCHMetricFamily< E, V, K >::LiveMetric::refVehicle = nullptr

OWNED effort-reference vehicle (see RefVehicleFactory)

Definition at line 520 of file CCHMetricFamily.h.

Referenced by CCHMetricFamily< E, V, K >::buildLiveMetric().

◆ vClass

template<class E , class V , class K >
SUMOVehicleClass CCHMetricFamily< E, V, K >::LiveMetric::vClass = SVC_PASSENGER

Definition at line 518 of file CCHMetricFamily.h.

Referenced by CCHMetricFamily< E, V, K >::buildLiveMetric().

◆ weight

template<class E , class V , class K >
std::vector<unsigned> CCHMetricFamily< E, V, K >::LiveMetric::weight[2]

Definition at line 514 of file CCHMetricFamily.h.

Referenced by CCHMetricFamily< E, V, K >::buildLiveMetric().


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