virtual ~MSDevice()
Destructor.
SUMOVehicle & myHolder
The vehicle that stores the device.
static std::map< std::string, std::set< std::string > > myExplicitIDs
vehicles which explicitly carry a device, sorted by device, first
SUMOVehicle & getHolder() const
Returns the vehicle that holds this device.
static void buildVehicleDevices(SUMOVehicle &v, std::vector< MSDevice * > &into)
Build devices for the given vehicle, if needed.
Representation of a vehicle.
static void insertDefaultAssignmentOptions(const std::string &deviceName, const std::string &optionsTopic, OptionsCont &oc)
Adds common command options that allow to assign devices to vehicles.
Something on a lane to be noticed about vehicle movement.
Base class for objects which have an id.
Abstract in-vehicle device.
static bool equippedByDefaultAssignmentOptions(const OptionsCont &oc, const std::string &deviceName, SUMOVehicle &v)
Determines whether a vehicle should get a certain device.
A storage for options typed value containers)
static void insertOptions(OptionsCont &oc)
Inserts options for building devices.
Static storage of an output device and its base (abstract) implementation.
MSDevice & operator=(const MSDevice &)
Invalidated assignment operator.
MSDevice(SUMOVehicle &holder, const std::string &id)
Constructor.
virtual void generateOutput() const
Called on writing tripinfo output.