Interface for a unified transport system. More...
#include <Transportation.h>
Public Member Functions | |
| virtual int | getUtilization ()=0 |
| Gets the utilization of the transport system. | |
| virtual void | performMaintenance ()=0 |
| Performs maintenance on the transport system. | |
| virtual | ~UnifiedTransportSystem () |
| Virtual destructor for proper cleanup of derived classes. | |
Interface for a unified transport system.
This interface defines methods that all transport systems must implement for maintenance and utilization.
|
pure virtual |
Gets the utilization of the transport system.
Implemented in PublicTransitAdapter, RailSystemAdapter, and RoadSystemAdapter.
|
pure virtual |
Performs maintenance on the transport system.
Implemented in PublicTransitAdapter, RailSystemAdapter, and RoadSystemAdapter.