![]() |
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. | |
| TransportableStateListener () | |
| Constructor. | |
| virtual | ~TransportableStateListener () |
| Destructor. | |
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 libsumo::Helper::TransportableStateListener, and TraCIServer.