Eclipse SUMO - Simulation of Urban MObility
|
#include <AGActivityTripWriter.h>
Public Member Functions | |
void | addTrip (const AGTrip &trip) |
AGActivityTripWriter (OutputDevice &file) | |
Private Member Functions | |
AGActivityTripWriter (const AGActivityTripWriter &) | |
Invalidated copy constructor. | |
AGActivityTripWriter & | operator= (const AGActivityTripWriter &) |
Invalidated assignment operator. | |
Private Attributes | |
OutputDevice & | myTripOutput |
Definition at line 38 of file AGActivityTripWriter.h.
AGActivityTripWriter::AGActivityTripWriter | ( | OutputDevice & | file | ) |
Definition at line 36 of file AGActivityTripWriter.cpp.
References RGBColor::BLUE, OutputDevice::closeTag(), RGBColor::GREEN, OutputDevice::lf(), myTripOutput, OutputDevice::openTag(), RGBColor::RED, SUMO_ATTR_COLOR, SUMO_ATTR_ID, SUMO_ATTR_VCLASS, SUMO_TAG_VTYPE, and OutputDevice::writeAttr().
|
private |
Invalidated copy constructor.
void AGActivityTripWriter::addTrip | ( | const AGTrip & | trip | ) |
Definition at line 54 of file AGActivityTripWriter.cpp.
References OutputDevice::closeTag(), AGTrip::getArr(), AGTrip::getDay(), AGTrip::getDep(), Named::getID(), AGTrip::getPassed(), AGPosition::getPosition(), AGPosition::getStreet(), AGTrip::getTime(), AGTrip::getType(), AGTrip::getVehicleName(), myTripOutput, OutputDevice::openTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_DEPART, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_TO, SUMO_ATTR_TYPE, SUMO_ATTR_VIA, SUMO_TAG_TRIP, TIME2STEPS, time2string(), and OutputDevice::writeAttr().
Referenced by AGActivityGen::generateOutputFile().
|
private |
Invalidated assignment operator.
|
private |
Definition at line 45 of file AGActivityTripWriter.h.
Referenced by addTrip(), and AGActivityTripWriter().