Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
CPcapSettingsGDlg Class Reference

#include <pcapSettingGDlg.h>

Inheritance diagram for CPcapSettingsGDlg:
Inheritance graph
Collaboration diagram for CPcapSettingsGDlg:
Collaboration graph

Public Types

enum  { IDD = IDD_PCAP_SETTINGS_GENERAL }
 

Public Member Functions

 CPcapSettingsGDlg (Visio::IVApplicationPtr vsoApp)
 
 ~CPcapSettingsGDlg ()
 
const wchar_t * GetRegistryFolder ()
 
- Public Member Functions inherited from ATL::CSettingsPageDialog
 CSettingsPageDialog (WORD IDD, bool hasHelp, __in_opt DLGPROC dlgProc)
 
HWND Create (HWND hWndParent, LPARAM dwInitParam=NULL)
 
HWND Create (HWND hWndParent, RECT &, LPARAM dwInitParam=NULL)
 
BOOL DestroyWindow ()
 
bool getHasHelp ()
 
void showHelp (LPCTSTR path)
 

Public Attributes

std::wstring m_filter_value
 
long m_time_seconds
 
long m_time_mseconds
 
long m_time_useconds
 
long m_relative_time
 
long m_absolute_time
 
long m_data_bits
 
long m_data_bytes
 
long m_data_kbytes
 
long m_link_layer
 
long m_net_layer
 
long m_trans_layer
 
long m_app_layer
 

Private Member Functions

void OnDataExchangeError (UINT nCtrlID, BOOL bSave)
 
void OnDataValidateError (UINT nCtrlID, BOOL bSave, _XData &data)
 
int OnCbnSelchangeFilterBox ()
 
int OnCbnEditchangeFilterBox ()
 
LRESULT OnInitDialog (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
BOOL OnApply (WORD wID)
 
BOOL OnHelp ()
 
LRESULT OnLinkLayerRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnNetLayerRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnTransLayerRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnAppLayerRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnAbsoluteTimeRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnRelativeTimeRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnSecondsRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnMSecondsRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnUSecondsRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnBitsRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnBytesRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
LRESULT OnKBytesRdo (WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
 
int LoadRegistryData ()
 
int SaveRegistryData ()
 
void UpdateControls ()
 

Private Attributes

Visio::IVApplicationPtr m_vsoApp
 
CComboBox m_filterBox
 
CButton m_link_layerRdo
 
CButton m_net_layerRdo
 
CButton m_trans_layerRdo
 
CButton m_app_layerRdo
 
CButton m_absolute_timeRdo
 
CButton m_relative_timeRdo
 
CButton m_time_secondsRdo
 
CButton m_time_msecondsRdo
 
CButton m_time_usecondsRdo
 
CButton m_data_bitsRdo
 
CButton m_data_bytesRdo
 
CButton m_data_kbytesRdo
 

Additional Inherited Members

- Protected Attributes inherited from ATL::CSettingsPageDialog
WORD IDD
 
DLGPROC dlgProc
 
bool hasHelp
 

Detailed Description

Definition at line 40 of file pcapSettingGDlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 44 of file pcapSettingGDlg.h.

Constructor & Destructor Documentation

CPcapSettingsGDlg::CPcapSettingsGDlg ( Visio::IVApplicationPtr  vsoApp)
inline

Definition at line 46 of file pcapSettingGDlg.h.

CPcapSettingsGDlg::~CPcapSettingsGDlg ( )
inline

Definition at line 50 of file pcapSettingGDlg.h.

Member Function Documentation

const wchar_t* CPcapSettingsGDlg::GetRegistryFolder ( )
inline

Definition at line 53 of file pcapSettingGDlg.h.

References SCSTUDIO_REGISTRY_ROOT.

Referenced by LoadRegistryData(), and SaveRegistryData().

int CPcapSettingsGDlg::LoadRegistryData ( )
private
LRESULT CPcapSettingsGDlg::OnAbsoluteTimeRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private

Definition at line 239 of file pcapSettingGDlg.cpp.

References m_absolute_time, m_relative_time, and UpdateControls().

LRESULT CPcapSettingsGDlg::OnAppLayerRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
BOOL CPcapSettingsGDlg::OnApply ( WORD  wID)
privatevirtual
LRESULT CPcapSettingsGDlg::OnBitsRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private

Definition at line 291 of file pcapSettingGDlg.cpp.

References m_data_bits, m_data_bytes, m_data_kbytes, and UpdateControls().

LRESULT CPcapSettingsGDlg::OnBytesRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private

Definition at line 301 of file pcapSettingGDlg.cpp.

References m_data_bits, m_data_bytes, m_data_kbytes, and UpdateControls().

int CPcapSettingsGDlg::OnCbnEditchangeFilterBox ( )
private

Definition at line 329 of file pcapSettingGDlg.cpp.

References m_filter_value, and m_filterBox.

Referenced by OnApply().

int CPcapSettingsGDlg::OnCbnSelchangeFilterBox ( )
private

Definition at line 322 of file pcapSettingGDlg.cpp.

References filters, m_filter_value, and m_filterBox.

Referenced by OnApply().

void CPcapSettingsGDlg::OnDataExchangeError ( UINT  nCtrlID,
BOOL  bSave 
)
private

Definition at line 167 of file pcapSettingGDlg.cpp.

void CPcapSettingsGDlg::OnDataValidateError ( UINT  nCtrlID,
BOOL  bSave,
_XData &  data 
)
private

Definition at line 177 of file pcapSettingGDlg.cpp.

BOOL CPcapSettingsGDlg::OnHelp ( )
privatevirtual

Reimplemented from ATL::CSettingsPageDialog.

Definition at line 80 of file pcapSettingGDlg.cpp.

References ATL::CSettingsPageDialog::showHelp().

LRESULT CPcapSettingsGDlg::OnInitDialog ( UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam,
BOOL &  bHandled 
)
private

Definition at line 26 of file pcapSettingGDlg.cpp.

References LoadRegistryData(), m_filter_value, m_filterBox, and UpdateControls().

LRESULT CPcapSettingsGDlg::OnKBytesRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private

Definition at line 311 of file pcapSettingGDlg.cpp.

References m_data_bits, m_data_bytes, m_data_kbytes, and UpdateControls().

LRESULT CPcapSettingsGDlg::OnLinkLayerRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CPcapSettingsGDlg::OnMSecondsRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CPcapSettingsGDlg::OnNetLayerRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CPcapSettingsGDlg::OnRelativeTimeRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private

Definition at line 248 of file pcapSettingGDlg.cpp.

References m_absolute_time, m_relative_time, and UpdateControls().

LRESULT CPcapSettingsGDlg::OnSecondsRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CPcapSettingsGDlg::OnTransLayerRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
LRESULT CPcapSettingsGDlg::OnUSecondsRdo ( WORD  wNotifyCode,
WORD  wID,
HWND  hWndCtl,
BOOL &  bHandled 
)
private
int CPcapSettingsGDlg::SaveRegistryData ( )
private
void CPcapSettingsGDlg::UpdateControls ( )
private

Member Data Documentation

long CPcapSettingsGDlg::m_absolute_time
CButton CPcapSettingsGDlg::m_absolute_timeRdo
private

Definition at line 159 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_app_layer
CButton CPcapSettingsGDlg::m_app_layerRdo
private

Definition at line 157 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_data_bits
CButton CPcapSettingsGDlg::m_data_bitsRdo
private

Definition at line 165 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_data_bytes
CButton CPcapSettingsGDlg::m_data_bytesRdo
private

Definition at line 166 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_data_kbytes
CButton CPcapSettingsGDlg::m_data_kbytesRdo
private

Definition at line 167 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

std::wstring CPcapSettingsGDlg::m_filter_value
CComboBox CPcapSettingsGDlg::m_filterBox
private
long CPcapSettingsGDlg::m_link_layer
CButton CPcapSettingsGDlg::m_link_layerRdo
private

Definition at line 154 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_net_layer
CButton CPcapSettingsGDlg::m_net_layerRdo
private

Definition at line 155 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_relative_time
CButton CPcapSettingsGDlg::m_relative_timeRdo
private

Definition at line 160 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_time_mseconds
CButton CPcapSettingsGDlg::m_time_msecondsRdo
private

Definition at line 162 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_time_seconds
CButton CPcapSettingsGDlg::m_time_secondsRdo
private

Definition at line 161 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_time_useconds
CButton CPcapSettingsGDlg::m_time_usecondsRdo
private

Definition at line 163 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

long CPcapSettingsGDlg::m_trans_layer
CButton CPcapSettingsGDlg::m_trans_layerRdo
private

Definition at line 156 of file pcapSettingGDlg.h.

Referenced by SaveRegistryData(), and UpdateControls().

Visio::IVApplicationPtr CPcapSettingsGDlg::m_vsoApp
private

Definition at line 75 of file pcapSettingGDlg.h.

Referenced by LoadRegistryData(), and SaveRegistryData().


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

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:58 for Sequence Chart Studio by  doxygen