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