digiKam
Digikam::ExifToolProcess::Private Class Reference

Classes

class  Command
 

Public Member Functions

void execNextCmd ()
 
 Private (ExifToolProcess *const q)
 
void readOutput (const QProcess::ProcessChannel channel)
 
void setProcessErrorAndEmit (QProcess::ProcessError error, const QString &description)
 

Public Attributes

ExifToolProcess::Action cmdAction
 
QList< CommandcmdQueue
 
int cmdRunning
 
QString errorString
 
QString etExePath
 
QElapsedTimer execTimer
 
int outAwait [2]
 [0] StandardOutput | [1] ErrorOutput More...
 
QByteArray outBuff [2]
 [0] StandardOutput | [1] ErrorOutput More...
 
bool outReady [2]
 [0] StandardOutput | [1] ErrorOutput More...
 
QString perlExePath
 
ExifToolProcesspp
 
QProcess * process
 
QProcess::ProcessError processError
 
bool writeChannelIsClosed
 

Static Public Attributes

static const int CMD_ID_MAX = 2000000000
 
static const int CMD_ID_MIN = 1
 
static QMutex s_cmdIdMutex
 
static int s_nextCmdId = ExifToolProcess::Private::CMD_ID_MIN
 Unique identifier, even in a multi-instances or multi-thread environment. More...
 

Constructor & Destructor Documentation

◆ Private()

Digikam::ExifToolProcess::Private::Private ( ExifToolProcess *const  q)
explicit

References outAwait, and outReady.

Member Function Documentation

◆ execNextCmd()

void Digikam::ExifToolProcess::Private::execNextCmd ( )

◆ readOutput()

void Digikam::ExifToolProcess::Private::readOutput ( const QProcess::ProcessChannel  channel)

◆ setProcessErrorAndEmit()

void Digikam::ExifToolProcess::Private::setProcessErrorAndEmit ( QProcess::ProcessError  error,
const QString &  description 
)

Member Data Documentation

◆ CMD_ID_MAX

const int Digikam::ExifToolProcess::Private::CMD_ID_MAX = 2000000000
static

◆ CMD_ID_MIN

const int Digikam::ExifToolProcess::Private::CMD_ID_MIN = 1
static

◆ cmdAction

ExifToolProcess::Action Digikam::ExifToolProcess::Private::cmdAction

◆ cmdQueue

◆ cmdRunning

int Digikam::ExifToolProcess::Private::cmdRunning

◆ errorString

QString Digikam::ExifToolProcess::Private::errorString

◆ etExePath

◆ execTimer

QElapsedTimer Digikam::ExifToolProcess::Private::execTimer

◆ outAwait

int Digikam::ExifToolProcess::Private::outAwait[2]

[0] StandardOutput | [1] ErrorOutput

Referenced by Private().

◆ outBuff

QByteArray Digikam::ExifToolProcess::Private::outBuff[2]

[0] StandardOutput | [1] ErrorOutput

◆ outReady

bool Digikam::ExifToolProcess::Private::outReady[2]

[0] StandardOutput | [1] ErrorOutput

Referenced by Private().

◆ perlExePath

QString Digikam::ExifToolProcess::Private::perlExePath

◆ pp

ExifToolProcess* Digikam::ExifToolProcess::Private::pp

◆ process

◆ processError

QProcess::ProcessError Digikam::ExifToolProcess::Private::processError

◆ s_cmdIdMutex

QMutex Digikam::ExifToolProcess::Private::s_cmdIdMutex
static

◆ s_nextCmdId

int Digikam::ExifToolProcess::Private::s_nextCmdId = ExifToolProcess::Private::CMD_ID_MIN
static

Unique identifier, even in a multi-instances or multi-thread environment.

Referenced by Digikam::ExifToolProcess::command().

◆ writeChannelIsClosed

bool Digikam::ExifToolProcess::Private::writeChannelIsClosed

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