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

APIs for getting/setting person values via TraCI. More...

#include <TraCIServerAPI_Person.h>

Static Public Member Functions

static bool processGet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a get value command (Command 0xae: Get Person Variable)
 
static bool processSet (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a set value command (Command 0xce: Change Person State)
 

Private Member Functions

TraCIServerAPI_Personoperator= (const TraCIServerAPI_Person &s)
 invalidated assignment operator
 
 TraCIServerAPI_Person (const TraCIServerAPI_Person &s)
 invalidated copy constructor
 

Detailed Description

APIs for getting/setting person values via TraCI.

Definition at line 39 of file TraCIServerAPI_Person.h.

Constructor & Destructor Documentation

◆ TraCIServerAPI_Person()

TraCIServerAPI_Person::TraCIServerAPI_Person ( const TraCIServerAPI_Person s)
private

invalidated copy constructor

Member Function Documentation

◆ operator=()

TraCIServerAPI_Person & TraCIServerAPI_Person::operator= ( const TraCIServerAPI_Person s)
private

invalidated assignment operator

◆ processGet()

bool TraCIServerAPI_Person::processGet ( TraCIServer server,
tcpip::Storage inputStorage,
tcpip::Storage outputStorage 
)
static

◆ processSet()

bool TraCIServerAPI_Person::processSet ( TraCIServer server,
tcpip::Storage inputStorage,
tcpip::Storage outputStorage 
)
static

Processes a set value command (Command 0xce: Change Person State)

Parameters
[in]serverThe TraCI-server-instance which schedules this request
[in]inputStorageThe storage to read the command from
[out]outputStorageThe storage to write the result to

Definition at line 126 of file TraCIServerAPI_Person.cpp.

References libsumo::ADD, libsumo::APPEND_STAGE, libsumo::CMD_REROUTE_TRAVELTIME, libsumo::CMD_SET_PERSON_VARIABLE, libsumo::CMD_SET_VEHICLE_VARIABLE, MSTransportableControl::get(), MSVehicleType::getID(), MSNet::getInstance(), MSNet::getPersonControl(), MSTransportable::getSingularType(), libsumo::MOVE_TO_XY, tcpip::Storage::readInt(), libsumo::StorageHelper::readStage(), tcpip::Storage::readString(), TraCIServer::readTypeCheckingByte(), TraCIServer::readTypeCheckingColor(), TraCIServer::readTypeCheckingDouble(), TraCIServer::readTypeCheckingInt(), TraCIServer::readTypeCheckingString(), TraCIServer::readTypeCheckingStringList(), tcpip::Storage::readUnsignedByte(), libsumo::REMOVE, libsumo::REMOVE_STAGE, libsumo::REPLACE_STAGE, libsumo::RTYPE_OK, TraCIServerAPI_VehicleType::setVariable(), libsumo::STAGE_DRIVING, libsumo::STAGE_WAITING, libsumo::STAGE_WALKING, toHex(), libsumo::TYPE_COMPOUND, libsumo::VAR_COLOR, libsumo::VAR_HEIGHT, libsumo::VAR_LENGTH, libsumo::VAR_MINGAP, libsumo::VAR_MOVE_TO, libsumo::VAR_PARAMETER, libsumo::VAR_SPEED, libsumo::VAR_SPEED_FACTOR, libsumo::VAR_TYPE, libsumo::VAR_WIDTH, TraCIServer::writeErrorStatusCmd(), and TraCIServer::writeStatusCmd().

Referenced by TraCIServer::TraCIServer().

Here is the caller graph for this function:

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