Distribution Class Reference

#include <Distribution.h>

Inheritance diagram for Distribution:

Named Distribution_MeanDev Distribution_Points

Detailed Description

The base class for distribution descriptions. Only an interface specification.

Definition at line 43 of file Distribution.h.


Public Member Functions

 Distribution (const std::string &id) throw ()
 Constructor.
const std::string & getID () const throw ()
 Returns the id.
virtual SUMOReal getMax () const =0
 Returns the maximum value of this distribution.
virtual ~Distribution () throw ()
 Destructor.

Protected Attributes

std::string myID
 The name of the object.

Constructor & Destructor Documentation

Distribution::Distribution ( const std::string &  id  )  throw () [inline]

Constructor.

Definition at line 46 of file Distribution.h.

00046 : Named(id) { }

virtual Distribution::~Distribution (  )  throw () [inline, virtual]

Destructor.

Definition at line 49 of file Distribution.h.

00049 { }


Member Function Documentation

const std::string& Named::getID (  )  const throw () [inline, inherited]

Returns the id.

Returns:
The stored id

Definition at line 59 of file Named.h.

References Named::myID.

Referenced by RORouteDef_Alternatives::addAlternative(), MSRouteProbe::addRoute(), MSEmitter::MSEmitter_FileTriggeredChild::buildAndScheduleFlowVehicle(), MSCalibrator::MSCalibrator_FileTriggeredChild::buildAndScheduleFlowVehicle(), RORouteDef_Complete::buildCurrentRoute(), ODDistrictHandler::closeDistrict(), NBTrafficLightDefinition::collectLinks(), NBTrafficLightDefinition::compute(), GUIPointOfInterest::drawGL(), MSInductLoop::enterDetectorByMove(), MSVTypeProbe::execute(), MSNet::getBusStopID(), GUITriggeredRerouter::getMicrosimID(), GUIPointOfInterest::getMicrosimID(), GUILaneSpeedTrigger::getMicrosimID(), GUIInductLoop::MyWrapper::getMicrosimID(), GUIEmitter::getMicrosimID(), GUIBusStop::getMicrosimID(), GUI_E2_ZS_Collector::MyWrapper::getMicrosimID(), traci::TraCIServer::handlePoiDomain(), RORDLoader_SUMOBase::myCharacters(), NBOwnTLDef::myCompute(), NBLoadedTLDef::myCompute(), MSTriggeredRerouter::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSEmitter::MSEmitter_FileTriggeredChild::myStartElement(), MSCalibrator::MSCalibrator_FileTriggeredChild::myStartElement(), NBLoadedTLDef::SignalGroup::patchTYellow(), TraCIServerAPI_Vehicle::processGet(), MSVehicle::replaceRoute(), MSVehicle::saveState(), NBOwnTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), RORDLoader_SUMOBase::startRoute(), GUIEmitter::GUIEmitterChild_UserTriggeredChild::wrappedExecute(), NBTrafficLightLogic::writeXML(), MSRouteProbe::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and MSVehicle::~MSVehicle().

00059                                            {
00060         return myID;
00061     }

virtual SUMOReal Distribution::getMax (  )  const [pure virtual]

Returns the maximum value of this distribution.

Implemented in Distribution_MeanDev, and Distribution_Points.


Field Documentation

std::string Named::myID [protected, inherited]


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

Generated on Wed May 5 00:06:41 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6