![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Public Member Functions | |
| bool | allows (SUMOVehicleClass vclass) const |
| SUMOTime | getBlockTime () const |
| SUMOTime | getEntryBlockTime () const |
| return the next time at which a vehicle may enter this queue More... | |
| std::vector< MEVehicle * > & | getModifiableVehicles () |
| double | getOccupancy () const |
| const std::vector< MEVehicle * > & | getVehicles () const |
| Queue (const SVCPermissions permissions) | |
| MEVehicle * | remove (MEVehicle *v) |
| void | setBlockTime (SUMOTime t) |
| void | setEntryBlockTime (SUMOTime entryBlockTime) |
| set the next time at which a vehicle may enter this queue More... | |
| void | setOccupancy (const double occ) |
| int | size () const |
Private Member Functions | |
| Queue & | operator= (const Queue &)=delete |
| Invalidated assignment operator. More... | |
Private Attributes | |
| SUMOTime | myBlockTime = -1 |
| The block time. More... | |
| SUMOTime | myEntryBlockTime = SUMOTime_MIN |
| The block time for vehicles who wish to enter this queue. More... | |
| double | myOccupancy = 0. |
| The occupied space (in m) in the queue. More... | |
| const SVCPermissions | myPermissions |
| The vClass permissions for this queue. More... | |
| std::vector< MEVehicle * > | myVehicles |
Definition at line 49 of file MESegment.h.
|
inline |
Definition at line 51 of file MESegment.h.
|
inline |
Definition at line 68 of file MESegment.h.
References myPermissions.
Referenced by MESegment::hasSpaceFor().
|
inline |
Definition at line 82 of file MESegment.h.
References myBlockTime.
Referenced by MESegment::receive(), and MESegment::send().
|
inline |
return the next time at which a vehicle may enter this queue
Definition at line 73 of file MESegment.h.
References myEntryBlockTime.
Referenced by MESegment::hasSpaceFor().
|
inline |
Definition at line 59 of file MESegment.h.
References myVehicles.
Referenced by MESegment::loadState(), and MESegment::receive().
|
inline |
Definition at line 62 of file MESegment.h.
References myOccupancy.
Referenced by MESegment::hasSpaceFor(), MESegment::loadState(), MESegment::receive(), and MESegment::send().
|
inline |
Definition at line 55 of file MESegment.h.
References myVehicles.
Referenced by MESegment::loadState().
Definition at line 69 of file MESegment.cpp.
References MSVehicleType::getLengthWithGap(), MSBaseVehicle::getVehicleType(), myOccupancy, and myVehicles.
Referenced by MESegment::removeCar().
|
inline |
Definition at line 85 of file MESegment.h.
References myBlockTime.
Referenced by MESegment::loadState(), and MESegment::send().
|
inline |
set the next time at which a vehicle may enter this queue
Definition at line 78 of file MESegment.h.
References myEntryBlockTime.
Referenced by MESegment::receive().
|
inline |
Definition at line 65 of file MESegment.h.
References myOccupancy.
Referenced by MESegment::loadState(), and MESegment::receive().
|
inline |
Definition at line 52 of file MESegment.h.
References myVehicles.
Referenced by MESegment::hasSpaceFor(), MESegment::loadState(), and MESegment::send().
|
private |
The block time.
Definition at line 102 of file MESegment.h.
Referenced by getBlockTime(), and setBlockTime().
|
private |
The block time for vehicles who wish to enter this queue.
Definition at line 99 of file MESegment.h.
Referenced by getEntryBlockTime(), and setEntryBlockTime().
|
private |
The occupied space (in m) in the queue.
Definition at line 96 of file MESegment.h.
Referenced by getOccupancy(), remove(), and setOccupancy().
|
private |
The vClass permissions for this queue.
Definition at line 91 of file MESegment.h.
Referenced by allows().
|
private |
Definition at line 93 of file MESegment.h.
Referenced by getModifiableVehicles(), getVehicles(), remove(), and size().