Named Class Reference

#include <Named.h>

Inheritance diagram for Named:

Distribution MSE2Collector MSInductLoop MSRoute MSRouteProbe MSTrigger MSVTypeProbe NBLoadedTLDef::SignalGroup NBTrafficLightDefinition NBTrafficLightLogic ODDistrict PointOfInterest ROLane RONode RORoute RORouteDef

Detailed Description

Base class for objects which do have an id.

Definition at line 42 of file Named.h.


Public Member Functions

const std::string & getID () const throw ()
 Returns the id.
 Named (const std::string &id) throw ()
 Constructor.
virtual ~Named () throw ()
 Destructor.

Protected Attributes

std::string myID
 The name of the object.

Constructor & Destructor Documentation

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

Constructor.

Parameters:
[in] id The id of the object

Definition at line 48 of file Named.h.

00048 : myID(id) { }

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

Destructor.

Definition at line 52 of file Named.h.

00052 { }


Member Function Documentation

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

Returns the id.

Returns:
The stored id

Definition at line 59 of file Named.h.

References 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     }


Field Documentation

std::string Named::myID [protected]


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

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