Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CTrafficWnd Class Reference

#include <WndTraffic.h>

Inheritance diagram for CTrafficWnd:

CChildWnd List of all members.

Public Member Functions

 CTrafficWnd (DWORD nUnique=0)
virtual ~CTrafficWnd ()

Public Attributes

DWORD m_nUnique
CString m_sName
CGraphBasem_pGraph

Protected Member Functions

void FindFreeUnique ()
BOOL Serialize (BOOL bSave)
void SetUpdateRate ()
void UpdateCaption ()
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnDestroy ()
afx_msg void OnPaint ()
afx_msg void OnTimer (UINT nIDEvent)
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)
afx_msg void OnUpdateTrafficGrid (CCmdUI *pCmdUI)
afx_msg void OnTrafficGrid ()
afx_msg void OnUpdateTrafficAxis (CCmdUI *pCmdUI)
afx_msg void OnTrafficAxis ()
afx_msg void OnUpdateTrafficLegend (CCmdUI *pCmdUI)
afx_msg void OnTrafficLegend ()
afx_msg void OnTrafficSetup ()
afx_msg void OnTrafficClear ()
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnTrafficWindow ()
afx_msg void OnSize (UINT nType, int cx, int cy)

Constructor & Destructor Documentation

CTrafficWnd::CTrafficWnd DWORD  nUnique = 0  ) 
 

Definition at line 63 of file WndTraffic.cpp.

References IDR_TRAFFICFRAME.

Referenced by OnTrafficWindow().

CTrafficWnd::~CTrafficWnd  )  [virtual]
 

Definition at line 71 of file WndTraffic.cpp.

References m_pGraph.


Member Function Documentation

void CTrafficWnd::FindFreeUnique  )  [protected]
 

Definition at line 100 of file WndTraffic.cpp.

References CWindowManager::Find(), CChildWnd::GetManager(), m_nUnique, and NULL.

Referenced by OnCreate().

void CTrafficWnd::OnContextMenu CWnd *  pWnd,
CPoint  point
[protected]
 

Definition at line 153 of file WndTraffic.cpp.

References ID_TRAFFIC_SETUP, and CChildWnd::TrackPopupMenu().

int CTrafficWnd::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CChildWnd.

Definition at line 79 of file WndTraffic.cpp.

References CGraphBase::CreateDefaults(), FindFreeUnique(), m_nUnique, m_pGraph, CChildWnd::OnCreate(), Serialize(), and UpdateCaption().

void CTrafficWnd::OnDestroy  )  [protected]
 

Reimplemented from CChildWnd.

Definition at line 92 of file WndTraffic.cpp.

References CChildWnd::OnDestroy(), and Serialize().

void CTrafficWnd::OnLButtonDblClk UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 218 of file WndTraffic.cpp.

References ID_TRAFFIC_SETUP.

void CTrafficWnd::OnPaint  )  [protected]
 

Definition at line 139 of file WndTraffic.cpp.

References CGraphBase::BufferedPaint(), and m_pGraph.

void CTrafficWnd::OnSize UINT  nType,
int  cx,
int  cy
[protected]
 

Reimplemented from CChildWnd.

Definition at line 133 of file WndTraffic.cpp.

References CChildWnd::OnSize().

void CTrafficWnd::OnTimer UINT  nIDEvent  )  [protected]
 

Definition at line 148 of file WndTraffic.cpp.

References m_pGraph, and CGraphBase::Update().

void CTrafficWnd::OnTrafficAxis  )  [protected]
 

Definition at line 177 of file WndTraffic.cpp.

References CLineGraph::m_bShowAxis, and m_pGraph.

void CTrafficWnd::OnTrafficClear  )  [protected]
 

Definition at line 213 of file WndTraffic.cpp.

References CGraphBase::Clear(), and m_pGraph.

void CTrafficWnd::OnTrafficGrid  )  [protected]
 

Definition at line 164 of file WndTraffic.cpp.

References CLineGraph::m_bShowGrid, and m_pGraph.

void CTrafficWnd::OnTrafficLegend  )  [protected]
 

Definition at line 190 of file WndTraffic.cpp.

References CLineGraph::m_bShowLegend, and m_pGraph.

void CTrafficWnd::OnTrafficSetup  )  [protected]
 

Definition at line 197 of file WndTraffic.cpp.

References m_pGraph, m_sName, CGraphListDlg::m_sName, SetUpdateRate(), and UpdateCaption().

void CTrafficWnd::OnTrafficWindow  )  [protected]
 

Definition at line 223 of file WndTraffic.cpp.

References CTrafficWnd().

void CTrafficWnd::OnUpdateTrafficAxis CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 171 of file WndTraffic.cpp.

References CLineGraph::m_bShowAxis, and m_pGraph.

void CTrafficWnd::OnUpdateTrafficGrid CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 158 of file WndTraffic.cpp.

References CLineGraph::m_bShowGrid, and m_pGraph.

void CTrafficWnd::OnUpdateTrafficLegend CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 184 of file WndTraffic.cpp.

References CLineGraph::m_bShowLegend, and m_pGraph.

BOOL CTrafficWnd::Serialize BOOL  bSave  )  [protected]
 

Definition at line 231 of file WndTraffic.cpp.

References CSettings::General, m_nUnique, m_pGraph, m_sName, CSettings::sGeneral::Path, CGraphBase::Serialize(), Settings, and SetUpdateRate().

Referenced by OnCreate(), and OnDestroy().

void CTrafficWnd::SetUpdateRate  )  [protected]
 

Definition at line 122 of file WndTraffic.cpp.

References CLineGraph::m_nSpeed, m_pGraph, and NULL.

Referenced by OnTrafficSetup(), and Serialize().

void CTrafficWnd::UpdateCaption  )  [protected]
 

Definition at line 285 of file WndTraffic.cpp.

References IDR_TRAFFICFRAME, LoadString(), m_nUnique, and m_sName.

Referenced by OnCreate(), and OnTrafficSetup().


Member Data Documentation

DWORD CTrafficWnd::m_nUnique
 

Definition at line 43 of file WndTraffic.h.

Referenced by FindFreeUnique(), OnCreate(), CWindowManager::SaveWindowStates(), Serialize(), and UpdateCaption().

CGraphBase* CTrafficWnd::m_pGraph
 

Definition at line 45 of file WndTraffic.h.

Referenced by OnCreate(), OnPaint(), OnTimer(), OnTrafficAxis(), OnTrafficClear(), OnTrafficGrid(), OnTrafficLegend(), OnTrafficSetup(), OnUpdateTrafficAxis(), OnUpdateTrafficGrid(), OnUpdateTrafficLegend(), Serialize(), SetUpdateRate(), and ~CTrafficWnd().

CString CTrafficWnd::m_sName
 

Definition at line 44 of file WndTraffic.h.

Referenced by OnTrafficSetup(), Serialize(), and UpdateCaption().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:13 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2