![]() |
SUMO - Simulation of Urban MObility
|
#include <Helper.h>


Public Types | |
| typedef bool(* | SubscriptionHandler) (const std::string &objID, const int variable, VariableWrapper *wrapper) |
| Definition of a method to be called for serving an associated commandID. More... | |
Public Member Functions | |
| void | setContext (const std::string &refID) |
| SubscriptionWrapper (VariableWrapper::SubscriptionHandler handler, SubscriptionResults &into, ContextSubscriptionResults &context) | |
| bool | wrapColor (const std::string &objID, const int variable, const TraCIColor &value) |
| bool | wrapDouble (const std::string &objID, const int variable, const double value) |
| bool | wrapInt (const std::string &objID, const int variable, const int value) |
| bool | wrapPosition (const std::string &objID, const int variable, const TraCIPosition &value) |
| bool | wrapString (const std::string &objID, const int variable, const std::string &value) |
| bool | wrapStringList (const std::string &objID, const int variable, const std::vector< std::string > &value) |
Data Fields | |
| SubscriptionHandler | handle |
Private Member Functions | |
| SubscriptionWrapper & | operator= (const SubscriptionWrapper &s)=delete |
| Invalidated assignment operator. More... | |
Private Attributes | |
| SubscriptionResults & | myActiveResults |
| ContextSubscriptionResults | myContextResults |
| SubscriptionResults | myResults |
|
inherited |
Definition of a method to be called for serving an associated commandID.
Definition at line 117 of file Subscription.h.
| libsumo::Helper::SubscriptionWrapper::SubscriptionWrapper | ( | VariableWrapper::SubscriptionHandler | handler, |
| SubscriptionResults & | into, | ||
| ContextSubscriptionResults & | context | ||
| ) |
Definition at line 1062 of file Helper.cpp.
|
privatedelete |
Invalidated assignment operator.
|
virtual |
Reimplemented from libsumo::VariableWrapper.
Definition at line 1069 of file Helper.cpp.
References myActiveResults, myContextResults, and myResults.
|
virtual |
Implements libsumo::VariableWrapper.
Definition at line 1112 of file Helper.cpp.
References myActiveResults.
|
virtual |
Implements libsumo::VariableWrapper.
Definition at line 1075 of file Helper.cpp.
References myActiveResults.
|
virtual |
Implements libsumo::VariableWrapper.
Definition at line 1082 of file Helper.cpp.
References myActiveResults.
|
virtual |
Implements libsumo::VariableWrapper.
Definition at line 1105 of file Helper.cpp.
References myActiveResults.
|
virtual |
Implements libsumo::VariableWrapper.
Definition at line 1089 of file Helper.cpp.
References myActiveResults.
|
virtual |
Implements libsumo::VariableWrapper.
Definition at line 1096 of file Helper.cpp.
References myActiveResults.
|
inherited |
Definition at line 119 of file Subscription.h.
|
private |
Definition at line 197 of file Helper.h.
Referenced by setContext(), wrapColor(), wrapDouble(), wrapInt(), wrapPosition(), wrapString(), and wrapStringList().
|
private |
Definition at line 196 of file Helper.h.
Referenced by setContext().
|
private |
Definition at line 195 of file Helper.h.
Referenced by setContext().