Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSChargingStationExport Class Reference

#include <MSChargingStationExport.h>

Static Public Member Functions

static void write (OutputDevice &of, bool end=false)
 Writes the recently completed charging events.
 

Private Member Functions

 MSChargingStationExport (const MSChargingStationExport &)
 Invalidated copy constructor.
 
MSChargingStationExportoperator= (const MSChargingStationExport &)
 Invalidated assignment operator.
 

Detailed Description

Definition at line 44 of file MSChargingStationExport.h.

Constructor & Destructor Documentation

◆ MSChargingStationExport()

MSChargingStationExport::MSChargingStationExport ( const MSChargingStationExport )
private

Invalidated copy constructor.

Member Function Documentation

◆ operator=()

MSChargingStationExport & MSChargingStationExport::operator= ( const MSChargingStationExport )
private

Invalidated assignment operator.

◆ write()

void MSChargingStationExport::write ( OutputDevice of,
bool  end = false 
)
static

Writes the recently completed charging events.

Any charging event which ended and hasn't been written will get its data aggregated and written to output.

Parameters
[in]ofThe output device to use
[in]endWhether the simulation ends
Exceptions
IOErrorIf an error on writing occurs (!!! not yet implemented)

Definition at line 38 of file MSChargingStationExport.cpp.

References OptionsCont::getBool(), MSNet::getInstance(), OptionsCont::getOptions(), MSNet::getStoppingPlaces(), and SUMO_TAG_CHARGING_STATION.

Referenced by MSNet::closeSimulation(), and MSNet::writeOutput().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: