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

#include <albaWizardBlockFileExistCheck.h>

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

Public Member Functions

 albaWizardBlockFileExistCheck (const char *name)
 
 ~albaWizardBlockFileExistCheck ()
 
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: albaWizardTypeFileExistCheck.

Class for create a file exist check block

Definition at line 35 of file albaWizardBlockFileExistCheck.h.

Constructor & Destructor Documentation

◆ albaWizardBlockFileExistCheck()

albaWizardBlockFileExistCheck::albaWizardBlockFileExistCheck ( const char *  name)

Default constructor.

◆ ~albaWizardBlockFileExistCheck()

albaWizardBlockFileExistCheck::~albaWizardBlockFileExistCheck ( )

Default destructor.

Member Function Documentation

◆ SetWindowTitle()

void albaWizardBlockFileExistCheck::SetWindowTitle ( const char *  Title)

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

◆ GetWindowTitle()

wxString albaWizardBlockFileExistCheck::GetWindowTitle ( )
inline

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

Definition at line 49 of file albaWizardBlockFileExistCheck.h.

◆ VmeSelect()

void albaWizardBlockFileExistCheck::VmeSelect ( const char *  path)

Set the path for VME selection.

◆ GetVmeSelect()

wxString albaWizardBlockFileExistCheck::GetVmeSelect ( )
inline

Get the path for VME selection.

Definition at line 55 of file albaWizardBlockFileExistCheck.h.

◆ SetDescription()

void albaWizardBlockFileExistCheck::SetDescription ( const char *  description)

Set The title of the selection window.

◆ GetDescription()

wxString albaWizardBlockFileExistCheck::GetDescription ( )
inline

Get The title of the selection window.

Definition at line 61 of file albaWizardBlockFileExistCheck.h.

◆ AddAcceptedType()

void albaWizardBlockFileExistCheck::AddAcceptedType ( const char *  label)

Add a new accepted type.

Uses the string of VME type.

◆ GetAcceptedTypeList()

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

Returns the list of accepted types.

Definition at line 69 of file albaWizardBlockFileExistCheck.h.

◆ SetWrongTypeNextBlock()

void albaWizardBlockFileExistCheck::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 albaWizardBlockFileExistCheck::GetWrongTypeNextBlock ( )
inline

Get name of the Block called after wrong check.

Definition at line 76 of file albaWizardBlockFileExistCheck.h.

◆ GetNextBlock()

wxString albaWizardBlockFileExistCheck::GetNextBlock ( )
virtual

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

Reimplemented from albaWizardBlock.

◆ EnableErrorMessage()

void albaWizardBlockFileExistCheck::EnableErrorMessage ( bool  enabled)
inline

Enable/disable the visualization of error message box.

Definition at line 82 of file albaWizardBlockFileExistCheck.h.

◆ IsErrorMessageEnabled()

bool albaWizardBlockFileExistCheck::IsErrorMessageEnabled ( )
inline

Return true if error message show is enabled.

Definition at line 85 of file albaWizardBlockFileExistCheck.h.

◆ ExcutionBegin()

virtual void albaWizardBlockFileExistCheck::ExcutionBegin ( )
protectedvirtual

Starts the execution of the block.

Reimplemented from albaWizardBlock.


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