StatisticBoard Class Reference

#include <StatisticBoard.h>

Inherits ObserverBoardInterface, and DisplayBoardInterface.

Collaboration diagram for StatisticBoard:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StatisticBoard (ParaWeatherData &a)
void show ()
void update (float h, float t, float p)

Private Attributes

float m_maxt
float m_mint
float m_avet
int m_count
ParaWeatherDatam_data


Detailed Description

Definition at line 2 of file StatisticBoard.h.


Constructor & Destructor Documentation

StatisticBoard::StatisticBoard ( ParaWeatherData a  )  [inline]

Definition at line 5 of file StatisticBoard.h.

References m_data, and ParaWeatherData::registerOb().

Here is the call graph for this function:


Member Function Documentation

void StatisticBoard::show (  )  [inline, virtual]

Implements DisplayBoardInterface.

Definition at line 10 of file StatisticBoard.h.

References m_avet, m_maxt, and m_mint.

void StatisticBoard::update ( float  h,
float  t,
float  p 
) [inline, virtual]

Implements ObserverBoardInterface.

Definition at line 19 of file StatisticBoard.h.

References m_avet, m_count, m_maxt, and m_mint.


Member Data Documentation

float StatisticBoard::m_avet [private]

Definition at line 36 of file StatisticBoard.h.

Referenced by show(), and update().

int StatisticBoard::m_count [private]

Definition at line 37 of file StatisticBoard.h.

Referenced by update().

Definition at line 38 of file StatisticBoard.h.

Referenced by StatisticBoard().

float StatisticBoard::m_maxt [private]

Definition at line 34 of file StatisticBoard.h.

Referenced by show(), and update().

float StatisticBoard::m_mint [private]

Definition at line 35 of file StatisticBoard.h.

Referenced by show(), and update().


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