NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CBamCoverageGraphPanel Class Reference

Search Toolkit Book for CBamCoverageGraphPanel

#include <gui/widgets/loaders/bam_coverage_graph_panel.hpp>

+ Inheritance diagram for CBamCoverageGraphPanel:
+ Collaboration diagram for CBamCoverageGraphPanel:

Public Types

enum  { ID_CBAMCOVERAGEGRAPHPANEL = 10074 , ID_PANEL9 = 10014 }
 Control identifiers. More...
 

Public Member Functions

 CBamCoverageGraphPanel ()
 Constructors. More...
 
 CBamCoverageGraphPanel (wxWindow *parent, wxWindowID id=ID_CBAMCOVERAGEGRAPHPANEL, const wxString &caption=_("Assembly Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CBAMCOVERAGEGRAPHPANEL, const wxString &caption=_("Assembly Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CBamCoverageGraphPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void SetBamFiles (const vector< pair< string, string >> &bam_files)
 
bool IsInputValid ()
 
void OnIdle (wxIdleEvent &event)
 wxEVT_IDLE event handler for ID_CBAMCOVERAGEGRAPHPANEL More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
IRegSettings interface implementation
virtual void SetRegistryPath (const string &path)
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 
- Public Member Functions inherited from IRegSettings
virtual ~IRegSettings ()
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 

Public Attributes

wxStaticText * m_BamAssembly
 
CAssemblySelPanelm_AssemblyPanel
 
vector< pair< string, string > > m_BamFiles
 
string m_RegPath
 
job_future< stringm_BamAssemblyFuture
 

Detailed Description

CBamCoverageGraphPanel class declaration

Definition at line 84 of file bam_coverage_graph_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Control identifiers.

Enumerator
ID_CBAMCOVERAGEGRAPHPANEL 
ID_PANEL9 

Definition at line 140 of file bam_coverage_graph_panel.hpp.

Constructor & Destructor Documentation

◆ CBamCoverageGraphPanel() [1/2]

CBamCoverageGraphPanel::CBamCoverageGraphPanel ( )

Constructors.

CBamCoverageGraphPanel type definition

CBamCoverageGraphPanel event table definition

CBamCoverageGraphPanel constructors

Definition at line 84 of file bam_coverage_graph_panel.cpp.

References Init().

◆ CBamCoverageGraphPanel() [2/2]

CBamCoverageGraphPanel::CBamCoverageGraphPanel ( wxWindow *  parent,
wxWindowID  id = ID_CBAMCOVERAGEGRAPHPANEL,
const wxString &  caption = _("Assembly Options"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CBamCoverageGraphPanel()

CBamCoverageGraphPanel::~CBamCoverageGraphPanel ( )

Destructor.

CBamCoverageGraphPanel destructor

Definition at line 122 of file bam_coverage_graph_panel.cpp.

Member Function Documentation

◆ Create()

bool CBamCoverageGraphPanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CBAMCOVERAGEGRAPHPANEL,
const wxString &  caption = _("Assembly Options"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CBamCoverageGraphPanel::CreateControls ( )

Creates the controls and sizers.

Definition at line 151 of file bam_coverage_graph_panel.cpp.

References _, ID_PANEL9, m_AssemblyPanel, m_BamAssembly, and wxID_ANY.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CBamCoverageGraphPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 245 of file bam_coverage_graph_panel.cpp.

◆ GetIconResource()

wxIcon CBamCoverageGraphPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 258 of file bam_coverage_graph_panel.cpp.

◆ Init()

void CBamCoverageGraphPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 133 of file bam_coverage_graph_panel.cpp.

References m_AssemblyPanel, m_BamAssembly, and NULL.

Referenced by CBamCoverageGraphPanel().

◆ IsInputValid()

bool CBamCoverageGraphPanel::IsInputValid ( )

◆ LoadSettings()

void CBamCoverageGraphPanel::LoadSettings ( )
virtual

◆ OnIdle()

void CBamCoverageGraphPanel::OnIdle ( wxIdleEvent &  event)

wxEVT_IDLE event handler for ID_CBAMCOVERAGEGRAPHPANEL

wxEVT_IDLE event handler for ID_CBAMCOVERAGEGRAPHPANEL

Definition at line 300 of file bam_coverage_graph_panel.cpp.

References job_future_base::IsComplete(), m_BamAssembly, m_BamAssemblyFuture, job_future_base::reset(), str(), ToWxString(), and wxT.

◆ SaveSettings()

void CBamCoverageGraphPanel::SaveSettings ( ) const
virtual

◆ SetBamFiles()

void CBamCoverageGraphPanel::SetBamFiles ( const vector< pair< string, string >> &  bam_files)

◆ SetRegistryPath()

virtual void CBamCoverageGraphPanel::SetRegistryPath ( const string path)
inlinevirtual

Implements IRegSettings.

Definition at line 112 of file bam_coverage_graph_panel.hpp.

References m_RegPath.

Referenced by CBamUILoadManager::GetCurrentPanel().

◆ ShowToolTips()

bool CBamCoverageGraphPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 236 of file bam_coverage_graph_panel.cpp.

Member Data Documentation

◆ m_AssemblyPanel

CAssemblySelPanel* CBamCoverageGraphPanel::m_AssemblyPanel

◆ m_BamAssembly

wxStaticText* CBamCoverageGraphPanel::m_BamAssembly

Definition at line 137 of file bam_coverage_graph_panel.hpp.

Referenced by CreateControls(), Init(), and OnIdle().

◆ m_BamAssemblyFuture

job_future<string> CBamCoverageGraphPanel::m_BamAssemblyFuture

Definition at line 150 of file bam_coverage_graph_panel.hpp.

Referenced by OnIdle(), and SetBamFiles().

◆ m_BamFiles

vector<pair<string, string> > CBamCoverageGraphPanel::m_BamFiles

Definition at line 146 of file bam_coverage_graph_panel.hpp.

Referenced by SetBamFiles().

◆ m_RegPath

string CBamCoverageGraphPanel::m_RegPath

Definition at line 148 of file bam_coverage_graph_panel.hpp.

Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().


The documentation for this class was generated from the following files:
Modified on Wed May 01 14:20:12 2024 by modify_doxy.py rev. 669887