ok

Dependencies:   mbed

Fork of g3_waterplay by Mario Simaremare

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Waterplay.h Source File

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     );
00026     int control();
00027 
00028 private:
00029     Printer &_printer;
00030     TemperatureSensor &_temperatureSensor;
00031     SalinitySensor &_salinitySensor;
00032     Thermostat &_thermostat;
00033     Tank &_tank;
00034     Flasher &_flasher;
00035 };
00036 
00037 #endif