Multi diag tools
Public Member Functions | Protected Member Functions | List of all members
Mdt::DeployUtils::ToolExecutableWrapper Class Reference

Common base class for command line tools (ldd, objdump, ...) More...

#include <ToolExecutableWrapper.h>

+ Inheritance diagram for Mdt::DeployUtils::ToolExecutableWrapper:

Public Member Functions

 ToolExecutableWrapper (QObject *parent=nullptr)
 Constructor.
 
QString readAllStandardOutputString ()
 Returns all data available from standard output of the channel as string.
 
QString readAllStandardErrorString ()
 Returns all data available from standard error of the channel as string.
 
Mdt::Error lastError () const
 Get last error.
 

Protected Member Functions

bool exec (const QString &exeName, const QStringList &arguments)
 Execute a command.
 
QProcess::ProcessError lastProcessError () const
 Returns last error from process.
 
QStringList processArguments () const
 Get process arguments.
 
void setLastError (const Mdt::Error &error)
 Set last error.
 

Detailed Description

Common base class for command line tools (ldd, objdump, ...)

Definition at line 35 of file ToolExecutableWrapper.h.


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