 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef GUIGlObject_AbstractAdd_h
19 #define GUIGlObject_AbstractAdd_h
58 static const std::vector<GUIGlObject_AbstractAdd*>&
getObjectList();
65 static std::map<std::string, GUIGlObject_AbstractAdd*>
myObjects;
static std::vector< GUIGlID > getIDList(GUIGlObjectType typeFilter)
Returns the list of gl-ids of all additional objects that match the given type.
GUIGlObject_AbstractAdd(GUIGlObjectType type, const std::string &id)
constructor
static std::vector< GUIGlObject_AbstractAdd * > myObjectList
The list of all addtional objects currently loaded.
static void remove(GUIGlObject_AbstractAdd *o)
Removes an object.
static GUIGlObject_AbstractAdd * get(const std::string &name)
Returns a named object.
static void clearDictionary()
Clears the dictionary (the objects will not be deleted)
static const std::vector< GUIGlObject_AbstractAdd * > & getObjectList()
Returns the list of all additional objects.
static std::map< std::string, GUIGlObject_AbstractAdd * > myObjects
Map from names of loaded additional objects to the objects themselves.
~GUIGlObject_AbstractAdd()
destructor