<<< Observer Sample     Index     Visitor >>>

64. Observer Sample, cont.


  • When ParaWeatherData subject issues weather update notification, the state change event is communicated via two calls:

    • ObserverBoardInterface::update( humidity, temperature, pressure )

    • DisplayBoardInterface::show()

    Observer Sample

<<< Observer Sample     Index     Visitor >>>