.TH "kdb::Command" 3elektra "Sun May 29 2016" "Version 0.8.14" "Elektra" \" -*- nroff -*- .ad l .nh .SH NAME kdb::Command \- Used by contexts for callbacks (to run code using a mutex)\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "typedef std::function< Pair()> \fBFunc\fP" .br .RI "\fITypedef for function that returs oldKey, newKey pair\&. \fP" .in -1c .SH "Detailed Description" .PP Used by contexts for callbacks (to run code using a mutex)\&. Following scenarios are possible: !oldName && !newName: execute code, do nothing else !oldName && newName: attach oldName && newName: reattach oldName == newName: assignment, attach for inter-thread updates oldName && !newName: detach .SH "Author" .PP Generated automatically by Doxygen for Elektra from the source code\&.