OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
CmdDrive::Command Class Referenceabstract
Inheritance diagram for CmdDrive::Command:
[legend]

Public Types

enum  FormTag {
  NoForm =0, Text, Number, Colour,
  Value, Angle, Minimum, Maximum,
  Step, Percentage, FilePath
}
 

Public Member Functions

 mDefineFactory1ParamInClass (Command, CmdDriver &, factory)
 
 Command (CmdDriver &cmddrv)
 
virtual ~Command ()
 
virtual const char * name () const =0
 
virtual bool act (const char *parstr)=0
 
virtual bool isOpenQDlgCommand () const
 
virtual bool isLocalEnvCommand () const
 
virtual bool isVisualCommand () const
 
virtual bool isUiObjChangeCommand () const
 

Static Public Member Functions

static void initStandardCommands ()
 
static BufferString factoryKey (const char *name)
 
static bool isQuestionName (const char *, CmdDriver &)
 

Protected Member Functions

uiMainWinapplWin ()
 
const char * outputDir () const
 
bool switchCurWin (uiMainWin *)
 
const uiMainWincurWin () const
 
bool openQDlg () const
 
CmdDriver::OnErrorTag onError () const
 
void setOnError (CmdDriver::OnErrorTag)
 
bool verifyWinAssert (const char *newwinstr=0)
 
bool verifyWinState (const char *newwinstr=0, WinStateType newwinstate=NoState)
 
void setRecoveryStep (CmdDriver::RecoveryTag)
 
void setCaseSensitive (bool yn)
 
bool isCaseSensitive () const
 
void skipGreyOuts (bool yn=true)
 
bool greyOutsSkipped () const
 
bool goingToChangeUiObj () const
 
void setSleep (float time, bool regular)
 
void setWait (float time, bool regular)
 
const uiObjectlocalSearchEnv () const
 
bool doLocalAction (uiObject *localenv, const char *actstr)
 
bool tryAction (const char *identname, const char *actstr)
 
bool prepareActivate (Activator *)
 
void finishActivate ()
 
void waitForClearance ()
 
void prepareIntercept (const FileMultiString &menupath, int onoff, CmdDriver::InterceptMode=CmdDriver::Click)
 
bool didInterceptSucceed (const char *objnm)
 
const MenuInfointerceptedMenuInfo () const
 
void interact (const InteractSpec *)
 
WildcardManagerwildcardMan ()
 
IdentifierManageridentifierMan ()
 
ExprInterpreterexprInterpreter ()
 
void end ()
 
void jump (int extralines=0)
 
int lastActionIdxMove () const
 
int curActionIdx () const
 
bool insertProcedure (int defidx)
 

Static Protected Member Functions

static BufferString createFactoryKey (const char *keyword)
 

Protected Attributes

CmdDriverdrv_
 

Detailed Description

Member Enumeration Documentation

Enumerator
NoForm 
Text 
Number 
Colour 
Value 
Angle 
Minimum 
Maximum 
Step 
Percentage 
FilePath 

Constructor & Destructor Documentation

CmdDrive::Command::Command ( CmdDriver cmddrv)
inline
virtual CmdDrive::Command::~Command ( )
inlinevirtual

Member Function Documentation

virtual bool CmdDrive::Command::act ( const char *  parstr)
pure virtual

Implemented in CmdDrive::IsShownCmd, CmdDrive::GetTabCmd, CmdDrive::IsTabOnCmd, CmdDrive::CurTabCmd, CmdDrive::NrTabsCmd, CmdDrive::GetButtonMenuItemCmd, CmdDrive::IsButtonMenuItemOnCmd, CmdDrive::NrButtonMenuItemsCmd, CmdDrive::GetButtonCmd, CmdDrive::IsButtonOnCmd, CmdDrive::GetMenuItemCmd, CmdDrive::IsMenuItemOnCmd, CmdDrive::NrMenuItemsCmd, CmdDrive::OkCancelCmd, CmdDrive::ButtonMenuCmd, CmdDrive::TabCmd, CmdDrive::GetTableMenuItemCmd, CmdDrive::IsTableMenuItemOnCmd, CmdDrive::NrTableMenuItemsCmd, CmdDrive::GetTableItemCmd, CmdDrive::GetTableColCmd, CmdDrive::GetTableRowCmd, CmdDrive::CurTableItemCmd, CmdDrive::CurTableColCmd, CmdDrive::CurTableRowCmd, CmdDrive::IsTableItemOnCmd, CmdDrive::NrTableColsCmd, CmdDrive::NrTableRowsCmd, CmdDrive::GetListMenuItemCmd, CmdDrive::TableMenuCmd, CmdDrive::TableExecCmd, CmdDrive::IsListMenuItemOnCmd, CmdDrive::NrListMenuItemsCmd, CmdDrive::GetListItemCmd, CmdDrive::CurListItemCmd, CmdDrive::GetSliderCmd, CmdDrive::GetSpinCmd, CmdDrive::IsListButtonOnCmd, CmdDrive::GetInputCmd, CmdDrive::IsListItemOnCmd, CmdDrive::NrListItemsCmd, CmdDrive::GetTreeMenuItemCmd, CmdDrive::IsTreeMenuItemOnCmd, CmdDrive::ShowCmd, CmdDrive::NrTreeMenuItemsCmd, CmdDrive::IsComboItemOnCmd, CmdDrive::GetTreePathCmd, CmdDrive::GetTreeItemCmd, CmdDrive::NrComboItemsCmd, CmdDrive::GetTreeColCmd, CmdDrive::CurTreeItemCmd, CmdDrive::CurComboItemCmd, CmdDrive::CurTreeColCmd, CmdDrive::TableSelectCmd, CmdDrive::CurTreePathCmd, CmdDrive::GetComboItemCmd, CmdDrive::IsTreeButtonOnCmd, CmdDrive::SliderCmd, CmdDrive::IsTreeItemExpandedCmd, CmdDrive::IsTreeItemOnCmd, CmdDrive::NrTreeColsCmd, CmdDrive::NrTreeItemsCmd, CmdDrive::EndCmd, CmdDrive::CallCmd, CmdDrive::CloseCmd, CmdDrive::ReturnCmd, CmdDrive::FedCmd, CmdDrive::DefCmd, CmdDrive::TreeExpandCmd, CmdDrive::ContinueCmd, CmdDrive::TreeButtonCmd, CmdDrive::BreakCmd, CmdDrive::SpinCmd, CmdDrive::ListSelectCmd, CmdDrive::TableFillCmd, CmdDrive::RofCmd, CmdDrive::TreeMenuCmd, CmdDrive::ForCmd, CmdDrive::TreeClickCmd, CmdDrive::OdCmd, CmdDrive::DoWhileCmd, CmdDrive::OdUntilCmd, CmdDrive::DoCmd, CmdDrive::FiCmd, CmdDrive::ElseCmd, CmdDrive::ElseIfCmd, CmdDrive::IfCmd, CmdDrive::GetCanvasMenuItemCmd, CmdDrive::IsCanvasMenuItemOnCmd, CmdDrive::ButtonCmd, CmdDrive::WindowCmd, CmdDrive::NrCanvasMenuItemsCmd, CmdDrive::ListMenuCmd, CmdDrive::ListClickCmd, CmdDrive::TableClickCmd, CmdDrive::ListButtonCmd, CmdDrive::GuideCmd, CmdDrive::PauseCmd, CmdDrive::WinAssertCmd, CmdDrive::WaitCmd, CmdDrive::TryCmd, CmdDrive::InputCmd, CmdDrive::SleepCmd, CmdDrive::OnOffCheckCmd, CmdDrive::MenuCmd, CmdDrive::OnErrorCmd, CmdDrive::LogModeCmd, CmdDrive::ComboCmd, CmdDrive::SnapshotCmd, CmdDrive::CanvasMenuCmd, CmdDrive::IsWindowCmd, CmdDrive::IsMatchCmd, CmdDrive::GreyOutsCmd, CmdDrive::FileOkCmd, CmdDrive::CommentCmd, CmdDrive::ColorOkCmd, CmdDrive::CaseCmd, and CmdDrive::AssignCmd.

uiMainWin* CmdDrive::Command::applWin ( )
protected
static BufferString CmdDrive::Command::createFactoryKey ( const char *  keyword)
staticprotected
int CmdDrive::Command::curActionIdx ( ) const
protected
const uiMainWin* CmdDrive::Command::curWin ( ) const
protected
bool CmdDrive::Command::didInterceptSucceed ( const char *  objnm)
protected
bool CmdDrive::Command::doLocalAction ( uiObject localenv,
const char *  actstr 
)
protected
void CmdDrive::Command::end ( )
protected
ExprInterpreter& CmdDrive::Command::exprInterpreter ( )
protected
static BufferString CmdDrive::Command::factoryKey ( const char *  name)
static
void CmdDrive::Command::finishActivate ( )
protected
bool CmdDrive::Command::goingToChangeUiObj ( ) const
protected
bool CmdDrive::Command::greyOutsSkipped ( ) const
protected
IdentifierManager& CmdDrive::Command::identifierMan ( )
protected
static void CmdDrive::Command::initStandardCommands ( )
static
bool CmdDrive::Command::insertProcedure ( int  defidx)
protected
void CmdDrive::Command::interact ( const InteractSpec )
protected
const MenuInfo& CmdDrive::Command::interceptedMenuInfo ( ) const
protected
bool CmdDrive::Command::isCaseSensitive ( ) const
protected
virtual bool CmdDrive::Command::isLocalEnvCommand ( ) const
inlinevirtual
virtual bool CmdDrive::Command::isOpenQDlgCommand ( ) const
inlinevirtual
static bool CmdDrive::Command::isQuestionName ( const char *  ,
CmdDriver  
)
static
virtual bool CmdDrive::Command::isUiObjChangeCommand ( ) const
inlinevirtual
virtual bool CmdDrive::Command::isVisualCommand ( ) const
inlinevirtual
void CmdDrive::Command::jump ( int  extralines = 0)
protected
int CmdDrive::Command::lastActionIdxMove ( ) const
protected
const uiObject* CmdDrive::Command::localSearchEnv ( ) const
protected
CmdDrive::Command::mDefineFactory1ParamInClass ( Command  ,
CmdDriver ,
factory   
)
virtual const char* CmdDrive::Command::name ( ) const
pure virtual

Implemented in CmdDrive::StealthCmd, CmdDrive::IsShownCmd, CmdDrive::GetTabCmd, CmdDrive::IsTabOnCmd, CmdDrive::UiObjQuestionCmd, CmdDrive::CurTabCmd, CmdDrive::NrTabsCmd, CmdDrive::GetButtonMenuItemCmd, CmdDrive::UiObjectCmd, CmdDrive::IsButtonMenuItemOnCmd, CmdDrive::NrButtonMenuItemsCmd, CmdDrive::GetButtonCmd, CmdDrive::IsButtonOnCmd, CmdDrive::GetMenuItemCmd, CmdDrive::IsMenuItemOnCmd, CmdDrive::NrMenuItemsCmd, CmdDrive::CancelCmd, CmdDrive::OkCmd, CmdDrive::OkCancelCmd, CmdDrive::ButtonMenuCmd, CmdDrive::TabCmd, CmdDrive::GetTableMenuItemCmd, CmdDrive::IsTableMenuItemOnCmd, CmdDrive::NrTableMenuItemsCmd, CmdDrive::GetTableItemCmd, CmdDrive::GetTableColCmd, CmdDrive::GetTableRowCmd, CmdDrive::CurTableItemCmd, CmdDrive::CurTableColCmd, CmdDrive::CurTableRowCmd, CmdDrive::IsTableItemOnCmd, CmdDrive::NrTableColsCmd, CmdDrive::NrTableRowsCmd, CmdDrive::GetListMenuItemCmd, CmdDrive::TableMenuCmd, CmdDrive::TableExecCmd, CmdDrive::IsListMenuItemOnCmd, CmdDrive::NrListMenuItemsCmd, CmdDrive::GetListItemCmd, CmdDrive::TableQuestionCmd, CmdDrive::CurListItemCmd, CmdDrive::GetSliderCmd, CmdDrive::GetSpinCmd, CmdDrive::IsListButtonOnCmd, CmdDrive::GetInputCmd, CmdDrive::IsListItemOnCmd, CmdDrive::NrListItemsCmd, CmdDrive::GetTreeMenuItemCmd, CmdDrive::IsTreeMenuItemOnCmd, CmdDrive::ShowCmd, CmdDrive::NrTreeMenuItemsCmd, CmdDrive::IsComboItemOnCmd, CmdDrive::GetTreePathCmd, CmdDrive::GetTreeItemCmd, CmdDrive::NrComboItemsCmd, CmdDrive::GetTreeColCmd, CmdDrive::CurTreeItemCmd, CmdDrive::CurComboItemCmd, CmdDrive::CurTreeColCmd, CmdDrive::TableSelectCmd, CmdDrive::CurTreePathCmd, CmdDrive::GetComboItemCmd, CmdDrive::IsTreeButtonOnCmd, CmdDrive::SliderCmd, CmdDrive::IsTreeItemExpandedCmd, CmdDrive::IsTreeItemOnCmd, CmdDrive::NrTreeColsCmd, CmdDrive::NrTreeItemsCmd, CmdDrive::EndCmd, CmdDrive::CallCmd, CmdDrive::CloseCmd, CmdDrive::ReturnCmd, CmdDrive::TreeQuestionCmd, CmdDrive::FedCmd, CmdDrive::DefCmd, CmdDrive::TreeExpandCmd, CmdDrive::ContinueCmd, CmdDrive::TreeButtonCmd, CmdDrive::BreakCmd, CmdDrive::SpinCmd, CmdDrive::ListSelectCmd, CmdDrive::TableFillCmd, CmdDrive::RofCmd, CmdDrive::TreeMenuCmd, CmdDrive::ForCmd, CmdDrive::TreeClickCmd, CmdDrive::OdCmd, CmdDrive::DoWhileCmd, CmdDrive::OdUntilCmd, CmdDrive::DoCmd, CmdDrive::FiCmd, CmdDrive::ElseCmd, CmdDrive::ElseIfCmd, CmdDrive::IfCmd, CmdDrive::GetCanvasMenuItemCmd, CmdDrive::IsCanvasMenuItemOnCmd, CmdDrive::ButtonCmd, CmdDrive::WindowCmd, CmdDrive::NrCanvasMenuItemsCmd, CmdDrive::ListMenuCmd, CmdDrive::ListClickCmd, CmdDrive::TableClickCmd, CmdDrive::ListButtonCmd, CmdDrive::GuideCmd, CmdDrive::PauseCmd, CmdDrive::WinAssertCmd, CmdDrive::WaitCmd, CmdDrive::TryCmd, CmdDrive::InputCmd, CmdDrive::SleepCmd, CmdDrive::OnOffCheckCmd, CmdDrive::MenuCmd, CmdDrive::OnErrorCmd, CmdDrive::LogModeCmd, CmdDrive::ComboCmd, CmdDrive::SnapshotCmd, CmdDrive::CanvasMenuCmd, CmdDrive::IsWindowCmd, CmdDrive::TableCmd, CmdDrive::IsMatchCmd, CmdDrive::GreyOutsCmd, CmdDrive::FileOkCmd, CmdDrive::CommentCmd, CmdDrive::ColorOkCmd, CmdDrive::TreeCmd, CmdDrive::CaseCmd, and CmdDrive::AssignCmd.

CmdDriver::OnErrorTag CmdDrive::Command::onError ( ) const
protected
bool CmdDrive::Command::openQDlg ( ) const
protected
const char* CmdDrive::Command::outputDir ( ) const
protected
bool CmdDrive::Command::prepareActivate ( Activator )
protected
void CmdDrive::Command::prepareIntercept ( const FileMultiString menupath,
int  onoff,
CmdDriver::InterceptMode  = CmdDriver::Click 
)
protected
void CmdDrive::Command::setCaseSensitive ( bool  yn)
protected
void CmdDrive::Command::setOnError ( CmdDriver::OnErrorTag  )
protected
void CmdDrive::Command::setRecoveryStep ( CmdDriver::RecoveryTag  )
protected
void CmdDrive::Command::setSleep ( float  time,
bool  regular 
)
protected
void CmdDrive::Command::setWait ( float  time,
bool  regular 
)
protected
void CmdDrive::Command::skipGreyOuts ( bool  yn = true)
protected
bool CmdDrive::Command::switchCurWin ( uiMainWin )
protected
bool CmdDrive::Command::tryAction ( const char *  identname,
const char *  actstr 
)
protected
bool CmdDrive::Command::verifyWinAssert ( const char *  newwinstr = 0)
protected
bool CmdDrive::Command::verifyWinState ( const char *  newwinstr = 0,
WinStateType  newwinstate = NoState 
)
protected
void CmdDrive::Command::waitForClearance ( )
protected
WildcardManager& CmdDrive::Command::wildcardMan ( )
protected

Member Data Documentation

CmdDriver& CmdDrive::Command::drv_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019