NeTrainSim 0.1.1 beta
The Open-Source Network Trains Simulator
 
Loading...
Searching...
No Matches
tank.h File Reference

This file declares the Tank class. More...

Go to the source code of this file.

Classes

class  Tank
 

Detailed Description

This file declares the Tank class.

The Tank class represents a fuel tank used in a train or locomotive. It stores information about the tank's capacity, current fuel level, state of capacity, depth of discharge, and other properties. The Tank class provides methods for setting and retrieving tank properties, consuming fuel from the tank, and checking tank status. The Tank class is intended to be used in a train simulation system. Note: The implementation of the class is not provided in this declaration file. It should be implemented separately in a corresponding source file.

Author
Ahmed Aredah
Date
3/20/2023