\hypertarget{structkdb_1_1Command}{}\doxysection{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$>$}

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structkdb_1_1Command_aa49d4f3541e7b5298ae94dfe9c88a67a}\label{structkdb_1_1Command_aa49d4f3541e7b5298ae94dfe9c88a67a}} 
typedef std\+::function$<$ Pair()$>$ \mbox{\hyperlink{structkdb_1_1Command_aa49d4f3541e7b5298ae94dfe9c88a67a}{Func}}
\begin{DoxyCompactList}\small\item\em Typedef for function that returns old\+Key, new\+Key pair. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{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 
\mbox{\hyperlink{kdbvalue_8hpp}{kdbvalue.\+hpp}}\end{DoxyCompactItemize}
