SUMO - Simulation of Urban MObility
|
Representation of a subscription. More...
Public Member Functions | |
Subscription (int commandIdArg, const std::string &idArg, const std::vector< int > &variablesArg, SUMOTime beginTimeArg, SUMOTime endTimeArg, bool contextVarsArg, int contextDomainArg, SUMOReal rangeArg) | |
Constructor. More... | |
Data Fields | |
SUMOTime | beginTime |
The begin time of the subscription. More... | |
int | commandId |
commandIdArg The command id of the subscription More... | |
int | contextDomain |
The domain ID of the context. More... | |
bool | contextVars |
Whether the subscription is a context subscription (variable subscription otherwise) More... | |
SUMOTime | endTime |
The end time of the subscription. More... | |
std::string | id |
The id of the object that is subscribed. More... | |
SUMOReal | range |
The range of the context. More... | |
std::vector< int > | variables |
The subscribed variables. More... | |
Representation of a subscription.
Definition at line 213 of file TraCIServer.h.
|
inline |
Constructor.
[in] | commandIdArg | The command id of the subscription |
[in] | idArg | The id of the object that is subscribed |
[in] | variablesArg | The subscribed variables |
[in] | beginTimeArg | The begin time of the subscription |
[in] | endTimeArg | The end time of the subscription |
[in] | contextVarsArg | Whether the subscription is a context subscription (variable subscription otherwise) |
[in] | contextDomainArg | The domain ID of the context |
[in] | rangeArg | The range of the context |
Definition at line 225 of file TraCIServer.h.
SUMOTime traci::TraCIServer::Subscription::beginTime |
The begin time of the subscription.
Definition at line 237 of file TraCIServer.h.
Referenced by traci::TraCIServer::postProcessSimulationStep2().
int traci::TraCIServer::Subscription::commandId |
commandIdArg The command id of the subscription
Definition at line 231 of file TraCIServer.h.
Referenced by traci::TraCIServer::initialiseSubscription(), traci::TraCIServer::postProcessSimulationStep2(), and traci::TraCIServer::processSingleSubscription().
int traci::TraCIServer::Subscription::contextDomain |
The domain ID of the context.
Definition at line 243 of file TraCIServer.h.
Referenced by traci::TraCIServer::processSingleSubscription().
bool traci::TraCIServer::Subscription::contextVars |
Whether the subscription is a context subscription (variable subscription otherwise)
Definition at line 241 of file TraCIServer.h.
Referenced by traci::TraCIServer::processSingleSubscription().
SUMOTime traci::TraCIServer::Subscription::endTime |
The end time of the subscription.
Definition at line 239 of file TraCIServer.h.
Referenced by traci::TraCIServer::initialiseSubscription(), and traci::TraCIServer::postProcessSimulationStep2().
std::string traci::TraCIServer::Subscription::id |
The id of the object that is subscribed.
Definition at line 233 of file TraCIServer.h.
Referenced by traci::TraCIServer::postProcessSimulationStep2(), and traci::TraCIServer::processSingleSubscription().
SUMOReal traci::TraCIServer::Subscription::range |
The range of the context.
Definition at line 245 of file TraCIServer.h.
Referenced by traci::TraCIServer::processSingleSubscription().
std::vector<int> traci::TraCIServer::Subscription::variables |
The subscribed variables.
Definition at line 235 of file TraCIServer.h.
Referenced by traci::TraCIServer::processSingleSubscription().