Eclipse SUMO - Simulation of Urban MObility
|
Interface for objects listening to transportable state changes. More...
#include <MSNet.h>
Public Member Functions | |
virtual void | transportableStateChanged (const MSTransportable *const transportable, TransportableState to, const std::string &info="")=0 |
Called if a transportable changes its state. More... | |
TransportableStateListener () | |
Constructor. More... | |
virtual | ~TransportableStateListener () |
Destructor. More... | |
Interface for objects listening to transportable state changes.
|
inline |
|
inlinevirtual |
|
pure virtual |
Called if a transportable changes its state.
[in] | transportable | The transportable which changed its state |
[in] | to | The state the transportable has changed to |
[in] | info | Additional information on the state change |
Implemented in TraCIServer, and libsumo::Helper::TransportableStateListener.