WSF
XWsfOSM_Traffic::SGroundTraffic Struct Reference

#include <XWsfOSM_Traffic.hpp>

Collaboration diagram for XWsfOSM_Traffic::SGroundTraffic:

Public Attributes

int mIdentifier {0}
WsfStringId mVehicleTypeId
 Unique identifier for ground vehicle.
bool mAlive {false}
 Vehicle type.
int mNetwork {-1}
 Is this vehicle alive?
double mSpeed {0.0}
 Index value of network vehicle is traveling on.
WsfPlatformmRoadPlatform {nullptr}
 Speed (meters/sec).
size_t mRoadPlatformIndex {0}
bool mConvoyVehicle {false}
std::string mCurrentRouteName
 Was this vehicle defined as a convoy vehicle?
int mConvoyNumber {-1}
bool mCatchUp {false}
bool mAtIntersection {false}
bool mScripted {false}

Member Data Documentation

◆ mAlive

bool XWsfOSM_Traffic::SGroundTraffic::mAlive {false}

Vehicle type.

◆ mAtIntersection

bool XWsfOSM_Traffic::SGroundTraffic::mAtIntersection {false}

◆ mCatchUp

bool XWsfOSM_Traffic::SGroundTraffic::mCatchUp {false}

◆ mConvoyNumber

int XWsfOSM_Traffic::SGroundTraffic::mConvoyNumber {-1}

◆ mConvoyVehicle

bool XWsfOSM_Traffic::SGroundTraffic::mConvoyVehicle {false}

◆ mCurrentRouteName

std::string XWsfOSM_Traffic::SGroundTraffic::mCurrentRouteName

Was this vehicle defined as a convoy vehicle?

◆ mIdentifier

int XWsfOSM_Traffic::SGroundTraffic::mIdentifier {0}

◆ mNetwork

int XWsfOSM_Traffic::SGroundTraffic::mNetwork {-1}

Is this vehicle alive?

◆ mRoadPlatform

WsfPlatform* XWsfOSM_Traffic::SGroundTraffic::mRoadPlatform {nullptr}

Speed (meters/sec).

◆ mRoadPlatformIndex

size_t XWsfOSM_Traffic::SGroundTraffic::mRoadPlatformIndex {0}

◆ mScripted

bool XWsfOSM_Traffic::SGroundTraffic::mScripted {false}

scripted vehicles need to be added for tracking purposes (collisions, etc.), but their behavior should not be controlled by the background traffic code

◆ mSpeed

double XWsfOSM_Traffic::SGroundTraffic::mSpeed {0.0}

Index value of network vehicle is traveling on.

◆ mVehicleTypeId

WsfStringId XWsfOSM_Traffic::SGroundTraffic::mVehicleTypeId

Unique identifier for ground vehicle.


The documentation for this struct was generated from the following file:
Copyrights Multiple, All Rights Reserved