 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
39 myViewParent(viewParent),
40 myLocateTLS(title.find(
"TLS") != std::string::npos) {
43 std::vector<GUIGlID> ids;
45 ids.push_back(dynamic_cast<GUIGlObject*>(ac)->getGlID());
70 GNEJunction* junction = dynamic_cast<GNEJunction*>(o);
71 assert(junction !=
nullptr);
73 assert(defs.size() > 0);
void eraseACChooserDialog(GNEDialogACChooser *chooserDialog)
remove created chooser dialog
A storage for of displayed objects via their numerical id.
bool myLocateTLS
whether the current locator is for TLS
virtual void selectAttributeCarrier(bool changeFlag=true)=0
std::string getObjectName(GUIGlObject *o) const override
@bbrief retrieve name for the given object (special case for TLS)
A single child window which contains a view of the simulation area.
virtual std::string getObjectName(GUIGlObject *o) const
@bbrief retrieve name for the given object
NBNode * getNBNode() const
Return net build node.
~GNEDialogACChooser()
Destructor.
virtual bool isAttributeCarrierSelected() const =0
check if attribute carrier is selected
GNEViewParent * myViewParent
GNEDialogACChooser(GNEViewParent *viewParent, FXIcon *icon, const std::string &title, const std::vector< GNEAttributeCarrier * > &ACs)
Constructor.
const std::set< NBTrafficLightDefinition * > & getControllingTLS() const
Returns the traffic lights that were assigned to this node (The set of tls that control this node)
void toggleSelection(int listIndex) override
toggle selection (handled differently in NETEDIT)
void refreshList(const std::vector< GUIGlID > &ids)
update the list with the given ids
virtual const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
std::vector< GNEAttributeCarrier * > myACs
list of displayed ACs
The base class for traffic light logic definitions.
virtual void unselectAttributeCarrier(bool changeFlag=true)=0
unselect attribute carrier using GUIGlobalSelection