OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Threads::CommandLaunchMgr Class Reference

Starts MachineCommand's using a multi-threaded Threads::WorkManager queue. More...

Public Member Functions

void execute (const OS::MachineCommand &, bool readstdoutput, bool readstderror, CallBack *finished=nullptr, bool inpythonenv=false, const char *workdir=nullptr)
 
void execute (const OS::MachineCommand &, const OS::CommandExecPars &, CallBack *finished=nullptr, bool inpythonenv=false)
 
void execute (const OS::MachineCommand &, OS::LaunchType lt=OS::Wait4Finish, CallBack *finished=nullptr, bool inpythonenv=false, const char *workdir=nullptr)
 
const CommandTaskgetCommandTask (CallBacker *) const
 
int wmQueueID () const
 

Static Public Member Functions

static CommandLaunchMgrgetMgr ()
 

Protected Member Functions

 CommandLaunchMgr ()
 
 ~CommandLaunchMgr ()
 
void execute (CommandTask *, CallBack *finished)
 

Protected Attributes

int twm_queueid_
 

Detailed Description

Starts MachineCommand's using a multi-threaded Threads::WorkManager queue.

<>

Constructor & Destructor Documentation

◆ CommandLaunchMgr()

Threads::CommandLaunchMgr::CommandLaunchMgr ( )
protected

◆ ~CommandLaunchMgr()

Threads::CommandLaunchMgr::~CommandLaunchMgr ( )
protected

Member Function Documentation

◆ execute() [1/4]

void Threads::CommandLaunchMgr::execute ( CommandTask ,
CallBack finished 
)
protected

◆ execute() [2/4]

void Threads::CommandLaunchMgr::execute ( const OS::MachineCommand ,
bool  readstdoutput,
bool  readstderror,
CallBack finished = nullptr,
bool  inpythonenv = false,
const char *  workdir = nullptr 
)

◆ execute() [3/4]

void Threads::CommandLaunchMgr::execute ( const OS::MachineCommand ,
const OS::CommandExecPars ,
CallBack finished = nullptr,
bool  inpythonenv = false 
)

◆ execute() [4/4]

void Threads::CommandLaunchMgr::execute ( const OS::MachineCommand ,
OS::LaunchType  lt = OS::Wait4Finish,
CallBack finished = nullptr,
bool  inpythonenv = false,
const char *  workdir = nullptr 
)

◆ getCommandTask()

const CommandTask* Threads::CommandLaunchMgr::getCommandTask ( CallBacker ) const

◆ getMgr()

static CommandLaunchMgr& Threads::CommandLaunchMgr::getMgr ( )
static

◆ wmQueueID()

int Threads::CommandLaunchMgr::wmQueueID ( ) const
inline

Member Data Documentation

◆ twm_queueid_

int Threads::CommandLaunchMgr::twm_queueid_
protected

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