home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR9 / WIZTOO.ZIP / README.TXT < prev    next >
Text File  |  1993-09-19  |  2KB  |  38 lines

  1.                                                       September 19, 1993
  2.                                                       Fairfield, Iowa
  3.  
  4. This example demonstrates the use of the Broadcast Channel Wizard.  In this
  5. example there is one producer: WeatherStation.  There are four consumers:
  6. 2- Airports, 1- FireDepartment, and 1- School.  There are three broadcast
  7. channels:  WindData, AirData, and TornadoWarning.
  8.  
  9. As always, there is just one broadcaster object: oBroadcaster.
  10.  
  11. Consumers, Airport and FireDepartment, receive broadcasts on all three 
  12. channels. Consumer School receives only TornadoWarnings.  The consumer objects 
  13. remain connected to the broadcast channels as long as they exist.  Therefore, 
  14. each consumer object's constructor connects its respective object to the 
  15. broadcaster.  Each object's destructor disconnects from the broadcaster. 
  16.  
  17. The WeatherStation is implemented as a class in modules, PRODUCER.H and
  18. PRODUCER.CPP
  19.  
  20. The three types of consumers (Airports, FireDepartment, and School) are
  21. implemented as three classes in modules, CONSUMER.H and CONSUMER.CPP
  22.  
  23. The broadcast channels are specified in module, WEATHER.SPC    The
  24. Broadcast Channel Wizard produces modules, CHNNLDEF.H, BRDCASTR.H,
  25. BRDCASTR.CPP, APP.CPP    Module APP.CPP was used by the programmer as a
  26. template to create modules, CONSUMER.H, CONSUMER.CPP, and PRODUCER.CPP
  27.  
  28. Modules CHANNEL.H and CHANNEL.CPP come bundled with the Broadcast
  29. Channel Wizard.
  30.  
  31. The example program's main component is implemented in module MAIN.CPP
  32. It instantiates the producer and consumer objects and activates them.
  33.  
  34. Object oBroadcaster is instantiated in module BRDCASTR.CPP which is generated
  35. by the Broadcast Channel Wizard.
  36.  
  37. Module MAIN.MAK was built by Microsoft's Visual C++ Workbench (TM).
  38.