OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
OS::CommandExecPars Class Reference

Specifies how to execute a command. More...

Public Member Functions

 CommandExecPars (bool isbatchprog=false)
 
CommandExecParscreatestreams (bool val)
 
CommandExecParsneedmonitor (bool val)
 
CommandExecParsmonitorfnm (BufferString val)
 
CommandExecParslaunchtype (LaunchType val)
 
CommandExecParsprioritylevel (float val)
 
CommandExecParsisconsoleuiprog (bool val)
 
void usePar (const IOPar &)
 
void fillPar (IOPar &) const
 
void removeFromPar (IOPar &) const
 

Static Public Member Functions

static const char * sKeyPriority ()
 
static const StepInterval< int > cMachineUserPriorityRange (bool iswin)
 
static int getMachinePriority (float priolevel, bool iswin)
 

Public Attributes

bool createstreams_
 
bool needmonitor_
 
BufferString monitorfnm_
 
LaunchType launchtype_
 when empty, will be generated (if needed) More...
 
float prioritylevel_
 
bool isconsoleuiprog_
 -1=lowest, 0=normal, 1=highest (administrator) More...
 

Detailed Description

Specifies how to execute a command.

Constructor & Destructor Documentation

OS::CommandExecPars::CommandExecPars ( bool  isbatchprog = false)
inline

Member Function Documentation

static const StepInterval<int> OS::CommandExecPars::cMachineUserPriorityRange ( bool  iswin)
static

Restricted to OS-specific user available range Unix: 0-19 (0=normal) Windows: 6-8 (8=normal)

CommandExecPars& OS::CommandExecPars::createstreams ( bool  val)
inline
void OS::CommandExecPars::fillPar ( IOPar ) const
static int OS::CommandExecPars::getMachinePriority ( float  priolevel,
bool  iswin 
)
static
CommandExecPars& OS::CommandExecPars::isconsoleuiprog ( bool  val)
inline
CommandExecPars& OS::CommandExecPars::launchtype ( LaunchType  val)
inline
CommandExecPars& OS::CommandExecPars::monitorfnm ( BufferString  val)
inline
CommandExecPars& OS::CommandExecPars::needmonitor ( bool  val)
inline
CommandExecPars& OS::CommandExecPars::prioritylevel ( float  val)
inline
void OS::CommandExecPars::removeFromPar ( IOPar ) const
static const char* OS::CommandExecPars::sKeyPriority ( )
inlinestatic
void OS::CommandExecPars::usePar ( const IOPar )

program uses text-based stdin console input if true, will ignore monitor settings

Member Data Documentation

bool OS::CommandExecPars::createstreams_
bool OS::CommandExecPars::isconsoleuiprog_

-1=lowest, 0=normal, 1=highest (administrator)

LaunchType OS::CommandExecPars::launchtype_

when empty, will be generated (if needed)

BufferString OS::CommandExecPars::monitorfnm_
bool OS::CommandExecPars::needmonitor_
float OS::CommandExecPars::prioritylevel_

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