#include <Subscription.h>
|
virtual void | clear () |
|
virtual void | empty (const std::string &) |
|
virtual void | setContext (const std::string *const) |
|
| VariableWrapper (SubscriptionHandler handler=nullptr) |
|
virtual bool | wrapColor (const std::string &objID, const int variable, const TraCIColor &value)=0 |
|
virtual bool | wrapDouble (const std::string &objID, const int variable, const double value)=0 |
|
virtual bool | wrapDoubleList (const std::string &objID, const int variable, const std::vector< double > &value)=0 |
|
virtual bool | wrapInt (const std::string &objID, const int variable, const int value)=0 |
|
virtual bool | wrapPosition (const std::string &objID, const int variable, const TraCIPosition &value)=0 |
|
virtual bool | wrapPositionVector (const std::string &objID, const int variable, const TraCIPositionVector &value)=0 |
|
virtual bool | wrapString (const std::string &objID, const int variable, const std::string &value)=0 |
|
virtual bool | wrapStringDoublePair (const std::string &objID, const int variable, const std::pair< std::string, double > &value)=0 |
|
virtual bool | wrapStringList (const std::string &objID, const int variable, const std::vector< std::string > &value)=0 |
|
virtual bool | wrapStringPair (const std::string &objID, const int variable, const std::pair< std::string, std::string > &value)=0 |
|
virtual | ~VariableWrapper () |
|
Definition at line 150 of file Subscription.h.
◆ SubscriptionHandler
typedef bool(* libsumo::VariableWrapper::SubscriptionHandler) (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData) |
Definition of a method to be called for serving an associated commandID.
Definition at line 153 of file Subscription.h.
◆ VariableWrapper()
◆ ~VariableWrapper()
virtual libsumo::VariableWrapper::~VariableWrapper |
( |
| ) |
|
|
inlinevirtual |
◆ clear()
virtual void libsumo::VariableWrapper::clear |
( |
| ) |
|
|
inlinevirtual |
◆ empty()
virtual void libsumo::VariableWrapper::empty |
( |
const std::string & |
| ) |
|
|
inlinevirtual |
◆ setContext()
virtual void libsumo::VariableWrapper::setContext |
( |
const std::string * const |
| ) |
|
|
inlinevirtual |
◆ wrapColor()
virtual bool libsumo::VariableWrapper::wrapColor |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const TraCIColor & |
value |
|
) |
| |
|
pure virtual |
◆ wrapDouble()
virtual bool libsumo::VariableWrapper::wrapDouble |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const double |
value |
|
) |
| |
|
pure virtual |
◆ wrapDoubleList()
virtual bool libsumo::VariableWrapper::wrapDoubleList |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const std::vector< double > & |
value |
|
) |
| |
|
pure virtual |
◆ wrapInt()
virtual bool libsumo::VariableWrapper::wrapInt |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const int |
value |
|
) |
| |
|
pure virtual |
◆ wrapPosition()
virtual bool libsumo::VariableWrapper::wrapPosition |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const TraCIPosition & |
value |
|
) |
| |
|
pure virtual |
◆ wrapPositionVector()
virtual bool libsumo::VariableWrapper::wrapPositionVector |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const TraCIPositionVector & |
value |
|
) |
| |
|
pure virtual |
◆ wrapString()
virtual bool libsumo::VariableWrapper::wrapString |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const std::string & |
value |
|
) |
| |
|
pure virtual |
◆ wrapStringDoublePair()
virtual bool libsumo::VariableWrapper::wrapStringDoublePair |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const std::pair< std::string, double > & |
value |
|
) |
| |
|
pure virtual |
◆ wrapStringList()
virtual bool libsumo::VariableWrapper::wrapStringList |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const std::vector< std::string > & |
value |
|
) |
| |
|
pure virtual |
◆ wrapStringPair()
virtual bool libsumo::VariableWrapper::wrapStringPair |
( |
const std::string & |
objID, |
|
|
const int |
variable, |
|
|
const std::pair< std::string, std::string > & |
value |
|
) |
| |
|
pure virtual |
◆ handle
The documentation for this class was generated from the following file: