![]() |
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, double 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... | |
| double | range |
| The range of the context. More... | |
| std::vector< int > | variables |
| The subscribed variables. More... | |
Representation of a subscription.
Definition at line 394 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 406 of file TraCIServer.h.
| SUMOTime TraCIServer::Subscription::beginTime |
The begin time of the subscription.
Definition at line 421 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), and TraCIServer::postProcessSimulationStep().
| int TraCIServer::Subscription::commandId |
commandIdArg The command id of the subscription
Definition at line 413 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), TraCIServer::postProcessSimulationStep(), and TraCIServer::processSingleSubscription().
| int TraCIServer::Subscription::contextDomain |
The domain ID of the context.
Definition at line 427 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), and TraCIServer::processSingleSubscription().
| bool TraCIServer::Subscription::contextVars |
Whether the subscription is a context subscription (variable subscription otherwise)
Definition at line 425 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), and TraCIServer::processSingleSubscription().
| SUMOTime TraCIServer::Subscription::endTime |
The end time of the subscription.
Definition at line 423 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), and TraCIServer::postProcessSimulationStep().
| std::string TraCIServer::Subscription::id |
The id of the object that is subscribed.
Definition at line 415 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), TraCIServer::postProcessSimulationStep(), and TraCIServer::processSingleSubscription().
| std::vector<std::vector<unsigned char> > TraCIServer::Subscription::parameters |
The parameters for the subscribed variables.
Definition at line 419 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), and TraCIServer::processSingleSubscription().
| double TraCIServer::Subscription::range |
The range of the context.
Definition at line 429 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), and TraCIServer::processSingleSubscription().
| std::vector<int> TraCIServer::Subscription::variables |
The subscribed variables.
Definition at line 417 of file TraCIServer.h.
Referenced by TraCIServer::initialiseSubscription(), and TraCIServer::processSingleSubscription().