Eclipse SUMO - Simulation of Urban MObility
|
Builder of microsim-junctions and tls. More...
#include <NLJunctionControlBuilder.h>
Public Member Functions | |
void | addAssignment (const std::string &id, const std::string &check, const std::string &value) |
Adds an assignment to the currently built traffic lights logic. | |
bool | addCondition (const std::string &id, const std::string &value) |
Adds a condition to the currently built traffic lights logic. | |
void | addFunction (const std::string &id, int nArgs) |
adds a switching condition function to the traffic lights logic currently build | |
void | addLogicItem (int request, const std::string &response, const std::string &foes, bool cont) |
Adds a logic item. | |
void | addParam (const std::string &key, const std::string &value) |
Adds a parameter. | |
void | addPhase (MSPhaseDefinition *phase) |
Adds a phase to the currently built traffic lights logic. | |
MSJunctionControl * | build () const |
Builds the MSJunctionControl which holds all of the simulations junctions. | |
MSTLLogicControl * | buildTLLogics () |
Returns the built tls-logic control. | |
void | closeFunction () |
closes a switching condition function to the traffic lights logic currently build | |
void | closeJunction (const std::string &basePath) |
Closes (ends) the processing of the current junction. | |
virtual void | closeTrafficLightLogic (const std::string &basePath) |
Ends the building of a traffic lights logic. | |
const std::string & | getActiveKey () const |
Returns the active key. | |
const std::string & | getActiveSubKey () const |
Returns the active sub key. | |
const MSSimpleTrafficLightLogic::Phases & | getLoadedPhases () const |
return the phases loaded so far (for error reporting and cleanup) | |
MSTLLogicControl::TLSLogicVariants & | getTLLogic (const std::string &id) const |
Returns a previously build tls logic. | |
MSTLLogicControl & | getTLLogicControlToUse () const |
Returns the used tls control. | |
void | initJunctionLogic (const std::string &id) |
Initialises a junction logic. | |
void | initTrafficLightLogic (const std::string &id, const std::string &programID, TrafficLightType type, SUMOTime offset) |
Begins the reading of a traffic lights logic. | |
void | netIsLoaded () |
NLJunctionControlBuilder (MSNet &net, NLDetectorBuilder &db) | |
Constructor. | |
void | openJunction (const std::string &id, const std::string &key, const SumoXMLNodeType type, const Position pos, const PositionVector &shape, const std::vector< MSLane * > &incomingLanes, const std::vector< MSLane * > &internalLanes, const std::string &name) |
Begins the processing of the named junction. | |
void | postLoadInitialization () |
initialize junctions after all connections have been loaded | |
MSJunction * | retrieve (const std::string id) |
try to retrieve junction by id | |
virtual | ~NLJunctionControlBuilder () |
Destructor. | |
Protected Types | |
typedef Parameterised::Map | StringParameterMap |
Definition of a parameter map (key->value) | |
Protected Member Functions | |
Factory methods, virtual so that other versions of the structures can be built | |
virtual MSJunction * | buildNoLogicJunction () |
Builds a junction that does not use a logic. | |
virtual MSJunction * | buildLogicJunction (MSJunctionLogic *const logic) |
Builds a junction with a logic. | |
virtual MSJunction * | buildInternalJunction () |
Builds an internal junction. | |
Protected Attributes | |
SUMOTime | myAbsDuration |
The absolute duration of a tls-control loop. | |
MSActuatedTrafficLightLogic::AssignmentMap | myActiveAssignments |
The current assignments for an actuated traffic light. | |
MSActuatedTrafficLightLogic::ConditionMap | myActiveConditions |
The current switching conditions for an actuated traffic light. | |
std::bitset< SUMO_MAX_CONNECTIONS > | myActiveConts |
The description about which lanes have an internal follower. | |
MSBitsetLogic::Foes | myActiveFoes |
The description about which lanes disallow other passing the junction simultaneously. | |
MSActuatedTrafficLightLogic::Function | myActiveFunction |
The current function for an actuated traffic light. | |
MSActuatedTrafficLightLogic::FunctionMap | myActiveFunctions |
The current functions for an actuated traffic light. | |
std::string | myActiveID |
The id of the currently chosen junction. | |
LaneVector | myActiveIncomingLanes |
The list of the incoming lanes of the currently chosen junction. | |
LaneVector | myActiveInternalLanes |
The list of the internal lanes of the currently chosen junction. | |
std::string | myActiveKey |
The key of the currently chosen junction. | |
MSBitsetLogic::Logic | myActiveLogic |
The right-of-way-logic of the currently chosen bitset-logic. | |
std::string | myActiveName |
the name of the current junction | |
MSSimpleTrafficLightLogic::Phases | myActivePhases |
The current phase definitions for a simple traffic light. | |
std::string | myActiveProgram |
std::vector< MSTrafficLightLogic * > | myAdditionalLogics |
StringParameterMap | myAdditionalParameter |
Parameter map (key->value) | |
bool | myCurrentHasError |
Information whether the current logic had an error. | |
NLDetectorBuilder & | myDetectorBuilder |
The detector builder to use. | |
MSJunctionControl * | myJunctions |
The junctions controls. | |
MSTLLogicControl * | myLogicControl |
The tls control to use (0 if net's tls control shall be used) | |
std::map< MSTrafficLightLogic *, StringParameterMap > | myLogicParams |
TrafficLightType | myLogicType |
The current logic type. | |
MSNet & | myNet |
The net to use. | |
std::vector< MSTrafficLightLogic * > | myNetworkLogics |
The container for information which junctions shall be initialised using which values. | |
SUMOTime | myOffset |
The switch offset within the tls. | |
Position | myPosition |
The position of the junction. | |
std::vector< MSTrafficLightLogic * > | myRailSignals |
int | myRequestItemNumber |
Counter for the inserted items. | |
int | myRequestSize |
The size of the request. | |
PositionVector | myShape |
The shape of the current junction. | |
SumoXMLNodeType | myType |
The type of the currently chosen junction. | |
Private Types | |
typedef std::vector< MSLane * > | LaneVector |
Definition of a lane vector. | |
Private Member Functions | |
NLJunctionControlBuilder (const NLJunctionControlBuilder &s) | |
invalidated copy operator | |
NLJunctionControlBuilder & | operator= (const NLJunctionControlBuilder &s) |
invalidated assignment operator | |
Private Attributes | |
bool | myNetIsLoaded |
whether the network has been loaded | |
Static Private Attributes | |
static const int | NO_REQUEST_SIZE = -1 |
Builder of microsim-junctions and tls.
NLJunctionControlBuilder is a factory for MSJunction, MSJunctionLogic, WAUT, and MSTRafficLightLogic-instances.
Refactor this class - it's too large
Resort method by one of the topics.
Definition at line 60 of file NLJunctionControlBuilder.h.
|
private |
Definition of a lane vector.
Definition at line 63 of file NLJunctionControlBuilder.h.
|
protected |
Definition of a parameter map (key->value)
Definition at line 370 of file NLJunctionControlBuilder.h.
NLJunctionControlBuilder::NLJunctionControlBuilder | ( | MSNet & | net, |
NLDetectorBuilder & | db | ||
) |
Constructor.
Stores default values for extended tls reading them from the given options. Builds a MSTLLogicControl instance for myLogicControl.
[in] | net | The network to fill |
[in] | db | The detector builder to use |
Definition at line 69 of file NLJunctionControlBuilder.cpp.
References myLogicControl.
|
virtual |
Destructor.
Deletes previously allocated "myLogicControl" and "myJunctions" if they were not previously returned (this may happen if an error occurred).
Definition at line 79 of file NLJunctionControlBuilder.cpp.
References myJunctions, and myLogicControl.
|
private |
invalidated copy operator
void NLJunctionControlBuilder::addAssignment | ( | const std::string & | id, |
const std::string & | check, | ||
const std::string & | value | ||
) |
Adds an assignment to the currently built traffic lights logic.
[in] | id | the condition id |
[in] | check | the check condition that guards the assignment |
[in] | value | the assigned expression |
Definition at line 447 of file NLJunctionControlBuilder.cpp.
References MSActuatedTrafficLightLogic::Function::assignments, MSActuatedTrafficLightLogic::Function::id, myActiveAssignments, and myActiveFunction.
Referenced by NLHandler::addAssignment().
bool NLJunctionControlBuilder::addCondition | ( | const std::string & | id, |
const std::string & | value | ||
) |
Adds a condition to the currently built traffic lights logic.
[in] | id | the condition id |
[in] | value | the condition expression |
Definition at line 436 of file NLJunctionControlBuilder.cpp.
References myActiveConditions.
Referenced by NLHandler::addCondition().
void NLJunctionControlBuilder::addFunction | ( | const std::string & | id, |
int | nArgs | ||
) |
adds a switching condition function to the traffic lights logic currently build
[in] | id | the function id |
[in] | nArgs | the number of arguments |
Definition at line 457 of file NLJunctionControlBuilder.cpp.
References MSActuatedTrafficLightLogic::Function::id, myActiveFunction, and MSActuatedTrafficLightLogic::Function::nArgs.
Referenced by NLHandler::addFunction().
void NLJunctionControlBuilder::addLogicItem | ( | int | request, |
const std::string & | response, | ||
const std::string & | foes, | ||
bool | cont | ||
) |
Adds a logic item.
Adds a logic item to the current processed logic. Throws an InvalidArgument if the current request size (myRequestSize) is 0 or lower.
[in] | request | The request (~link) index |
[in] | response | The response (list of higher priorised links) |
[in] | foes | List of foes to the request |
[in] | cont | Whether the request is followed by an internal end |
Definition at line 368 of file NLJunctionControlBuilder.cpp.
References myActiveConts, myActiveFoes, myActiveKey, myActiveLogic, myCurrentHasError, myRequestItemNumber, myRequestSize, NO_REQUEST_SIZE, SUMO_MAX_CONNECTIONS, and toString().
Referenced by NLHandler::addRequest().
void NLJunctionControlBuilder::addParam | ( | const std::string & | key, |
const std::string & | value | ||
) |
Adds a parameter.
[in] | key | The key of the parameter |
[in] | value | The value of the parameter |
Where are these parameter used? Describe!
Can a parameter be overwritten?
Definition at line 487 of file NLJunctionControlBuilder.cpp.
References myAdditionalParameter.
Referenced by NLHandler::addParam().
void NLJunctionControlBuilder::addPhase | ( | MSPhaseDefinition * | phase | ) |
Adds a phase to the currently built traffic lights logic.
[in] | phase | The new phase |
Definition at line 427 of file NLJunctionControlBuilder.cpp.
References MSPhaseDefinition::duration, myAbsDuration, and myActivePhases.
Referenced by NLHandler::addPhase().
MSJunctionControl * NLJunctionControlBuilder::build | ( | ) | const |
Builds the MSJunctionControl which holds all of the simulations junctions.
Returns the previously built junction control ("myJunctions"). "myJunctions" is set to 0, so that it will not be destroyed by the destructor.
Definition at line 170 of file NLJunctionControlBuilder.cpp.
References myJunctions.
Referenced by NLBuilder::buildNet().
|
protectedvirtual |
Builds an internal junction.
Builds a MSInternalJunction
Definition at line 192 of file NLJunctionControlBuilder.cpp.
References myActiveID, myActiveIncomingLanes, myActiveInternalLanes, myPosition, myShape, and myType.
Referenced by closeJunction().
|
protectedvirtual |
Builds a junction with a logic.
Builds a MSRightOfWayJunction. Throws an exception if the logic was not built.
InvalidArgument | If the logic of the junction was not built before |
Definition at line 185 of file NLJunctionControlBuilder.cpp.
References myActiveID, myActiveIncomingLanes, myActiveInternalLanes, myActiveName, myPosition, myShape, and myType.
Referenced by closeJunction().
|
protectedvirtual |
Builds a junction that does not use a logic.
Builds a MSNoLogicJunction
Definition at line 178 of file NLJunctionControlBuilder.cpp.
References myActiveID, myActiveIncomingLanes, myActiveInternalLanes, myActiveName, myPosition, myShape, and myType.
Referenced by closeJunction().
MSTLLogicControl * NLJunctionControlBuilder::buildTLLogics | ( | ) |
Returns the built tls-logic control.
Returns the junction control ("myLogicControl") built using MSTLLogicControl::closeNetworkReading. "myLogicControl" is set to 0, so that it will not be destroyed by the destructor.
ProcessError | If the traffic lights were not correct |
Definition at line 472 of file NLJunctionControlBuilder.cpp.
References MSTLLogicControl::closeNetworkReading(), myDetectorBuilder, myLogicControl, myNetIsLoaded, myRailSignals, and TL.
Referenced by NLBuilder::buildNet().
void NLJunctionControlBuilder::closeFunction | ( | ) |
closes a switching condition function to the traffic lights logic currently build
Definition at line 464 of file NLJunctionControlBuilder.cpp.
References MSActuatedTrafficLightLogic::Function::assignments, MSActuatedTrafficLightLogic::Function::id, myActiveFunction, and myActiveFunctions.
Referenced by NLHandler::closeFunction().
void NLJunctionControlBuilder::closeJunction | ( | const std::string & | basePath | ) |
Closes (ends) the processing of the current junction.
This method throws an InvalidArgument when a junction with the same id as the current was already added or if the junction type stored in "myType" is invalid. It throws a ProcessError if the container to store the junction in was not built before.
InvalidArgument | If the current id is already used or the junction type was invalid |
ProcessError | If the container to store the junction in was not built before |
Throwing ProcessError would get unneeded if the container would be built by default (see prepare)
The type of the junctions shoould probably be checked when supprted (in openJunction)
Definition at line 107 of file NLJunctionControlBuilder.cpp.
References NamedObjectCont< T >::add(), ALLWAY_STOP, buildInternalJunction(), buildLogicJunction(), buildNoLogicJunction(), closeTrafficLightLogic(), DEAD_END, DEAD_END_DEPRECATED, DISTRICT, MSGlobals::gUsingInternalLanes, INTERNAL, LEFT_BEFORE_RIGHT, myActiveConts, myActiveFoes, myActiveID, myActiveKey, myActiveLogic, myActiveProgram, myAdditionalParameter, myCurrentHasError, myJunctions, myLogicType, myOffset, myRequestItemNumber, myRequestSize, myType, NO_REQUEST_SIZE, NOJUNCTION, PRIORITY, PRIORITY_STOP, RAIL_CROSSING, RAIL_SIGNAL, RIGHT_BEFORE_LEFT, TL, TRAFFIC_LIGHT, TRAFFIC_LIGHT_NOJUNCTION, TRAFFIC_LIGHT_RIGHT_ON_RED, Parameterised::updateParameters(), WRITE_WARNINGF, and ZIPPER.
Referenced by NLHandler::myEndElement().
|
virtual |
Ends the building of a traffic lights logic.
Builds the correct type of a MSTrafficLightLogic using the stored information. Tries to add it to the used tls control. Throws an InvalidArgument if this is not possible (another tls logic with the same name exists).
InvalidArgument | If another tls logic with the same name as the currently built was loaded before |
Definition at line 206 of file NLJunctionControlBuilder.cpp.
References ACTUATED, MSTrafficLightLogic::changeStepAndDuration(), DELAYBASED, DELTA_T, MSTLLogicControl::get(), MSNet::getCurrentTimeStep(), MSTrafficLightLogic::getDefaultCycleTime(), MSTrafficLightLogic::getLogicType(), MSTrafficLightLogic::getPhases(), getTLLogicControlToUse(), HILVL_DETERMINISTIC, INVALID, myAbsDuration, myActiveAssignments, myActiveConditions, myActiveFunctions, myActiveKey, myActivePhases, myActiveProgram, myAdditionalLogics, myAdditionalParameter, myLogicParams, myLogicType, myNet, myNetIsLoaded, myNetworkLogics, myOffset, myRailSignals, NEMA, OFF, RAIL_CROSSING, RAIL_SIGNAL, SOTL_MARCHING, SOTL_PHASE, SOTL_PLATOON, SOTL_REQUEST, SOTL_WAVE, STATIC, SWARM_BASED, TL, TLF, toString(), Parameterised::updateParameters(), and WRITE_ERRORF.
Referenced by closeJunction(), and NLHandler::myEndElement().
const std::string & NLJunctionControlBuilder::getActiveKey | ( | ) | const |
Returns the active key.
Definition at line 503 of file NLJunctionControlBuilder.cpp.
References myActiveKey.
Referenced by NLHandler::addCondition(), and NLHandler::addPhase().
const std::string & NLJunctionControlBuilder::getActiveSubKey | ( | ) | const |
Returns the active sub key.
Definition at line 509 of file NLJunctionControlBuilder.cpp.
References myActiveProgram.
Referenced by NLHandler::addPhase().
|
inline |
return the phases loaded so far (for error reporting and cleanup)
Definition at line 258 of file NLJunctionControlBuilder.h.
References myActivePhases.
Referenced by NLHandler::addPhase(), and NLHandler::myEndElement().
MSTLLogicControl::TLSLogicVariants & NLJunctionControlBuilder::getTLLogic | ( | const std::string & | id | ) | const |
Returns a previously build tls logic.
[in] | id | The ID of the tls logic to return |
InvalidArgument | If the named tls logic was not built before |
Definition at line 200 of file NLJunctionControlBuilder.cpp.
References MSTLLogicControl::get(), and getTLLogicControlToUse().
Referenced by NLHandler::addConnection(), and NLHandler::addE2Detector().
MSTLLogicControl & NLJunctionControlBuilder::getTLLogicControlToUse | ( | ) | const |
Returns the used tls control.
This may be either the internal one ("myLogicControl"), or, if the network has been already loaded and we are loading additional tls programs, the net's logic control.
Definition at line 494 of file NLJunctionControlBuilder.cpp.
References MSNet::getTLSControl(), myLogicControl, and myNet.
Referenced by NLHandler::addDeadlock(), NLHandler::addWAUTJunction(), NLHandler::addWAUTSwitch(), closeTrafficLightLogic(), NLHandler::closeWAUT(), getTLLogic(), NLHandler::initTrafficLightLogic(), and NLHandler::openWAUT().
void NLJunctionControlBuilder::initJunctionLogic | ( | const std::string & | id | ) |
Initialises a junction logic.
[in] | id | The id of the row-logic |
Definition at line 355 of file NLJunctionControlBuilder.cpp.
References myActiveConts, myActiveFoes, myActiveKey, myActiveLogic, myActiveProgram, myCurrentHasError, myRequestItemNumber, myRequestSize, and NO_REQUEST_SIZE.
Referenced by NLHandler::initJunctionLogic().
void NLJunctionControlBuilder::initTrafficLightLogic | ( | const std::string & | id, |
const std::string & | programID, | ||
TrafficLightType | type, | ||
SUMOTime | offset | ||
) |
Begins the reading of a traffic lights logic.
[in] | id | The id of the tls |
[in] | programID | The id of the currently loaded program |
[in] | type | The type of the tls |
[in] | offset | The offset to start with |
Why is the type not verified?
Recheck, describe usage of detectorOffset (where does the information come from?)
Definition at line 410 of file NLJunctionControlBuilder.cpp.
References myAbsDuration, myActiveAssignments, myActiveConditions, myActiveFunctions, myActiveKey, myActivePhases, myActiveProgram, myAdditionalParameter, myLogicType, myOffset, myRequestSize, and NO_REQUEST_SIZE.
Referenced by NLHandler::initTrafficLightLogic().
|
inline |
Definition at line 262 of file NLJunctionControlBuilder.h.
References myNetIsLoaded.
void NLJunctionControlBuilder::openJunction | ( | const std::string & | id, |
const std::string & | key, | ||
const SumoXMLNodeType | type, | ||
const Position | pos, | ||
const PositionVector & | shape, | ||
const std::vector< MSLane * > & | incomingLanes, | ||
const std::vector< MSLane * > & | internalLanes, | ||
const std::string & | name | ||
) |
Begins the processing of the named junction.
[in] | id | The ID of the junction |
[in] | key | unused?! |
[in] | type | The type of the junction |
[in] | x | x-position of the junction |
[in] | y | y-position of the junction |
[in] | shape | The shape of the junction |
[in] | incomingLanes | List of lanes which end at this intersection |
[in] | internalLanes | List of internal lanes across this intersection |
InvalidArgument | If the junction type is not known |
Definition at line 86 of file NLJunctionControlBuilder.cpp.
References myActiveID, myActiveIncomingLanes, myActiveInternalLanes, myActiveKey, myActiveName, myAdditionalParameter, myPosition, myShape, myType, and Position::set().
Referenced by NLHandler::openJunction().
|
private |
invalidated assignment operator
void NLJunctionControlBuilder::postLoadInitialization | ( | ) |
initialize junctions after all connections have been loaded
Definition at line 515 of file NLJunctionControlBuilder.cpp.
References myAdditionalLogics, myDetectorBuilder, myLogicParams, and myNetworkLogics.
Referenced by NLBuilder::build().
MSJunction * NLJunctionControlBuilder::retrieve | ( | const std::string | id | ) |
try to retrieve junction by id
Definition at line 530 of file NLJunctionControlBuilder.cpp.
References NamedObjectCont< T >::get(), and myJunctions.
Referenced by NLHandler::myEndElement().
|
protected |
The absolute duration of a tls-control loop.
Definition at line 361 of file NLJunctionControlBuilder.h.
Referenced by addPhase(), closeTrafficLightLogic(), and initTrafficLightLogic().
|
protected |
The current assignments for an actuated traffic light.
Definition at line 325 of file NLJunctionControlBuilder.h.
Referenced by addAssignment(), closeTrafficLightLogic(), and initTrafficLightLogic().
|
protected |
The current switching conditions for an actuated traffic light.
Definition at line 322 of file NLJunctionControlBuilder.h.
Referenced by addCondition(), closeTrafficLightLogic(), and initTrafficLightLogic().
|
protected |
The description about which lanes have an internal follower.
Definition at line 316 of file NLJunctionControlBuilder.h.
Referenced by addLogicItem(), closeJunction(), and initJunctionLogic().
|
protected |
The description about which lanes disallow other passing the junction simultaneously.
Definition at line 313 of file NLJunctionControlBuilder.h.
Referenced by addLogicItem(), closeJunction(), and initJunctionLogic().
|
protected |
The current function for an actuated traffic light.
Definition at line 331 of file NLJunctionControlBuilder.h.
Referenced by addAssignment(), addFunction(), and closeFunction().
|
protected |
The current functions for an actuated traffic light.
Definition at line 328 of file NLJunctionControlBuilder.h.
Referenced by closeFunction(), closeTrafficLightLogic(), and initTrafficLightLogic().
|
protected |
The id of the currently chosen junction.
Definition at line 349 of file NLJunctionControlBuilder.h.
Referenced by buildInternalJunction(), buildLogicJunction(), buildNoLogicJunction(), closeJunction(), and openJunction().
|
protected |
The list of the incoming lanes of the currently chosen junction.
Definition at line 343 of file NLJunctionControlBuilder.h.
Referenced by buildInternalJunction(), buildLogicJunction(), buildNoLogicJunction(), and openJunction().
|
protected |
The list of the internal lanes of the currently chosen junction.
Definition at line 346 of file NLJunctionControlBuilder.h.
Referenced by buildInternalJunction(), buildLogicJunction(), buildNoLogicJunction(), and openJunction().
|
protected |
The key of the currently chosen junction.
Definition at line 352 of file NLJunctionControlBuilder.h.
Referenced by addLogicItem(), closeJunction(), closeTrafficLightLogic(), getActiveKey(), initJunctionLogic(), initTrafficLightLogic(), and openJunction().
|
protected |
The right-of-way-logic of the currently chosen bitset-logic.
Definition at line 310 of file NLJunctionControlBuilder.h.
Referenced by addLogicItem(), closeJunction(), and initJunctionLogic().
|
protected |
the name of the current junction
Definition at line 367 of file NLJunctionControlBuilder.h.
Referenced by buildLogicJunction(), buildNoLogicJunction(), and openJunction().
|
protected |
The current phase definitions for a simple traffic light.
Definition at line 319 of file NLJunctionControlBuilder.h.
Referenced by addPhase(), closeTrafficLightLogic(), getLoadedPhases(), and initTrafficLightLogic().
|
protected |
Definition at line 352 of file NLJunctionControlBuilder.h.
Referenced by closeJunction(), closeTrafficLightLogic(), getActiveSubKey(), initJunctionLogic(), and initTrafficLightLogic().
|
protected |
Definition at line 374 of file NLJunctionControlBuilder.h.
Referenced by closeTrafficLightLogic(), and postLoadInitialization().
|
protected |
Parameter map (key->value)
Definition at line 382 of file NLJunctionControlBuilder.h.
Referenced by addParam(), closeJunction(), closeTrafficLightLogic(), initTrafficLightLogic(), and openJunction().
|
protected |
Information whether the current logic had an error.
Definition at line 385 of file NLJunctionControlBuilder.h.
Referenced by addLogicItem(), closeJunction(), and initJunctionLogic().
|
protected |
The detector builder to use.
Definition at line 301 of file NLJunctionControlBuilder.h.
Referenced by buildTLLogics(), and postLoadInitialization().
|
mutableprotected |
The junctions controls.
Definition at line 340 of file NLJunctionControlBuilder.h.
Referenced by build(), closeJunction(), retrieve(), and ~NLJunctionControlBuilder().
|
mutableprotected |
The tls control to use (0 if net's tls control shall be used)
Definition at line 379 of file NLJunctionControlBuilder.h.
Referenced by buildTLLogics(), getTLLogicControlToUse(), NLJunctionControlBuilder(), and ~NLJunctionControlBuilder().
|
protected |
Definition at line 376 of file NLJunctionControlBuilder.h.
Referenced by closeTrafficLightLogic(), and postLoadInitialization().
|
protected |
The current logic type.
Definition at line 307 of file NLJunctionControlBuilder.h.
Referenced by closeJunction(), closeTrafficLightLogic(), and initTrafficLightLogic().
|
protected |
The net to use.
Definition at line 298 of file NLJunctionControlBuilder.h.
Referenced by closeTrafficLightLogic(), and getTLLogicControlToUse().
|
private |
whether the network has been loaded
Definition at line 397 of file NLJunctionControlBuilder.h.
Referenced by buildTLLogics(), closeTrafficLightLogic(), and netIsLoaded().
|
protected |
The container for information which junctions shall be initialised using which values.
Definition at line 373 of file NLJunctionControlBuilder.h.
Referenced by closeTrafficLightLogic(), and postLoadInitialization().
|
protected |
The switch offset within the tls.
Definition at line 304 of file NLJunctionControlBuilder.h.
Referenced by closeJunction(), closeTrafficLightLogic(), and initTrafficLightLogic().
|
protected |
The position of the junction.
Definition at line 358 of file NLJunctionControlBuilder.h.
Referenced by buildInternalJunction(), buildLogicJunction(), buildNoLogicJunction(), and openJunction().
|
protected |
Definition at line 375 of file NLJunctionControlBuilder.h.
Referenced by buildTLLogics(), and closeTrafficLightLogic().
|
protected |
Counter for the inserted items.
Definition at line 337 of file NLJunctionControlBuilder.h.
Referenced by addLogicItem(), closeJunction(), and initJunctionLogic().
|
protected |
The size of the request.
Definition at line 334 of file NLJunctionControlBuilder.h.
Referenced by addLogicItem(), closeJunction(), initJunctionLogic(), and initTrafficLightLogic().
|
protected |
The shape of the current junction.
Definition at line 364 of file NLJunctionControlBuilder.h.
Referenced by buildInternalJunction(), buildLogicJunction(), buildNoLogicJunction(), and openJunction().
|
protected |
The type of the currently chosen junction.
Definition at line 355 of file NLJunctionControlBuilder.h.
Referenced by buildInternalJunction(), buildLogicJunction(), buildNoLogicJunction(), closeJunction(), and openJunction().
|
staticprivate |
Definition at line 394 of file NLJunctionControlBuilder.h.
Referenced by addLogicItem(), closeJunction(), initJunctionLogic(), and initTrafficLightLogic().