SUMO - Simulation of Urban MObility
libsumo::VehicleType Class Reference

#include <VehicleType.h>

Collaboration diagram for libsumo::VehicleType:
Collaboration graph

Static Public Member Functions

static LIBSUMO_VEHICLE_TYPE_SETTER void copy (const std::string &origTypeID, const std::string &newTypeID)
 
static int getIDCount ()
 
static std::vector< std::string > getIDList ()
 
static LIBSUMO_VEHICLE_TYPE_GETTER std::string getParameter (const std::string &typeID, const std::string &key)
 
static MSVehicleTypegetVType (std::string id)
 
static bool handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper)
 
static LIBSUMO_SUBSCRIPTION_API std::shared_ptr< VariableWrappermakeWrapper ()
 
static void setParameter (const std::string &id, const std::string &name, const std::string &value)
 
static void setSpeedDeviation (const std::string &typeID, double deviation)
 

Private Member Functions

 VehicleType ()=delete
 invalidated standard constructor More...
 

Static Private Attributes

static ContextSubscriptionResults myContextSubscriptionResults
 
static SubscriptionResults mySubscriptionResults
 

Detailed Description

Definition at line 92 of file VehicleType.h.

Constructor & Destructor Documentation

◆ VehicleType()

libsumo::VehicleType::VehicleType ( )
privatedelete

invalidated standard constructor

Member Function Documentation

◆ copy()

void VehicleType::copy ( const std::string &  origTypeID,
const std::string &  newTypeID 
)
static

Definition at line 331 of file VehicleType.cpp.

References MSVehicleType::duplicateType(), and getVType().

Referenced by TraCIServerAPI_VehicleType::setVariable().

◆ getIDCount()

◆ getIDList()

std::vector< std::string > VehicleType::getIDList ( )
static

◆ getParameter()

◆ getVType()

MSVehicleType * VehicleType::getVType ( std::string  id)
static

◆ handleVariable()

◆ makeWrapper()

std::shared_ptr< VariableWrapper > VehicleType::makeWrapper ( )
static

◆ setParameter()

void VehicleType::setParameter ( const std::string &  id,
const std::string &  name,
const std::string &  value 
)
static

◆ setSpeedDeviation()

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults VehicleType::myContextSubscriptionResults
staticprivate

Definition at line 114 of file VehicleType.h.

Referenced by makeWrapper().

◆ mySubscriptionResults

SubscriptionResults VehicleType::mySubscriptionResults
staticprivate

Definition at line 113 of file VehicleType.h.

Referenced by makeWrapper().


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