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 70 of file MESegment.h.
|
inline |
Definition at line 72 of file MESegment.h.
void MESegment::Queue::addDetector | ( | MSMoveReminder * | data | ) |
Definition at line 84 of file MESegment.cpp.
void MESegment::Queue::addReminders | ( | MEVehicle * | veh | ) | const |
Definition at line 92 of file MESegment.cpp.
References MSBaseVehicle::addReminder().
|
inline |
Definition at line 89 of file MESegment.h.
References myPermissions.
Referenced by MESegment::hasSpaceFor().
|
inline |
Definition at line 103 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 94 of file MESegment.h.
References myEntryBlockTime.
Referenced by MESegment::hasSpaceFor().
|
inline |
Definition at line 80 of file MESegment.h.
References myVehicles.
Referenced by MESegment::loadState(), and MESegment::receive().
|
inline |
Definition at line 83 of file MESegment.h.
References myOccupancy.
Referenced by MESegment::hasSpaceFor(), MESegment::loadState(), MESegment::receive(), and MESegment::send().
|
inline |
Definition at line 76 of file MESegment.h.
References myVehicles.
Referenced by MESegment::loadState().
Definition at line 67 of file MESegment.cpp.
References MSVehicleType::getLengthWithGap(), MSBaseVehicle::getVehicleType(), myOccupancy, and myVehicles.
Referenced by MESegment::removeCar().
|
inline |
Definition at line 106 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 99 of file MESegment.h.
References myEntryBlockTime.
Referenced by MESegment::receive().
|
inline |
Definition at line 86 of file MESegment.h.
References myOccupancy.
Referenced by MESegment::loadState(), and MESegment::receive().
|
inline |
Definition at line 110 of file MESegment.h.
References myPermissions.
|
inline |
Definition at line 73 of file MESegment.h.
References myVehicles.
Referenced by MESegment::hasSpaceFor(), and MESegment::loadState().
|
private |
The block time.
Definition at line 131 of file MESegment.h.
Referenced by getBlockTime(), and setBlockTime().
|
private |
The data collection for all kinds of detectors.
Definition at line 134 of file MESegment.h.
|
private |
The block time for vehicles who wish to enter this queue.
Definition at line 128 of file MESegment.h.
Referenced by getEntryBlockTime(), and setEntryBlockTime().
|
private |
The occupied space (in m) in the queue.
Definition at line 125 of file MESegment.h.
Referenced by getOccupancy(), remove(), and setOccupancy().
|
private |
The vClass permissions for this queue.
Definition at line 120 of file MESegment.h.
Referenced by allows(), and setPermissions().
|
private |
Definition at line 122 of file MESegment.h.
Referenced by getModifiableVehicles(), getVehicles(), remove(), and size().