MADARA
3.4.1
|
A thread-safe guard for a context or knowledge base. More...
#include <ContextGuard.h>
Public Member Functions | |
template<typename... Args> | |
ContextGuard (const KnowledgeBase &knowledge, Args &&... args) | |
Constructor. More... | |
template<typename... Args> | |
ContextGuard (const ThreadSafeContext &context, Args &&... args) | |
Constructor. More... | |
Private Attributes | |
std::lock_guard< const ThreadSafeContext > | guard_ |
A thread-safe guard for a context or knowledge base.
Definition at line 23 of file ContextGuard.h.
|
inline |
Constructor.
Arguments past first forwarded to underlying guard type
Definition at line 8 of file ContextGuard.inl.
|
inline |
Constructor.
Arguments past first forwarded to underlying guard type
Definition at line 15 of file ContextGuard.inl.
|
private |
Definition at line 43 of file ContextGuard.h.