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