home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR9 / WIZTOO.ZIP / PRODUCER.H < prev    next >
C/C++ Source or Header  |  1993-09-17  |  488b  |  24 lines

  1. #ifndef _producer_h_
  2. #define _producer_h_
  3.  
  4. //  Module: PRODUCER.H
  5.  
  6. #include    "BRDCASTR.H"
  7.  
  8. class WeatherStation
  9. {
  10.     int         iSpeed;
  11.     int         iDirection;
  12.     int         iTemperature;
  13.     int         iBarometricPressure;
  14.     int         iHumidity;
  15. public:
  16.     WeatherStation (void) {ReadSensors();}
  17.     void ReadSensors (void);
  18.     void Broadcast (void);
  19.     void Update (void) {ReadSensors(); Broadcast();}
  20.     void TornadoWarning (void);
  21. };
  22.  
  23. #endif
  24.