SUMO - Simulation of Urban MObility
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.
 phase_by_time_sorter ()
 Constructor.

Detailed Description

Sorts phases by their begin time.

Definition at line 178 of file NBLoadedTLDef.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 181 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 187 of file NBLoadedTLDef.h.

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


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines