SUMO - Simulation of Urban MObility
|
Allows to store the object; used as context while traveling the rtree in TraCI. More...
#include <TraCIServerAPI_Lane.h>
Public Member Functions | |
void | add (const MSLane *const l) const |
Adds the given object to the container. More... | |
StoringVisitor (std::set< std::string > &ids, const PositionVector &shape, const SUMOReal range, const int domain) | |
Constructor. More... | |
~StoringVisitor () | |
Destructor. More... | |
Data Fields | |
const int | myDomain |
std::set< std::string > & | myIDs |
The container. More... | |
const SUMOReal | myRange |
const PositionVector & | myShape |
Private Member Functions | |
StoringVisitor & | operator= (const StoringVisitor &src) |
invalidated assignment operator More... | |
StoringVisitor (const StoringVisitor &src) | |
invalidated copy constructor More... | |
Allows to store the object; used as context while traveling the rtree in TraCI.
Definition at line 87 of file TraCIServerAPI_Lane.h.
|
inline |
Constructor.
Definition at line 90 of file TraCIServerAPI_Lane.h.
|
inline |
Destructor.
Definition at line 95 of file TraCIServerAPI_Lane.h.
|
private |
invalidated copy constructor
void TraCIServerAPI_Lane::StoringVisitor::add | ( | const MSLane *const | l | ) | const |
Adds the given object to the container.
Definition at line 363 of file TraCIServerAPI_Lane.cpp.
References CMD_GET_EDGE_VARIABLE, CMD_GET_LANE_VARIABLE, CMD_GET_VEHICLE_VARIABLE, PositionVector::distance(), MSLane::getEdge(), Named::getID(), MSLane::getShape(), MSLane::getVehiclesSecure(), myDomain, myIDs, myRange, myShape, and MSLane::releaseVehicles().
Referenced by MSLane::visit().
|
private |
invalidated assignment operator
const int TraCIServerAPI_Lane::StoringVisitor::myDomain |
Definition at line 104 of file TraCIServerAPI_Lane.h.
Referenced by add().
std::set<std::string>& TraCIServerAPI_Lane::StoringVisitor::myIDs |
const SUMOReal TraCIServerAPI_Lane::StoringVisitor::myRange |
Definition at line 103 of file TraCIServerAPI_Lane.h.
Referenced by add().
const PositionVector& TraCIServerAPI_Lane::StoringVisitor::myShape |
Definition at line 102 of file TraCIServerAPI_Lane.h.
Referenced by add().