17#ifndef __albaWizardBlock_H__
18#define __albaWizardBlock_H__
25#include "albaServiceClient.h"
26#include "albaAbsLogicManager.h"
Interface implementing the Observer of the Subject/Observer design pattern.
albaString - performs common string operations on c-strings.
Class Name: albaWizardBlock.
virtual wxString GetNextBlock()
Return the name of the Block witch will be executed after this.
void SetSelectedVME(albaVME *node)
Set the selected VME, this function must be called before execution begin.
virtual void ExcutionEnd()
Ends the execution of the block.
void SetNextBlockOnAbort(const char *label)
Set a Label containing a description of the the current step.
virtual wxString GetRequiredOperation()
Returns the name of the operation required by this block Return an empty string if no operation is re...
virtual void ExcutionBegin()
Starts the execution of the block.
wxString GetName()
Get the name of the block.
virtual void SetNextBlock(const char *block)
Set name of the Block called after operation.
albaVME * m_SelectedVME
Pointer to the current selected node.
void SetDescriptionLabel(const char *label)
Set a Label containing a description of the the current step.
void SetBlockProgress(int progress)
Set the progress associated to this block.
virtual void Abort()
Abort the execution of the block.
int Success()
Return true if the user has aborted the operation.
virtual void Delete()
Called to clean up memory.
albaString m_DescriptionLabel
albaVME * m_InputVME
The vme selected on operation start.
albaObserver * m_Listener
void SetListener(albaObserver *Listener)
Sets The event listener.
albaString GetDescriptionLabel()
Get a Label containing a description of the the current step.
albaWizardBlock(const char *name)
Default constructor Requires the name of the block "START","END" are reserved.
int GetBlockProgress()
Get the progress associated to this block.
virtual ~albaWizardBlock()
Default destructor.