Eclipse SUMO - Simulation of Urban MObility
LIBSUMO_NAMESPACE::VehicleType Class Reference

#include <VehicleType.h>

Static Public Member Functions

LIBSUMO_VEHICLE_TYPE_GETTER LIBSUMO_ID_PARAMETER_API static LIBSUMO_VEHICLE_TYPE_SETTER void copy (const std::string &origTypeID, const std::string &newTypeID)
 
static double getScale (const std::string &typeID)
 
static LIBSUMO_SUBSCRIPTION_API MSVehicleTypegetVType (std::string id)
 
static bool handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
 
static bool handleVariableWithID (const std::string &objID, const std::string &typeID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
 
static std::shared_ptr< VariableWrapper > makeWrapper ()
 
static void setScale (const std::string &typeID, double 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 95 of file VehicleType.h.

Constructor & Destructor Documentation

◆ VehicleType()

LIBSUMO_NAMESPACE::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 392 of file libsumo/VehicleType.cpp.

◆ getScale()

double VehicleType::getScale ( const std::string &  typeID)
static

Definition at line 216 of file libsumo/VehicleType.cpp.

◆ getVType()

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

◆ handleVariable()

bool VehicleType::handleVariable ( const std::string &  objID,
const int  variable,
VariableWrapper *  wrapper,
tcpip::Storage paramData 
)
static

Definition at line 440 of file libsumo/VehicleType.cpp.

◆ handleVariableWithID()

◆ makeWrapper()

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

Definition at line 434 of file libsumo/VehicleType.cpp.

◆ setScale()

void VehicleType::setScale ( const std::string &  typeID,
double  value 
)
static

Definition at line 387 of file libsumo/VehicleType.cpp.

◆ setSpeedDeviation()

void VehicleType::setSpeedDeviation ( const std::string &  typeID,
double  deviation 
)
static

Definition at line 273 of file libsumo/VehicleType.cpp.

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults VehicleType::myContextSubscriptionResults
staticprivate

Definition at line 121 of file VehicleType.h.

◆ mySubscriptionResults

SubscriptionResults VehicleType::mySubscriptionResults
staticprivate

Definition at line 120 of file VehicleType.h.


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