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

#include <albaOpSelect.h>

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

Public Member Functions

 albaTypeMacro (albaOpSelect, albaOp)
 
 albaOpSelect (wxString label=_("Select"))
 
 ~albaOpSelect ()
 
bool Accept (albaVME *vme)
 
void SetInput (albaVME *vme)
 
albaVMEGetInput ()
 
void SetNewSel (albaVME *vme)
 
albaVMEGetNewSel ()
 
void OpDo ()
 
void OpUndo ()
 
albaOpCopy ()
 
void OpRun ()
 
- Public Member Functions inherited from albaOp
 albaTypeMacro (albaOp, albaObject)
 
 albaOp ()
 
 albaOp (const wxString &label)
 
virtual ~albaOp ()
 
void SetListener (albaObserver *Listener)
 
int GetType ()
 
virtual void OnEvent (albaEventBase *alba_event)
 
virtual albaOpCopy ()
 
virtual void OpRun ()
 
virtual void SetParameters (void *param)
 
virtual albaString GetParameters ()
 
virtual void OpDo ()
 
virtual void OpUndo ()
 
virtual albaGUIGetGui ()
 
virtual void SetInput (albaVME *vme)
 
virtual albaVMEGetInput ()
 
virtual albaVMEGetOutput ()
 
virtual void SetOutput (albaVME *output)
 
bool Accept (albaVME *vme)
 
void EnableAccept (bool enable=true)
 
virtual bool CanUndo ()
 
bool IsInputPreserving ()
 
void ShowGui ()
 
void HideGui ()
 
virtual bool OkEnabled ()
 
virtual void ForceStopWithOk ()
 
virtual void ForceStopWithCancel ()
 
bool IsCompatible (long state)
 
virtual const char ** GetActions ()
 
void SetMouse (albaDeviceButtonsPadMouse *mouse)
 
albaDeviceButtonsPadMouseGetMouse ()
 
void TestModeOn ()
 
void TestModeOff ()
 
bool GetTestMode ()
 
void SetCanundo (bool can_undo=true)
 
bool GetCanundo ()
 
void SetSetting (albaGUISettings *setting)
 
albaGUISettingsGetSetting ()
 
virtual char ** GetIcon ()
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 
- Public Member Functions inherited from albaObject
 albaObject ()
 
virtual ~albaObject ()
 
virtual void Delete ()
 
virtual const char * GetTypeName () const
 
virtual bool IsA (const char *type_name) const
 
virtual bool IsA (const albaTypeID &type_id) const
 
virtual albaObjectNewObjectInstance () const =0
 
virtual const albaTypeIDGetTypeId () const
 
virtual void Print (std::ostream &os, const int indent=0) const
 
 albaObject (const albaObject &c)
 

Protected Attributes

albaAutoPointer< albaVMEm_OldNodeSelected
 
albaAutoPointer< albaVMEm_NewNodeSelected
 
- Protected Attributes inherited from albaOp
albaVMEm_Input
 
albaVMEm_Output
 
albaGUIm_Gui
 
albaGUIHolderm_Guih
 
bool m_Canundo
 
int m_OpType
 
bool m_InputPreserving
 
albaObserverm_Listener
 
albaDeviceButtonsPadMousem_Mouse
 
albaGUISettingsm_SettingPanel
 
bool m_TestMode
 
bool m_EnableAccept
 
- Protected Attributes inherited from albaObject
bool m_HeapFlag
 

Additional Inherited Members

- Public Types inherited from albaOp
enum  ALBAOP_ID { ID_HELP = MINID , MINID }
 
- Static Public Member Functions inherited from albaObject
static const char * GetStaticTypeName ()
 
static bool IsStaticType (const char *type_name)
 
static bool IsStaticType (const albaTypeID &type_id)
 
static const albaTypeIDGetStaticTypeId ()
 
static albaObjectSafeDownCast (albaObject *o)
 
- Public Attributes inherited from albaOp
wxString m_Label
 
int m_Id
 
albaOpm_Next
 
long m_Compatibility
 
wxMenuItem * m_MenuItem
 
wxString m_OpMenuPath
 
- Protected Member Functions inherited from albaOp
virtual bool InternalAccept (albaVME *vme)
 
virtual void OpStop (int result)
 

Detailed Description

class name: albaOpSelect Operation for the selection of a vme.

Definition at line 37 of file albaOpSelect.h.

Constructor & Destructor Documentation

◆ albaOpSelect()

albaOpSelect::albaOpSelect ( wxString  label = _("Select"))

Constructor.

◆ ~albaOpSelect()

albaOpSelect::~albaOpSelect ( )

Destructor.

Member Function Documentation

◆ albaTypeMacro()

albaOpSelect::albaTypeMacro ( albaOpSelect  ,
albaOp   
)

◆ Accept()

bool albaOpSelect::Accept ( albaVME vme)

check if node can be input of the operation.

◆ SetInput()

void albaOpSelect::SetInput ( albaVME vme)
virtual

set input node to the operation.

Reimplemented from albaOp.

◆ GetInput()

albaVME * albaOpSelect::GetInput ( )
inlinevirtual

retrieve the input node.

Reimplemented from albaOp.

Definition at line 51 of file albaOpSelect.h.

◆ SetNewSel()

void albaOpSelect::SetNewSel ( albaVME vme)

selection of another node.

◆ GetNewSel()

albaVME * albaOpSelect::GetNewSel ( )
inline

retrieve new selected node.

Definition at line 55 of file albaOpSelect.h.

◆ OpDo()

void albaOpSelect::OpDo ( )
virtual

execute the operation.


Reimplemented from albaOp.

◆ OpUndo()

void albaOpSelect::OpUndo ( )
virtual

undo the operation.

Reimplemented from albaOp.

◆ Copy()

albaOp * albaOpSelect::Copy ( )
virtual

return a instance of current object.

Reimplemented from albaOp.

◆ OpRun()

void albaOpSelect::OpRun ( )
virtual

runs operation.

Reimplemented from albaOp.

Member Data Documentation

◆ m_OldNodeSelected

albaAutoPointer<albaVME> albaOpSelect::m_OldNodeSelected
protected

Definition at line 65 of file albaOpSelect.h.

◆ m_NewNodeSelected

albaAutoPointer<albaVME> albaOpSelect::m_NewNodeSelected
protected

Definition at line 66 of file albaOpSelect.h.


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