RecordChControl Class Reference

#include <record_ch_control.h>

List of all members.

Public Member Functions

 RecordChControl ()
 Constructors.
 RecordChControl (wxWindow *parent, wxWindowID id=SYMBOL_RECORDCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_RECORDCHCONTROL_POSITION, const wxSize &size=SYMBOL_RECORDCHCONTROL_SIZE, long style=SYMBOL_RECORDCHCONTROL_STYLE)
bool Create (wxWindow *parent, wxWindowID id=SYMBOL_RECORDCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_RECORDCHCONTROL_POSITION, const wxSize &size=SYMBOL_RECORDCHCONTROL_SIZE, long style=SYMBOL_RECORDCHCONTROL_STYLE)
 Creation.
void CreateControls ()
 Creates the controls and sizers.
void OnTogglebuttonClick (wxCommandEvent &event)
 wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_TOGGLEBUTTON
void OnRateDividerSpinctrlUpdated (wxSpinEvent &event)
 wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL
void OnRateDividerSpinctrlTextUpdated (wxCommandEvent &event)
 wxEVT_COMMAND_TEXT_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL
void OnFormatChoiceSelected (wxCommandEvent &event)
 wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_FORMAT_CHOICE
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources.
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources.
bool SetupBoard (GenericBoard *p_board, int ch_index, int ch_count)
bool UpdateControls (void)
void UpdateRateDivider (int value)

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips?

Public Attributes

wxStaticBox * m_main_sizer_text
wxToggleButton * m_ch_enable_control
wxSpinCtrl * m_ch_rate_divider_control
wxChoice * m_format_control

Private Attributes

GenericBoardm_p_board
GenericBoardChannelm_p_board_channel
int m_ch_index
int m_ch_count


Detailed Description

RecordChControl class declaration


Constructor & Destructor Documentation

RecordChControl::RecordChControl  ) 
 

Constructors.

RecordChControl constructors

RecordChControl::RecordChControl wxWindow *  parent,
wxWindowID  id = SYMBOL_RECORDCHCONTROL_IDNAME,
const wxPoint &  pos = SYMBOL_RECORDCHCONTROL_POSITION,
const wxSize &  size = SYMBOL_RECORDCHCONTROL_SIZE,
long  style = SYMBOL_RECORDCHCONTROL_STYLE
 


Member Function Documentation

bool RecordChControl::Create wxWindow *  parent,
wxWindowID  id = SYMBOL_RECORDCHCONTROL_IDNAME,
const wxPoint &  pos = SYMBOL_RECORDCHCONTROL_POSITION,
const wxSize &  size = SYMBOL_RECORDCHCONTROL_SIZE,
long  style = SYMBOL_RECORDCHCONTROL_STYLE
 

Creation.

RecordChControl creator

void RecordChControl::CreateControls  ) 
 

Creates the controls and sizers.

Control creation for RecordChControl

wxBitmap RecordChControl::GetBitmapResource const wxString &  name  ) 
 

Retrieves bitmap resources.

Get bitmap resources

wxIcon RecordChControl::GetIconResource const wxString &  name  ) 
 

Retrieves icon resources.

Get icon resources

void RecordChControl::OnFormatChoiceSelected wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_FORMAT_CHOICE

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_FORMAT_CHOICE

void RecordChControl::OnRateDividerSpinctrlTextUpdated wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL

void RecordChControl::OnRateDividerSpinctrlUpdated wxSpinEvent &  event  ) 
 

wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL

wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_RATE_DIVIDER_SPINCTRL

void RecordChControl::OnTogglebuttonClick wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_TOGGLEBUTTON

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_TOGGLEBUTTON

bool RecordChControl::SetupBoard GenericBoard p_board,
int  ch_index,
int  ch_count
 

bool RecordChControl::ShowToolTips  )  [static]
 

Should we show tooltips?

Should we show tooltips?

bool RecordChControl::UpdateControls void   ) 
 

void RecordChControl::UpdateRateDivider int  value  ) 
 


Member Data Documentation

int RecordChControl::m_ch_count [private]
 

wxToggleButton* RecordChControl::m_ch_enable_control
 

int RecordChControl::m_ch_index [private]
 

wxSpinCtrl* RecordChControl::m_ch_rate_divider_control
 

wxChoice* RecordChControl::m_format_control
 

wxStaticBox* RecordChControl::m_main_sizer_text
 

GenericBoard* RecordChControl::m_p_board [private]
 

GenericBoardChannel* RecordChControl::m_p_board_channel [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Nov 6 14:16:01 2006 for CAENScope by  doxygen 1.4.6-NO