\hypertarget{classIfConfigTransactionManager}{
\section{IfConfigTransactionManager Class Reference}
\label{classIfConfigTransactionManager}\index{IfConfigTransactionManager@{IfConfigTransactionManager}}
}
Inheritance diagram for IfConfigTransactionManager:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classIfConfigTransactionManager}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classIfConfigTransactionManager_a80bf6a05c212d2b4ec3ba419acbb264b}{IfConfigTransactionManager} (\hyperlink{classEventLoop}{EventLoop} \&eventloop)
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
const string \& \hyperlink{classIfConfigTransactionManager_a6ad982067868f64dc43a30163cfcb01a}{error} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} string with \hyperlink{protocolthe-p}{the} first error during commit. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classIfConfigTransactionManager_a921d6d843c9476b7129662741d3cc2a3}{pre\_\-commit} (uint32\_\-t tid)
\begin{DoxyCompactList}\small\item\em Pre-\/commit method that is called before \hyperlink{protocolthe-p}{the} first operation in a commit. \item\end{DoxyCompactList}\item 
virtual void \hyperlink{classIfConfigTransactionManager_a7bfbb7fb02f9b55a232cbdd16ea9fe4c}{operation\_\-result} (bool success, const \hyperlink{classTransactionOperation}{TransactionOperation} \&op)
\begin{DoxyCompactList}\small\item\em Method that is called after each operation. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
enum \{ {\bfseries TIMEOUT\_\-MS} =  5000, 
{\bfseries MAX\_\-PENDING} =  10
 \}
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfConfigTransactionManager_a5cc908cc48488183e7fd4f3b546a1953}{
void \hyperlink{classIfConfigTransactionManager_a5cc908cc48488183e7fd4f3b546a1953}{reset\_\-error} ()}
\label{classIfConfigTransactionManager_a5cc908cc48488183e7fd4f3b546a1953}

\begin{DoxyCompactList}\small\item\em Reset \hyperlink{protocolthe-p}{the} string with \hyperlink{protocolthe-p}{the} error. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIfConfigTransactionManager_a7b62828506871bb6a4a70b8aa0e5ef37}{
string {\bfseries \_\-first\_\-error}}
\label{classIfConfigTransactionManager_a7b62828506871bb6a4a70b8aa0e5ef37}

\item 
\hypertarget{classIfConfigTransactionManager_a4c8796e8470821a7104b9f22343b3095}{
uint32\_\-t {\bfseries \_\-tid\_\-exec}}
\label{classIfConfigTransactionManager_a4c8796e8470821a7104b9f22343b3095}

\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classIfConfigTransactionManager_a80bf6a05c212d2b4ec3ba419acbb264b}{
\index{IfConfigTransactionManager@{IfConfigTransactionManager}!IfConfigTransactionManager@{IfConfigTransactionManager}}
\index{IfConfigTransactionManager@{IfConfigTransactionManager}!IfConfigTransactionManager@{IfConfigTransactionManager}}
\subsubsection[{IfConfigTransactionManager}]{\setlength{\rightskip}{0pt plus 5cm}IfConfigTransactionManager::IfConfigTransactionManager (
\begin{DoxyParamCaption}
\item[{{\bf EventLoop} \&}]{eventloop}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIfConfigTransactionManager_a80bf6a05c212d2b4ec3ba419acbb264b}


Constructor. 


\begin{DoxyParams}{Parameters}
{\em eventloop} & \hyperlink{protocolthe-p}{the} event loop to use. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classIfConfigTransactionManager_a6ad982067868f64dc43a30163cfcb01a}{
\index{IfConfigTransactionManager@{IfConfigTransactionManager}!error@{error}}
\index{error@{error}!IfConfigTransactionManager@{IfConfigTransactionManager}}
\subsubsection[{error}]{\setlength{\rightskip}{0pt plus 5cm}const string\& IfConfigTransactionManager::error (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIfConfigTransactionManager_a6ad982067868f64dc43a30163cfcb01a}


Get \hyperlink{protocolthe-p}{the} string with \hyperlink{protocolthe-p}{the} first error during commit. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} string with \hyperlink{protocolthe-p}{the} first error during commit or an empty string if no error. 
\end{DoxyReturn}
\hypertarget{classIfConfigTransactionManager_a7bfbb7fb02f9b55a232cbdd16ea9fe4c}{
\index{IfConfigTransactionManager@{IfConfigTransactionManager}!operation\_\-result@{operation\_\-result}}
\index{operation\_\-result@{operation\_\-result}!IfConfigTransactionManager@{IfConfigTransactionManager}}
\subsubsection[{operation\_\-result}]{\setlength{\rightskip}{0pt plus 5cm}void IfConfigTransactionManager::operation\_\-result (
\begin{DoxyParamCaption}
\item[{bool}]{success, }
\item[{const {\bf TransactionOperation} \&}]{op}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classIfConfigTransactionManager_a7bfbb7fb02f9b55a232cbdd16ea9fe4c}


Method that is called after each operation. 

This is an overriding method.


\begin{DoxyParams}{Parameters}
{\em success} & set to true if \hyperlink{protocolthe-p}{the} operation succeeded, otherwise false. \\
\hline
{\em op} & \hyperlink{protocolthe-p}{the} operation that has been just called. \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{classTransactionManager_aedae741412cf8c92f0da9b46e378dc34}{TransactionManager}.

\hypertarget{classIfConfigTransactionManager_a921d6d843c9476b7129662741d3cc2a3}{
\index{IfConfigTransactionManager@{IfConfigTransactionManager}!pre\_\-commit@{pre\_\-commit}}
\index{pre\_\-commit@{pre\_\-commit}!IfConfigTransactionManager@{IfConfigTransactionManager}}
\subsubsection[{pre\_\-commit}]{\setlength{\rightskip}{0pt plus 5cm}void IfConfigTransactionManager::pre\_\-commit (
\begin{DoxyParamCaption}
\item[{uint32\_\-t}]{tid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{classIfConfigTransactionManager_a921d6d843c9476b7129662741d3cc2a3}


Pre-\/commit method that is called before \hyperlink{protocolthe-p}{the} first operation in a commit. 

This is an overriding method.


\begin{DoxyParams}{Parameters}
{\em tid} & \hyperlink{protocolthe-p}{the} transaction ID. \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{classTransactionManager_ad7f9e60f752550fffc693cbba51b097e}{TransactionManager}.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/fea/ifconfig\_\-transaction.hh\item 
/home/greearb/git/xorp.ct.github/xorp/fea/ifconfig\_\-transaction.cc\end{DoxyCompactItemize}
