ALBA
Public Member Functions | Protected Member Functions | List of all members
albaWizardBlockTypeCheck Class Reference

#include <albaWizardBlockTypeCheck.h>

Inheritance diagram for albaWizardBlockTypeCheck:
Inheritance graph
[legend]
Collaboration diagram for albaWizardBlockTypeCheck:
Collaboration graph
[legend]

Public Member Functions

 albaWizardBlockTypeCheck (const char *name)
 
 ~albaWizardBlockTypeCheck ()
 
void SetWindowTitle (const char *Title)
 
wxString GetWindowTitle ()
 
void VmeSelect (const char *path)
 
wxString GetVmeSelect ()
 
void SetDescription (const char *description)
 
wxString GetDescription ()
 
void AddAcceptedType (const char *label)
 
std::vector< wxString > * GetAcceptedTypeList ()
 
void SetWrongTypeNextBlock (const char *block)
 
wxString GetWrongTypeNextBlock ()
 
wxString GetNextBlock ()
 
void EnableErrorMessage (bool enabled)
 
bool IsErrorMessageEnabled ()
 
- Public Member Functions inherited from albaWizardBlock
 albaWizardBlock (const char *name)
 
virtual ~albaWizardBlock ()
 
wxString GetName ()
 
virtual void SetNextBlock (const char *block)
 
virtual wxString GetNextBlock ()
 
virtual void Delete ()
 
albaString GetDescriptionLabel ()
 
void SetDescriptionLabel (const char *label)
 
void SetNextBlockOnAbort (const char *label)
 
virtual void Abort ()
 
void SetBlockProgress (int progress)
 
int GetBlockProgress ()
 

Protected Member Functions

virtual void ExcutionBegin ()
 
- Protected Member Functions inherited from albaWizardBlock
virtual void ExcutionBegin ()
 
virtual void ExcutionEnd ()
 
void SetSelectedVME (albaVME *node)
 
void SetListener (albaObserver *Listener)
 
int Success ()
 
virtual wxString GetRequiredOperation ()
 

Additional Inherited Members

- Protected Attributes inherited from albaWizardBlock
wxString m_Name
 
wxString m_BlockType
 
wxString m_AbortBlock
 
wxString m_NextBlock
 
albaVMEm_SelectedVME
 
albaVMEm_InputVME
 
int m_Success
 
int m_Running
 
albaObserverm_Listener
 
albaString m_DescriptionLabel
 
long m_BlockProgress
 

Detailed Description

Class Name: albaWizardTypeCheckBlock.

Class for create a type check block, if the selected VME is wrong the wizard will be aborted.

Definition at line 36 of file albaWizardBlockTypeCheck.h.

Constructor & Destructor Documentation

◆ albaWizardBlockTypeCheck()

albaWizardBlockTypeCheck::albaWizardBlockTypeCheck ( const char *  name)

Default constructor.

◆ ~albaWizardBlockTypeCheck()

albaWizardBlockTypeCheck::~albaWizardBlockTypeCheck ( )

Default destructor.

Member Function Documentation

◆ SetWindowTitle()

void albaWizardBlockTypeCheck::SetWindowTitle ( const char *  Title)

Set The title of the window showed when the type check was not

◆ GetWindowTitle()

wxString albaWizardBlockTypeCheck::GetWindowTitle ( )
inline

Get The title of the window showed when the type check was not

Definition at line 50 of file albaWizardBlockTypeCheck.h.

◆ VmeSelect()

void albaWizardBlockTypeCheck::VmeSelect ( const char *  path)

Set the path for VME selection.

◆ GetVmeSelect()

wxString albaWizardBlockTypeCheck::GetVmeSelect ( )
inline

Get the path for VME selection.

Definition at line 56 of file albaWizardBlockTypeCheck.h.

◆ SetDescription()

void albaWizardBlockTypeCheck::SetDescription ( const char *  description)

Set The title of the selection window.

◆ GetDescription()

wxString albaWizardBlockTypeCheck::GetDescription ( )
inline

Get The title of the selection window.

Definition at line 62 of file albaWizardBlockTypeCheck.h.

◆ AddAcceptedType()

void albaWizardBlockTypeCheck::AddAcceptedType ( const char *  label)

Add a new accepted type.

Uses the string of VME type.

◆ GetAcceptedTypeList()

std::vector< wxString > * albaWizardBlockTypeCheck::GetAcceptedTypeList ( )
inline

Returns the list of accepted types.

Definition at line 70 of file albaWizardBlockTypeCheck.h.

◆ SetWrongTypeNextBlock()

void albaWizardBlockTypeCheck::SetWrongTypeNextBlock ( const char *  block)

Set name of the Block called after wrong check.

By default is set to "END" and the wizard will closed on wrong check.

◆ GetWrongTypeNextBlock()

wxString albaWizardBlockTypeCheck::GetWrongTypeNextBlock ( )
inline

Get name of the Block called after wrong check.

Definition at line 77 of file albaWizardBlockTypeCheck.h.

◆ GetNextBlock()

wxString albaWizardBlockTypeCheck::GetNextBlock ( )
virtual

Return the name of the Block witch will be executed after this.

Reimplemented from albaWizardBlock.

◆ EnableErrorMessage()

void albaWizardBlockTypeCheck::EnableErrorMessage ( bool  enabled)
inline

Enable/disable the visualization of error message box.

Definition at line 83 of file albaWizardBlockTypeCheck.h.

◆ IsErrorMessageEnabled()

bool albaWizardBlockTypeCheck::IsErrorMessageEnabled ( )
inline

Return true if error message show is enabled.

Definition at line 86 of file albaWizardBlockTypeCheck.h.

◆ ExcutionBegin()

virtual void albaWizardBlockTypeCheck::ExcutionBegin ( )
protectedvirtual

Starts the execution of the block.

Reimplemented from albaWizardBlock.


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