\hypertarget{structkdb_1_1Command}{\section{kdb\+:\+:Command Struct Reference}
\label{structkdb_1_1Command}\index{kdb\+::\+Command@{kdb\+::\+Command}}
}


Used by contexts for callbacks (to run code using a mutex).  




{\ttfamily \#include $<$kdbvalue.\+hpp$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structkdb_1_1Command_a93729918bbcc9dcc678ba303b396d86f}{typedef std\+::function$<$ Pair()$>$ \hyperlink{structkdb_1_1Command_a93729918bbcc9dcc678ba303b396d86f}{Func}}\label{structkdb_1_1Command_a93729918bbcc9dcc678ba303b396d86f}

\begin{DoxyCompactList}\small\item\em Typedef for function that returs old\+Key, new\+Key pair. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Used by contexts for callbacks (to run code using a mutex). 

Following scenarios are possible\+: !old\+Name \&\& !new\+Name\+: execute code, do nothing else !old\+Name \&\& new\+Name\+: attach old\+Name \&\& new\+Name\+: reattach old\+Name == new\+Name\+: assignment, attach for inter-\/thread updates old\+Name \&\& !new\+Name\+: detach 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{kdbvalue_8hpp}{kdbvalue.\+hpp}\end{DoxyCompactItemize}
