SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
NBLoadedTLDef::SignalGroup::phase_by_time_sorter Class Reference

Sorts phases by their begin time. More...

#include <NBLoadedTLDef.h>

Public Member Functions

int operator() (const PhaseDef &p1, const PhaseDef &p2)
 Sorts phases by their begin time. More...
 
 phase_by_time_sorter ()
 Constructor. More...
 

Detailed Description

Sorts phases by their begin time.

Definition at line 179 of file NBLoadedTLDef.h.

Constructor & Destructor Documentation

NBLoadedTLDef::SignalGroup::phase_by_time_sorter::phase_by_time_sorter ( )
inlineexplicit

Constructor.

Definition at line 182 of file NBLoadedTLDef.h.

Member Function Documentation

int NBLoadedTLDef::SignalGroup::phase_by_time_sorter::operator() ( const PhaseDef p1,
const PhaseDef p2 
)
inline

Sorts phases by their begin time.

Parameters
[in]p1a phase definition
[in]p2a phase definition

Definition at line 188 of file NBLoadedTLDef.h.

References NBLoadedTLDef::SignalGroup::PhaseDef::myTime.


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