Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
TraCIServer::SocketInfo Struct Reference
Collaboration diagram for TraCIServer::SocketInfo:
[legend]

Public Member Functions

 SocketInfo (tcpip::Socket *socket, SUMOTime t)
 constructor
 
 ~SocketInfo ()
 destructor
 

Data Fields

bool executeMove = false
 whether a "half step" has been done, executing only the move
 
tcpip::Socketsocket
 Socket object for this client.
 
SUMOTime targetTime
 next point of action for the client
 
std::map< MSNet::TransportableState, std::vector< std::string > > transportableStateChanges
 container for transportable state changes since last step taken by this client
 
std::map< MSNet::VehicleState, std::vector< std::string > > vehicleStateChanges
 container for vehicle state changes since last step taken by this client
 

Private Member Functions

 SocketInfo (const SocketInfo &)
 

Detailed Description

Definition at line 291 of file TraCIServer.h.

Constructor & Destructor Documentation

◆ SocketInfo() [1/2]

TraCIServer::SocketInfo::SocketInfo ( tcpip::Socket socket,
SUMOTime  t 
)
inline

constructor

Definition at line 294 of file TraCIServer.h.

◆ ~SocketInfo()

TraCIServer::SocketInfo::~SocketInfo ( )
inline

destructor

Definition at line 297 of file TraCIServer.h.

References socket.

◆ SocketInfo() [2/2]

TraCIServer::SocketInfo::SocketInfo ( const SocketInfo )
private

Field Documentation

◆ executeMove

bool TraCIServer::SocketInfo::executeMove = false

whether a "half step" has been done, executing only the move

Definition at line 303 of file TraCIServer.h.

◆ socket

tcpip::Socket* TraCIServer::SocketInfo::socket

Socket object for this client.

Definition at line 305 of file TraCIServer.h.

Referenced by ~SocketInfo().

◆ targetTime

SUMOTime TraCIServer::SocketInfo::targetTime

next point of action for the client

Definition at line 301 of file TraCIServer.h.

◆ transportableStateChanges

std::map<MSNet::TransportableState, std::vector<std::string> > TraCIServer::SocketInfo::transportableStateChanges

container for transportable state changes since last step taken by this client

Definition at line 309 of file TraCIServer.h.

◆ vehicleStateChanges

std::map<MSNet::VehicleState, std::vector<std::string> > TraCIServer::SocketInfo::vehicleStateChanges

container for vehicle state changes since last step taken by this client

Definition at line 307 of file TraCIServer.h.


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