Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Waterplay.h
00001 /* 00002 * G3: WATERPLAY 00003 */ 00004 00005 #ifndef WATERPLAY_H 00006 #define WATERPLAY_H 00007 00008 #include "Printer.h" 00009 #include "TemperatureSensor.h" 00010 #include "SalinitySensor.h" 00011 #include "Thermostat.h" 00012 #include "Tank.h" 00013 #include "Flasher.h" 00014 00015 class Waterplay 00016 { 00017 public: 00018 Waterplay( 00019 Printer &printer, 00020 TemperatureSensor &temperatureSensor, 00021 SalinitySensor &salinitySensor, 00022 Thermostat &thermostat, 00023 Tank &tank, 00024 Flasher &flasher, 00025 Flasher &alarm 00026 ); 00027 int control(); 00028 00029 private: 00030 Printer &_printer; 00031 TemperatureSensor &_temperatureSensor; 00032 SalinitySensor &_salinitySensor; 00033 Thermostat &_thermostat; 00034 Tank &_tank; 00035 Flasher &_flasher; 00036 Flasher &_alarm; 00037 int _bad_reading_temperature; 00038 int _bad_reading_salinity; 00039 }; 00040 00041 #endif
Generated on Tue Jul 12 2022 19:11:50 by
1.7.2