MADARA  3.1.8
ContextGuard.h
Go to the documentation of this file.
1 
2 #ifndef _MADARA_CONTEXT_GUARD_H_
3 #define _MADARA_CONTEXT_GUARD_H_
4 
6 
15 namespace madara
16 {
17  namespace knowledge
18  {
23  class MADARA_Export ContextGuard
24  {
25  public:
30 
34  ContextGuard (ThreadSafeContext & context);
35 
39  ~ContextGuard ();
40 
41  private:
42 
47  };
48 
49  }
50 }
51 
52 
53 #endif // _MADARA_CONTEXT_GUARD_H_
This class stores variables and their values for use by any entity needing state information in a thr...
A thread-safe guard for a context or knowledge base.
Definition: ContextGuard.h:23
This class provides a distributed knowledge base to users.
Definition: KnowledgeBase.h:44
Provides functions and classes for the distributed knowledge base.
Copyright (c) 2015 Carnegie Mellon University.
ThreadSafeContext & context_
The context that will be locked.
Definition: ContextGuard.h:46