SUMO - Simulation of Urban MObility

TraCIServerAPI_POI Class Reference

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

#include <TraCIServerAPI_POI.h>

Static Public Member Functions

static bool processGet (traci::TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a get value command (Command 0xa7: Get PoI Variable)
static bool processSet (traci::TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a set value command (Command 0xc7: Change PoI State)

Private Member Functions

TraCIServerAPI_POI & operator= (const TraCIServerAPI_POI &s)
 invalidated assignment operator
 TraCIServerAPI_POI (const TraCIServerAPI_POI &s)
 invalidated copy constructor

Detailed Description

APIs for getting/setting POI values via TraCI.

Definition at line 48 of file TraCIServerAPI_POI.h.


Constructor & Destructor Documentation

TraCIServerAPI_POI::TraCIServerAPI_POI ( const TraCIServerAPI_POI &  s) [private]

invalidated copy constructor


Member Function Documentation

TraCIServerAPI_POI& TraCIServerAPI_POI::operator= ( const TraCIServerAPI_POI &  s) [private]

invalidated assignment operator

bool TraCIServerAPI_POI::processGet ( traci::TraCIServer &  server,
tcpip::Storage &  inputStorage,
tcpip::Storage &  outputStorage 
) [static]
bool TraCIServerAPI_POI::processSet ( traci::TraCIServer &  server,
tcpip::Storage &  inputStorage,
tcpip::Storage &  outputStorage 
) [static]

Processes a set value command (Command 0xc7: Change PoI 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 125 of file TraCIServerAPI_POI.cpp.

References ADD, ShapeContainer::addPoI(), CMD_SET_POI_VARIABLE, MSNet::getInstance(), ShapeContainer::getMaxLayer(), ShapeContainer::getMinLayer(), ShapeContainer::getPOICont(), MSNet::getShapeContainer(), ShapeContainer::movePoI(), POSITION_2D, REMOVE, ShapeContainer::removePoI(), RTYPE_ERR, RTYPE_OK, PointOfInterest::setType(), SUMOReal, TYPE_COLOR, TYPE_COMPOUND, TYPE_INTEGER, TYPE_STRING, VAR_COLOR, VAR_POSITION, VAR_TYPE, and traci::TraCIServer::writeStatusCmd().


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines