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

#include <albaWizardBlockOperation.h>

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

Public Member Functions

 albaWizardBlockOperation (const char *name)
 
 ~albaWizardBlockOperation ()
 
void SetRequiredView (const char *View)
 
wxString GetRequiredView ()
 
void ResizeView (double x, double y, double width, double height)
 
void TileWindows (const char *tile_windows)
 
void SetViewToDelete (const char *View)
 
void VmeSelect (const char *path)
 
wxString GetVmeSelect ()
 
void VmeShowAdd (const char *path)
 
std::vector< wxString > * GetVmeShowList ()
 
void VmeHideAdd (const char *path)
 
std::vector< wxString > * GetVmeHideList ()
 
void SetRequiredOperation (const char *name)
 
wxString GetRequiredOperation ()
 
void SetAutoShowSelectedVME (bool autoShow)
 
bool GetAutoShowSelectedVME ()
 
- 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

void ExcutionBegin ()
 
void ExcutionEnd ()
 
- 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: albaWizardOperaiontionBlock.

Class for operation block inside the wizard This classes manage all the operation required to run an operation Open the view Required by the op (if necesary) Selects the input VME Show other useful VME Run the operation Hide some VME after operation termination

Definition at line 40 of file albaWizardBlockOperation.h.

Constructor & Destructor Documentation

◆ albaWizardBlockOperation()

albaWizardBlockOperation::albaWizardBlockOperation ( const char *  name)

Default constructor.

◆ ~albaWizardBlockOperation()

albaWizardBlockOperation::~albaWizardBlockOperation ( )

Default destructor.

Member Function Documentation

◆ SetRequiredView()

void albaWizardBlockOperation::SetRequiredView ( const char *  View)

Set The name of the operation required view.

◆ GetRequiredView()

wxString albaWizardBlockOperation::GetRequiredView ( )

Get The name of the operation required view.

◆ ResizeView()

void albaWizardBlockOperation::ResizeView ( double  x,
double  y,
double  width,
double  height 
)

Resize and reposition the View.

◆ TileWindows()

void albaWizardBlockOperation::TileWindows ( const char *  tile_windows)

Tile windows horizontally, vertically or in cascade mode.

◆ SetViewToDelete()

void albaWizardBlockOperation::SetViewToDelete ( const char *  View)

Set The name of the required view to delete.

◆ VmeSelect()

void albaWizardBlockOperation::VmeSelect ( const char *  path)

Set the path for VME selection.

◆ GetVmeSelect()

wxString albaWizardBlockOperation::GetVmeSelect ( )
inline

Get the path for VME selection.

Definition at line 69 of file albaWizardBlockOperation.h.

◆ VmeShowAdd()

void albaWizardBlockOperation::VmeShowAdd ( const char *  path)

Set the path of the VMEs that is need to show for the operation.

The path starts from the selected vme. Multiple calls to this function correspond on multiple VME show.

◆ GetVmeShowList()

std::vector< wxString > * albaWizardBlockOperation::GetVmeShowList ( )
inline

Returns the list of vme to show.

Definition at line 77 of file albaWizardBlockOperation.h.

◆ VmeHideAdd()

void albaWizardBlockOperation::VmeHideAdd ( const char *  path)

Set the path of the VMEs that is need to hide after the operation.

The path starts from the selected vme. Multiple calls to this function correspond on multiple VME show

◆ GetVmeHideList()

std::vector< wxString > * albaWizardBlockOperation::GetVmeHideList ( )
inline

Returns the list of vme to Hide.

Definition at line 85 of file albaWizardBlockOperation.h.

◆ SetRequiredOperation()

void albaWizardBlockOperation::SetRequiredOperation ( const char *  name)

Set the name of the operation required by this block Set to an empty string to obtain only show and selections There are some wizard special operations: SAVE Save the msf SAVE_AS Save the msf with name OPEN an msf DELETE delete a VME (and his children) from tree NEW create a new, empty msf PAUSE open an operation with only one "next step" button RELOAD reload current msf, an msf must be loaded or saved before operation call.

◆ GetRequiredOperation()

wxString albaWizardBlockOperation::GetRequiredOperation ( )
virtual

Returns the name of the operation required by this block Return an empty string if no operation is required.

Reimplemented from albaWizardBlock.

◆ SetAutoShowSelectedVME()

void albaWizardBlockOperation::SetAutoShowSelectedVME ( bool  autoShow)

If Set Auto Show Selected VME to false the selected vme will not auto showed before operation start.

◆ GetAutoShowSelectedVME()

bool albaWizardBlockOperation::GetAutoShowSelectedVME ( )

Get Auto Show Selected VME status.

◆ ExcutionBegin()

void albaWizardBlockOperation::ExcutionBegin ( )
protectedvirtual

Starts the execution of the block.

Reimplemented from albaWizardBlock.

◆ ExcutionEnd()

void albaWizardBlockOperation::ExcutionEnd ( )
protectedvirtual

Ends the execution of the block.

Reimplemented from albaWizardBlock.


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