#include <albaOp.h>
Definition at line 50 of file albaOp.h.
◆ ALBAOP_ID
◆ albaOp() [1/2]
◆ albaOp() [2/2]
albaOp::albaOp |
( |
const wxString & |
label | ) |
|
◆ ~albaOp()
virtual albaOp::~albaOp |
( |
| ) |
|
|
virtual |
◆ albaTypeMacro()
◆ SetListener()
◆ GetType()
Return the type of the operation: OPTYPE_OP, OPTYPE_IMPORTER, OPTYPE_EXPORTER, OPTYPE_EDIT or OPTYPE_STATECHANGER.
◆ OnEvent()
◆ Copy()
virtual albaOp * albaOp::Copy |
( |
| ) |
|
|
virtual |
◆ OpRun()
virtual void albaOp::OpRun |
( |
| ) |
|
|
virtual |
◆ SetParameters()
virtual void albaOp::SetParameters |
( |
void * |
param | ) |
|
|
inlinevirtual |
Initialize operation's variables according to the parameter's list.
Definition at line 76 of file albaOp.h.
◆ GetParameters()
Return parameters used by operation.
Definition at line 79 of file albaOp.h.
◆ OpDo()
virtual void albaOp::OpDo |
( |
| ) |
|
|
virtual |
◆ OpUndo()
virtual void albaOp::OpUndo |
( |
| ) |
|
|
virtual |
◆ GetGui()
virtual albaGUI * albaOp::GetGui |
( |
| ) |
|
|
inlinevirtual |
Return the operation's interface.
Definition at line 88 of file albaOp.h.
◆ SetInput()
virtual void albaOp::SetInput |
( |
albaVME * |
vme | ) |
|
|
inlinevirtual |
◆ GetInput()
virtual albaVME * albaOp::GetInput |
( |
| ) |
|
|
inlinevirtual |
◆ GetOutput()
virtual albaVME * albaOp::GetOutput |
( |
| ) |
|
|
inlinevirtual |
◆ SetOutput()
virtual void albaOp::SetOutput |
( |
albaVME * |
output | ) |
|
|
inlinevirtual |
◆ Accept()
bool albaOp::Accept |
( |
albaVME * |
vme | ) |
|
Return true for the acceptable vme type.
◆ EnableAccept()
void albaOp::EnableAccept |
( |
bool |
enable = true | ) |
|
|
inline |
◆ CanUndo()
virtual bool albaOp::CanUndo |
( |
| ) |
|
|
virtual |
Return true if the operation is undoable.
◆ IsInputPreserving()
bool albaOp::IsInputPreserving |
( |
| ) |
|
|
inline |
Return true if the operation preserve the input vme.
Definition at line 107 of file albaOp.h.
◆ ShowGui()
Puts the operation's interface into the gui holder and send the event to plug the interface on the side bar.
◆ HideGui()
Send the event to remove the interface from the side bar.
◆ OkEnabled()
virtual bool albaOp::OkEnabled |
( |
| ) |
|
|
virtual |
Return true if the OK button in operation's interface is enabled.
◆ ForceStopWithOk()
virtual void albaOp::ForceStopWithOk |
( |
| ) |
|
|
virtual |
Stop operation with OK condition.
◆ ForceStopWithCancel()
virtual void albaOp::ForceStopWithCancel |
( |
| ) |
|
|
virtual |
Stop operation with CANCEL condition.
◆ IsCompatible()
bool albaOp::IsCompatible |
( |
long |
state | ) |
|
◆ GetActions()
virtual const char ** albaOp::GetActions |
( |
| ) |
|
|
inlinevirtual |
◆ SetMouse()
Initialize the mouse device.
◆ GetMouse()
◆ TestModeOn()
void albaOp::TestModeOn |
( |
| ) |
|
|
inline |
Turn On m_TestMode flag.
The m_TestMode flag is used to exclude the execution of splash screen or wxBusyInfo that conflicts with test machine.
Definition at line 143 of file albaOp.h.
◆ TestModeOff()
void albaOp::TestModeOff |
( |
| ) |
|
|
inline |
Used to turn off m_TestMode flag.
Definition at line 146 of file albaOp.h.
◆ GetTestMode()
bool albaOp::GetTestMode |
( |
| ) |
|
|
inline |
◆ SetCanundo()
void albaOp::SetCanundo |
( |
bool |
can_undo = true | ) |
|
|
inline |
Set the Canundo flag for the operation when is plugged.
Definition at line 152 of file albaOp.h.
◆ GetCanundo()
bool albaOp::GetCanundo |
( |
| ) |
|
|
inline |
Return the Canundo flag for the operation.
Definition at line 155 of file albaOp.h.
◆ SetSetting()
Set the reference to the operation's setting panel.
Definition at line 158 of file albaOp.h.
◆ GetSetting()
Get the reference to the operation's setting panel.
Definition at line 161 of file albaOp.h.
◆ GetIcon()
virtual char ** albaOp::GetIcon |
( |
| ) |
|
|
virtual |
Return an xpm-icon that can be used to represent this operation.
◆ InternalAccept()
virtual bool albaOp::InternalAccept |
( |
albaVME * |
vme | ) |
|
|
protectedvirtual |
Return true for the acceptable vme type.
◆ OpStop()
virtual void albaOp::OpStop |
( |
int |
result | ) |
|
|
protectedvirtual |
This method is called at the end of the operation and result contain the wxOK or wxCANCEL.
◆ m_Label
Label of the operation that will appear on the SideBar tab.
Definition at line 124 of file albaOp.h.
◆ m_Id
Index of the operation referring to the operation list.
Definition at line 125 of file albaOp.h.
◆ m_Next
Pointer to the next operation in the operation's list.
Definition at line 126 of file albaOp.h.
◆ m_Compatibility
long albaOp::m_Compatibility |
◆ m_MenuItem
wxMenuItem* albaOp::m_MenuItem |
◆ m_OpMenuPath
wxString albaOp::m_OpMenuPath |
◆ m_Input
Pointer to the Input VME.
Definition at line 174 of file albaOp.h.
◆ m_Output
Pointer to the Output VME.
Definition at line 175 of file albaOp.h.
◆ m_Gui
Pointer to the operation's GUI.
Definition at line 176 of file albaOp.h.
◆ m_Guih
◆ m_Canundo
Flag to establish if the operation define the UnDo method or not.
Definition at line 178 of file albaOp.h.
◆ m_OpType
Store the type of the operation: OPTYPE_OP, OPTYPE_IMPORTER, OPTYPE_EXPORTER.
Definition at line 179 of file albaOp.h.
◆ m_InputPreserving
bool albaOp::m_InputPreserving |
|
protected |
Flag to say if the operation change the input data (m_InputPreserving = false) or not.
Definition at line 180 of file albaOp.h.
◆ m_Listener
◆ m_Mouse
◆ m_SettingPanel
◆ m_TestMode
Flag used with cppunitTest: put this flag at true when executing tests to avoid busy-info or splash screen to be created, default is false.
Definition at line 184 of file albaOp.h.
◆ m_EnableAccept
bool albaOp::m_EnableAccept |
|
protected |
The documentation for this class was generated from the following file: