N1568DemoFrame Class Reference

#include <N1568DemoMain.h>

Inheritance diagram for N1568DemoFrame:

GUIFrame

List of all members.

Public Member Functions

 N1568DemoFrame (wxFrame *frame)
 ~N1568DemoFrame ()
void SetStatusBarText (const wxString &msg, STATUS_BAR_PANE pane)
void AddToLogger (const wxString &msg, LOG_MESSAGE_TYPE type=LMT_INTERNAL)
N1568_dataGetBoardData ()
bool SetModuleAddress ()
bool RefreshChannels ()
void DoExport (bool prompt)
void DoDirectCmdSend ()
void DoSetMuxOut ()

Static Public Member Functions

static wxString GetExecutablePath ()

Private Member Functions

virtual void OnClose (wxCloseEvent &event)
virtual void OnQuit (wxCommandEvent &event)
virtual void OnAbout (wxCommandEvent &event)
virtual void OnFileQuitToolClicked (wxCommandEvent &event)
virtual void OnToolsConnectToolClicked (wxCommandEvent &event)
virtual void OnToolsExportToolClicked (wxCommandEvent &event)
virtual void OnToolsDownloadToolClicked (wxCommandEvent &event)
virtual void OnToolsSettingsToolClicked (wxCommandEvent &event)
virtual void OnHelpAboutToolClicked (wxCommandEvent &event)
virtual void OnMenuToolsConnect (wxCommandEvent &event)
virtual void OnMenuToolsExport (wxCommandEvent &event)
virtual void OnMenuToolsDownload (wxCommandEvent &event)
virtual void OnMenuToolsSettings (wxCommandEvent &event)
virtual void OnCmdTextCtrlEnter (wxCommandEvent &event)
virtual void OnCmdTextCtrl (wxCommandEvent &event)
virtual void OnCmdSendClick (wxCommandEvent &event)
virtual void OnMuxOutChanged (wxSpinEvent &event)
virtual void OnIdle (wxIdleEvent &event)
virtual void OnModuleAddressChanged (wxSpinEvent &event)
virtual void OnSize (wxSizeEvent &event)
bool ConnectToDevice (bool connect)
void SetupSettings ()
void LayoutWindow ()

Private Attributes

ApplicationSettings m_application_settings
ChannelPanelImplm_channel_panel_array [MAX_CHANNELS]
AllChannelPanelImplm_all_channel_panel
bool m_is_connect
N1568_data m_board_data
wxDateTime m_next_module_address_sent
wxDateTime m_next_mux_out_sent

Static Private Attributes

static const int SPIN_CTRL_DELAY_MSEC = 1500


Detailed Description

Definition at line 28 of file N1568DemoMain.h.


Constructor & Destructor Documentation

N1568DemoFrame::N1568DemoFrame ( wxFrame *  frame  ) 

N1568DemoFrame::~N1568DemoFrame (  ) 

Definition at line 98 of file N1568DemoMain.cpp.


Member Function Documentation

void N1568DemoFrame::SetStatusBarText ( const wxString &  msg,
STATUS_BAR_PANE  pane 
)

Definition at line 288 of file N1568DemoMain.cpp.

References GUIFrame::m_main_statusBar.

Referenced by ConnectToDevice(), N1568DemoFrame(), and SetModuleAddress().

void N1568DemoFrame::AddToLogger ( const wxString &  msg,
LOG_MESSAGE_TYPE  type = LMT_INTERNAL 
)

N1568_data* N1568DemoFrame::GetBoardData (  )  [inline]

Definition at line 34 of file N1568DemoMain.h.

References m_board_data.

Referenced by ChannelPanelImpl::ChannelPanelImpl().

bool N1568DemoFrame::SetModuleAddress (  ) 

bool N1568DemoFrame::RefreshChannels (  ) 

wxString N1568DemoFrame::GetExecutablePath (  )  [static]

Definition at line 100 of file N1568DemoMain.cpp.

References NULL.

Referenced by N1568DemoApp::OnInit().

void N1568DemoFrame::DoExport ( bool  prompt  ) 

void N1568DemoFrame::DoDirectCmdSend (  ) 

void N1568DemoFrame::DoSetMuxOut (  ) 

void N1568DemoFrame::OnClose ( wxCloseEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 148 of file N1568DemoMain.cpp.

void N1568DemoFrame::OnQuit ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 152 of file N1568DemoMain.cpp.

Referenced by OnFileQuitToolClicked().

void N1568DemoFrame::OnAbout ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 156 of file N1568DemoMain.cpp.

References AboutDialog::m_sdk_sw_rev_Text, AboutDialog::m_sw_rev_Text, N1568_SW_rev(), and SW_REVISION.

Referenced by OnHelpAboutToolClicked().

void N1568DemoFrame::OnFileQuitToolClicked ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 165 of file N1568DemoMain.cpp.

References OnQuit().

void N1568DemoFrame::OnToolsConnectToolClicked ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 168 of file N1568DemoMain.cpp.

References OnMenuToolsConnect().

void N1568DemoFrame::OnToolsExportToolClicked ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 171 of file N1568DemoMain.cpp.

References DoExport().

void N1568DemoFrame::OnToolsDownloadToolClicked ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 174 of file N1568DemoMain.cpp.

References OnMenuToolsDownload().

void N1568DemoFrame::OnToolsSettingsToolClicked ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 177 of file N1568DemoMain.cpp.

References OnMenuToolsSettings().

void N1568DemoFrame::OnHelpAboutToolClicked ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 285 of file N1568DemoMain.cpp.

References OnAbout().

void N1568DemoFrame::OnMenuToolsConnect ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 180 of file N1568DemoMain.cpp.

References ConnectToDevice(), and m_is_connect.

Referenced by OnToolsConnectToolClicked().

void N1568DemoFrame::OnMenuToolsExport ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 183 of file N1568DemoMain.cpp.

References DoExport().

void N1568DemoFrame::OnMenuToolsDownload ( wxCommandEvent &  event  )  [private, virtual]

void N1568DemoFrame::OnMenuToolsSettings ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 281 of file N1568DemoMain.cpp.

References SetupSettings().

Referenced by OnToolsSettingsToolClicked().

void N1568DemoFrame::OnCmdTextCtrlEnter ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 462 of file N1568DemoMain.cpp.

References DoDirectCmdSend().

void N1568DemoFrame::OnCmdTextCtrl ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 520 of file N1568DemoMain.cpp.

References GUIFrame::m_cmd_textCtrl.

void N1568DemoFrame::OnCmdSendClick ( wxCommandEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 525 of file N1568DemoMain.cpp.

References DoDirectCmdSend().

void N1568DemoFrame::OnMuxOutChanged ( wxSpinEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 528 of file N1568DemoMain.cpp.

References m_next_mux_out_sent, and SPIN_CTRL_DELAY_MSEC.

void N1568DemoFrame::OnIdle ( wxIdleEvent &  event  )  [private, virtual]

void N1568DemoFrame::OnModuleAddressChanged ( wxSpinEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 551 of file N1568DemoMain.cpp.

References m_next_module_address_sent, and SPIN_CTRL_DELAY_MSEC.

void N1568DemoFrame::OnSize ( wxSizeEvent &  event  )  [private, virtual]

Reimplemented from GUIFrame.

Definition at line 575 of file N1568DemoMain.cpp.

References GUIFrame::m_main_toolBar.

bool N1568DemoFrame::ConnectToDevice ( bool  connect  )  [private]

void N1568DemoFrame::SetupSettings (  )  [private]

void N1568DemoFrame::LayoutWindow (  )  [private]


Member Data Documentation

Definition at line 70 of file N1568DemoMain.h.

Referenced by ConnectToDevice(), LayoutWindow(), N1568DemoFrame(), and RefreshChannels().

Definition at line 71 of file N1568DemoMain.h.

Referenced by ConnectToDevice(), LayoutWindow(), and N1568DemoFrame().

Definition at line 74 of file N1568DemoMain.h.

Referenced by N1568DemoFrame(), OnIdle(), and OnModuleAddressChanged().

Definition at line 75 of file N1568DemoMain.h.

Referenced by N1568DemoFrame(), OnIdle(), and OnMuxOutChanged().

const int N1568DemoFrame::SPIN_CTRL_DELAY_MSEC = 1500 [static, private]

Definition at line 76 of file N1568DemoMain.h.

Referenced by OnModuleAddressChanged(), and OnMuxOutChanged().


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

Generated on Mon Oct 6 09:29:17 2008 for CAEN N1568 Demo by  doxygen 1.5.6