![]() |
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, const std::vector< std::vector< unsigned char > > ¶msArg, 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... | |
std::vector< std::vector< unsigned char > > | parameters |
The parameters for the subscribed variables. More... | |
SUMOReal | range |
The range of the context. More... | |
std::vector< int > | variables |
The subscribed variables. More... | |
Representation of a subscription.
Definition at line 330 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 342 of file TraCIServer.h.
SUMOTime TraCIServer::Subscription::beginTime |
The begin time of the subscription.
Definition at line 357 of file TraCIServer.h.
Referenced by TraCIServer::postProcessSimulationStep2().
int TraCIServer::Subscription::commandId |
commandIdArg The command id of the subscription
Definition at line 349 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), TraCIServer::postProcessSimulationStep2(), and TraCIServer::processSingleSubscription().
int TraCIServer::Subscription::contextDomain |
The domain ID of the context.
Definition at line 363 of file TraCIServer.h.
Referenced by TraCIServer::processSingleSubscription().
bool TraCIServer::Subscription::contextVars |
Whether the subscription is a context subscription (variable subscription otherwise)
Definition at line 361 of file TraCIServer.h.
Referenced by TraCIServer::processSingleSubscription().
SUMOTime TraCIServer::Subscription::endTime |
The end time of the subscription.
Definition at line 359 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), and TraCIServer::postProcessSimulationStep2().
std::string TraCIServer::Subscription::id |
The id of the object that is subscribed.
Definition at line 351 of file TraCIServer.h.
Referenced by TraCIServer::postProcessSimulationStep2(), and TraCIServer::processSingleSubscription().
std::vector<std::vector<unsigned char> > TraCIServer::Subscription::parameters |
The parameters for the subscribed variables.
Definition at line 355 of file TraCIServer.h.
Referenced by TraCIServer::processSingleSubscription().
SUMOReal TraCIServer::Subscription::range |
The range of the context.
Definition at line 365 of file TraCIServer.h.
Referenced by TraCIServer::processSingleSubscription().
std::vector<int> TraCIServer::Subscription::variables |
The subscribed variables.
Definition at line 353 of file TraCIServer.h.
Referenced by TraCIServer::processSingleSubscription().