CommonChControl Class Reference

#include <common_ch_control.h>

List of all members.

Public Member Functions

 CommonChControl ()
 Constructors.
 CommonChControl (wxWindow *parent, wxWindowID id=SYMBOL_COMMONCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_COMMONCHCONTROL_POSITION, const wxSize &size=SYMBOL_COMMONCHCONTROL_SIZE, long style=SYMBOL_COMMONCHCONTROL_STYLE)
bool Create (wxWindow *parent, wxWindowID id=SYMBOL_COMMONCHCONTROL_IDNAME, const wxPoint &pos=SYMBOL_COMMONCHCONTROL_POSITION, const wxSize &size=SYMBOL_COMMONCHCONTROL_SIZE, long style=SYMBOL_COMMONCHCONTROL_STYLE)
 Creation.
void CreateControls ()
 Creates the controls and sizers.
void OnEnableTogglebuttonClick (wxCommandEvent &event)
 wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ENABLE_TOGGLEBUTTON
void OnButtonClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON
void OnSpinbuttonUpdated (wxSpinEvent &event)
 wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINBUTTON
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 ()

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips?

Public Attributes

wxStaticBox * m_main_sizer_text
wxToggleButton * m_ch_enable_control
wxButton * m_ch_DAC_reset_control
wxSpinButton * m_ch_DAC_control
wxStaticText * m_medium_value_control
wxStaticText * m_overload_control

Private Member Functions

void UpdateDAC (void)

Private Attributes

GenericBoardm_p_board
GenericBoardChannelm_p_board_channel
int m_ch_index
int m_ch_count


Detailed Description

CommonChControl class declaration


Constructor & Destructor Documentation

CommonChControl::CommonChControl  ) 
 

Constructors.

CommonChControl constructors

CommonChControl::CommonChControl wxWindow *  parent,
wxWindowID  id = SYMBOL_COMMONCHCONTROL_IDNAME,
const wxPoint &  pos = SYMBOL_COMMONCHCONTROL_POSITION,
const wxSize &  size = SYMBOL_COMMONCHCONTROL_SIZE,
long  style = SYMBOL_COMMONCHCONTROL_STYLE
 


Member Function Documentation

bool CommonChControl::Create wxWindow *  parent,
wxWindowID  id = SYMBOL_COMMONCHCONTROL_IDNAME,
const wxPoint &  pos = SYMBOL_COMMONCHCONTROL_POSITION,
const wxSize &  size = SYMBOL_COMMONCHCONTROL_SIZE,
long  style = SYMBOL_COMMONCHCONTROL_STYLE
 

Creation.

CommonChControl creator

void CommonChControl::CreateControls  ) 
 

Creates the controls and sizers.

Control creation for CommonChControl

wxBitmap CommonChControl::GetBitmapResource const wxString &  name  ) 
 

Retrieves bitmap resources.

Get bitmap resources

wxIcon CommonChControl::GetIconResource const wxString &  name  ) 
 

Retrieves icon resources.

Get icon resources

void CommonChControl::OnButtonClick wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON

void CommonChControl::OnEnableTogglebuttonClick wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ENABLE_TOGGLEBUTTON

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ENABLE_TOGGLEBUTTON

void CommonChControl::OnSpinbuttonUpdated wxSpinEvent &  event  ) 
 

wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINBUTTON

wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINBUTTON

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

bool CommonChControl::ShowToolTips  )  [static]
 

Should we show tooltips?

Should we show tooltips?

bool CommonChControl::UpdateControls  ) 
 

void CommonChControl::UpdateDAC void   )  [private]
 


Member Data Documentation

int CommonChControl::m_ch_count [private]
 

wxSpinButton* CommonChControl::m_ch_DAC_control
 

wxButton* CommonChControl::m_ch_DAC_reset_control
 

wxToggleButton* CommonChControl::m_ch_enable_control
 

int CommonChControl::m_ch_index [private]
 

wxStaticBox* CommonChControl::m_main_sizer_text
 

wxStaticText* CommonChControl::m_medium_value_control
 

wxStaticText* CommonChControl::m_overload_control
 

GenericBoard* CommonChControl::m_p_board [private]
 

GenericBoardChannel* CommonChControl::m_p_board_channel [private]
 


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