ParaWeatherData Class Reference

#include <ParaWeatherData.h>

Inherits WeatherDataInterface.

Collaboration diagram for ParaWeatherData:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ParaWeatherData ()
void SensorDataChange (float a, float b, float c)
void registerOb (ObserverBoardInterface *ob)
void removeOb (ObserverBoardInterface *ob)

Protected Member Functions

void notifyOb ()

Private Attributes

float m_humidity
float m_temperature
float m_pressure
list< ObserverBoardInterface * > m_obs


Detailed Description

Definition at line 5 of file ParaWeatherData.h.


Constructor & Destructor Documentation

ParaWeatherData::ParaWeatherData (  )  [inline]

Definition at line 8 of file ParaWeatherData.h.


Member Function Documentation

void ParaWeatherData::notifyOb (  )  [inline, protected, virtual]

Implements WeatherDataInterface.

Definition at line 27 of file ParaWeatherData.h.

References m_humidity, m_obs, m_pressure, and m_temperature.

Referenced by SensorDataChange().

Here is the caller graph for this function:

void ParaWeatherData::registerOb ( ObserverBoardInterface ob  )  [inline, virtual]

Implements WeatherDataInterface.

Definition at line 17 of file ParaWeatherData.h.

References m_obs.

Referenced by CurrentConditionBoard::CurrentConditionBoard(), and StatisticBoard::StatisticBoard().

Here is the caller graph for this function:

void ParaWeatherData::removeOb ( ObserverBoardInterface ob  )  [inline, virtual]

Implements WeatherDataInterface.

Definition at line 22 of file ParaWeatherData.h.

References m_obs.

Referenced by main().

Here is the caller graph for this function:

void ParaWeatherData::SensorDataChange ( float  a,
float  b,
float  c 
) [inline]

Definition at line 9 of file ParaWeatherData.h.

References m_humidity, m_pressure, m_temperature, and notifyOb().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

float ParaWeatherData::m_humidity [private]

Definition at line 39 of file ParaWeatherData.h.

Referenced by notifyOb(), and SensorDataChange().

Definition at line 42 of file ParaWeatherData.h.

Referenced by notifyOb(), registerOb(), and removeOb().

float ParaWeatherData::m_pressure [private]

Definition at line 41 of file ParaWeatherData.h.

Referenced by notifyOb(), and SensorDataChange().

Definition at line 40 of file ParaWeatherData.h.

Referenced by notifyOb(), and SensorDataChange().


The documentation for this class was generated from the following file:

Generated on Fri Mar 20 12:35:11 2009 for Observer Design Pattern by  doxygen 1.5.8