131 lines
6.7 KiB
TeX
131 lines
6.7 KiB
TeX
\hypertarget{classGpgFrontend_1_1GpgCommandExecutor}{}\doxysection{Gpg\+Frontend\+::Gpg\+Command\+Executor Class Reference}
|
|
\label{classGpgFrontend_1_1GpgCommandExecutor}\index{GpgFrontend::GpgCommandExecutor@{GpgFrontend::GpgCommandExecutor}}
|
|
|
|
|
|
Extra commands related to G\+PG.
|
|
|
|
|
|
|
|
|
|
{\ttfamily \#include $<$Gpg\+Command\+Executor.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for Gpg\+Frontend\+::Gpg\+Command\+Executor\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=550pt]{classGpgFrontend_1_1GpgCommandExecutor__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for Gpg\+Frontend\+::Gpg\+Command\+Executor\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classGpgFrontend_1_1GpgCommandExecutor__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classGpgFrontend_1_1GpgCommandExecutor_a94240f423464600938bfcafa2b186c38}{Gpg\+Command\+Executor}} (int channel=\mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_a50e2b3794d6553f4231eaec72d9d0a50}{Singleton\+Function\+Object\+::\+Get\+Default\+Channel}}())
|
|
\begin{DoxyCompactList}\small\item\em Construct a new Gpg Command Executor object. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{classGpgFrontend_1_1GpgCommandExecutor_afca1c4b6a6c3758a834832768f52bbca}{Execute}} (String\+Args\+Ref arguments, const std\+::function$<$ void(boost\+::process\+::async\+\_\+pipe \&in, boost\+::process\+::async\+\_\+pipe \&out)$>$ \&interact\+\_\+func)
|
|
\begin{DoxyCompactList}\small\item\em Excuting an order. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{Private Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classGpgFrontend_1_1GpgContext}{Gpg\+Context}} \& \mbox{\hyperlink{classGpgFrontend_1_1GpgCommandExecutor_aefc4f18ec852b98c539d97da1c712a02}{ctx\+\_\+}}
|
|
\begin{DoxyCompactList}\small\item\em Corresponding context. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
Extra commands related to G\+PG.
|
|
|
|
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1GpgCommandExecutor_a94240f423464600938bfcafa2b186c38}\label{classGpgFrontend_1_1GpgCommandExecutor_a94240f423464600938bfcafa2b186c38}}
|
|
\index{GpgFrontend::GpgCommandExecutor@{GpgFrontend::GpgCommandExecutor}!GpgCommandExecutor@{GpgCommandExecutor}}
|
|
\index{GpgCommandExecutor@{GpgCommandExecutor}!GpgFrontend::GpgCommandExecutor@{GpgFrontend::GpgCommandExecutor}}
|
|
\doxysubsubsection{\texorpdfstring{GpgCommandExecutor()}{GpgCommandExecutor()}}
|
|
{\footnotesize\ttfamily Gpg\+Frontend\+::\+Gpg\+Command\+Executor\+::\+Gpg\+Command\+Executor (\begin{DoxyParamCaption}\item[{int}]{channel = {\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_a50e2b3794d6553f4231eaec72d9d0a50}{Singleton\+Function\+Object\+::\+Get\+Default\+Channel}}()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}
|
|
|
|
|
|
|
|
Construct a new Gpg Command Executor object.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em channel} & Corresponding context\\
|
|
\hline
|
|
\end{DoxyParams}
|
|
Copyright (C) 2021 Saturneric
|
|
|
|
This file is part of \mbox{\hyperlink{namespaceGpgFrontend}{Gpg\+Frontend}}.
|
|
|
|
\mbox{\hyperlink{namespaceGpgFrontend}{Gpg\+Frontend}} is free software\+: you can redistribute it and/or modify it under the terms of the G\+NU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
\mbox{\hyperlink{namespaceGpgFrontend}{Gpg\+Frontend}} is distributed in the hope that it will be useful, but W\+I\+T\+H\+O\+UT A\+NY W\+A\+R\+R\+A\+N\+TY; without even the implied warranty of M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY or F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE. See the G\+NU General Public License for more details.
|
|
|
|
You should have received a copy of the G\+NU General Public License along with \mbox{\hyperlink{namespaceGpgFrontend}{Gpg\+Frontend}}. If not, see \href{https://www.gnu.org/licenses/}{\texttt{ https\+://www.\+gnu.\+org/licenses/}}.
|
|
|
|
The initial version of the source code is inherited from the gpg4usb project, which is under G\+P\+L-\/3.\+0-\/or-\/later.
|
|
|
|
All the source code of \mbox{\hyperlink{namespaceGpgFrontend}{Gpg\+Frontend}} was modified and released by Saturneric\href{mailto:eric@bktus.com}{\texttt{ eric@bktus.\+com}} starting on May 12, 2021.
|
|
|
|
S\+P\+D\+X-\/\+License-\/\+Identifier\+: G\+P\+L-\/3.\+0-\/or-\/later
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1GpgCommandExecutor_afca1c4b6a6c3758a834832768f52bbca}\label{classGpgFrontend_1_1GpgCommandExecutor_afca1c4b6a6c3758a834832768f52bbca}}
|
|
\index{GpgFrontend::GpgCommandExecutor@{GpgFrontend::GpgCommandExecutor}!Execute@{Execute}}
|
|
\index{Execute@{Execute}!GpgFrontend::GpgCommandExecutor@{GpgFrontend::GpgCommandExecutor}}
|
|
\doxysubsubsection{\texorpdfstring{Execute()}{Execute()}}
|
|
{\footnotesize\ttfamily void Gpg\+Frontend\+::\+Gpg\+Command\+Executor\+::\+Execute (\begin{DoxyParamCaption}\item[{String\+Args\+Ref}]{arguments, }\item[{const std\+::function$<$ void(boost\+::process\+::async\+\_\+pipe \&in, boost\+::process\+::async\+\_\+pipe \&out)$>$ \&}]{interact\+\_\+func }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Excuting an order.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em arguments} & Command parameters \\
|
|
\hline
|
|
{\em interact\+\_\+func} & Command answering function \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Referenced by Gpg\+Frontend\+::\+Gpg\+Key\+Opera\+::\+Generate\+Revoke\+Cert().
|
|
|
|
|
|
|
|
\doxysubsection{Member Data Documentation}
|
|
\mbox{\Hypertarget{classGpgFrontend_1_1GpgCommandExecutor_aefc4f18ec852b98c539d97da1c712a02}\label{classGpgFrontend_1_1GpgCommandExecutor_aefc4f18ec852b98c539d97da1c712a02}}
|
|
\index{GpgFrontend::GpgCommandExecutor@{GpgFrontend::GpgCommandExecutor}!ctx\_@{ctx\_}}
|
|
\index{ctx\_@{ctx\_}!GpgFrontend::GpgCommandExecutor@{GpgFrontend::GpgCommandExecutor}}
|
|
\doxysubsubsection{\texorpdfstring{ctx\_}{ctx\_}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{classGpgFrontend_1_1GpgContext}{Gpg\+Context}}\& Gpg\+Frontend\+::\+Gpg\+Command\+Executor\+::ctx\+\_\+\hspace{0.3cm}{\ttfamily [private]}}
|
|
|
|
{\bfseries Initial value\+:}
|
|
\begin{DoxyCode}{0}
|
|
\DoxyCodeLine{= \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_a70484d7cfe9f9dcbcd5f8bb749250f36}{GpgContext::GetInstance}}(}
|
|
\DoxyCodeLine{ \mbox{\hyperlink{classGpgFrontend_1_1SingletonFunctionObject_aa99440b9177f5d0c18840f08a40d64b7}{SingletonFunctionObject::GetChannel}}())}
|
|
|
|
\end{DoxyCode}
|
|
|
|
|
|
Corresponding context.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
src/core/function/gpg/Gpg\+Command\+Executor.\+h\item
|
|
src/core/function/gpg/Gpg\+Command\+Executor.\+cpp\end{DoxyCompactItemize}
|