![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Public Member Functions | |
| void | addDetector (MSMoveReminder *data) |
| void | addReminders (MEVehicle *veh) const |
| bool | allows (SUMOVehicleClass vclass) const |
| SUMOTime | getBlockTime () const |
| SUMOTime | getEntryBlockTime () const |
| return the next time at which a vehicle may enter this queue | |
| 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 | |
| void | setOccupancy (const double occ) |
| void | setPermissions (SVCPermissions p) |
| int | size () const |
Private Attributes | |
| SUMOTime | myBlockTime = -1 |
| The block time. | |
| std::vector< MSMoveReminder * > | myDetectorData |
| The data collection for all kinds of detectors. | |
| SUMOTime | myEntryBlockTime = SUMOTime_MIN |
| The block time for vehicles who wish to enter this queue. | |
| double | myOccupancy = 0. |
| The occupied space (in m) in the queue. | |
| SVCPermissions | myPermissions |
| The vClass permissions for this queue. | |
| std::vector< MEVehicle * > | myVehicles |
Definition at line 72 of file MESegment.h.
|
inline |
Definition at line 74 of file MESegment.h.
| void MESegment::Queue::addDetector | ( | MSMoveReminder * | data | ) |
Definition at line 87 of file MESegment.cpp.
| void MESegment::Queue::addReminders | ( | MEVehicle * | veh | ) | const |
Definition at line 95 of file MESegment.cpp.
References MSBaseVehicle::addReminder().
|
inline |
Definition at line 91 of file MESegment.h.
References myPermissions.
Referenced by MESegment::hasSpaceFor().
|
inline |
Definition at line 105 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 96 of file MESegment.h.
References myEntryBlockTime.
Referenced by MESegment::hasSpaceFor().
|
inline |
Definition at line 82 of file MESegment.h.
References myVehicles.
Referenced by MESegment::loadState(), and MESegment::receive().
|
inline |
Definition at line 85 of file MESegment.h.
References myOccupancy.
Referenced by MESegment::hasSpaceFor(), MESegment::loadState(), MESegment::receive(), and MESegment::send().
|
inline |
Definition at line 78 of file MESegment.h.
References myVehicles.
Referenced by MESegment::loadState().
Definition at line 70 of file MESegment.cpp.
References MSVehicleType::getLengthWithGap(), MSBaseVehicle::getVehicleType(), myOccupancy, and myVehicles.
Referenced by MESegment::removeCar().
|
inline |
Definition at line 108 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 101 of file MESegment.h.
References myEntryBlockTime.
Referenced by MESegment::loadState(), and MESegment::receive().
|
inline |
Definition at line 88 of file MESegment.h.
References myOccupancy.
Referenced by MESegment::loadState(), and MESegment::receive().
|
inline |
Definition at line 112 of file MESegment.h.
References myPermissions.
|
inline |
Definition at line 75 of file MESegment.h.
References myVehicles.
Referenced by MESegment::hasSpaceFor(), and MESegment::loadState().
|
private |
The block time.
Definition at line 133 of file MESegment.h.
Referenced by getBlockTime(), and setBlockTime().
|
private |
The data collection for all kinds of detectors.
Definition at line 136 of file MESegment.h.
|
private |
The block time for vehicles who wish to enter this queue.
Definition at line 130 of file MESegment.h.
Referenced by getEntryBlockTime(), and setEntryBlockTime().
|
private |
The occupied space (in m) in the queue.
Definition at line 127 of file MESegment.h.
Referenced by getOccupancy(), remove(), and setOccupancy().
|
private |
The vClass permissions for this queue.
Definition at line 122 of file MESegment.h.
Referenced by allows(), and setPermissions().
|
private |
Definition at line 124 of file MESegment.h.
Referenced by getModifiableVehicles(), getVehicles(), remove(), and size().