MADARA
3.1.8
Main Page
Namespaces
Classes
Files
File List
File Members
CompiledExpression.h
Go to the documentation of this file.
1
#ifndef _MADARA_COMPILED_EXPRESSION_H_
2
#define _MADARA_COMPILED_EXPRESSION_H_
3
4
#ifndef _MADARA_NO_KARL_
5
14
#include <string>
15
#include "madara/MADARA_export.h"
16
#include "
madara/expression/ExpressionTree.h
"
17
18
namespace
madara
19
{
20
namespace
expression
21
{
22
class
SystemCallEval
;
23
}
24
namespace
knowledge
25
{
26
class
ThreadSafeContext;
27
class
KnolwedgeBaseImpl;
28
class
Variables;
29
class
KnowledgeBase;
30
35
class
MADARA_Export
CompiledExpression
36
{
37
public
:
38
//class KnowledgeBaseImpl;
39
friend
class
ThreadSafeContext
;
40
friend
class
KnowledgeBaseImpl
;
41
friend
class
Variables
;
42
friend
class
KnowledgeBase
;
43
friend
class
expression::SystemCallEval
;
44
48
CompiledExpression
();
49
54
CompiledExpression
(
const
CompiledExpression
& ce);
55
59
~
CompiledExpression
();
60
65
void
operator= (
const
CompiledExpression
& ce);
66
70
expression::ComponentNode
* get_root (
void
);
71
72
private
:
74
std::string
logic
;
75
77
madara::expression::ExpressionTree
expression
;
78
};
79
}
80
}
81
82
#endif // _MADARA_NO_KARL_
83
84
#endif // _MADARA_COMPILED_EXPRESSION_H_
madara::knowledge::KnowledgeBaseImpl
This class provides a distributed knowledge base implementation.
Definition:
KnowledgeBaseImpl.h:43
madara::expression::ExpressionTree
Encapsulates a MADARA KaRL expression into an evaluatable tree.
Definition:
ExpressionTree.h:28
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::CompiledExpression::logic
std::string logic
the logic that was compiled
Definition:
CompiledExpression.h:74
madara::knowledge::CompiledExpression
Compiled, optimized KaRL logic.
Definition:
CompiledExpression.h:35
madara::knowledge::CompiledExpression::expression
madara::expression::ExpressionTree expression
the expression tree
Definition:
CompiledExpression.h:77
madara::expression::SystemCallEval
Evaluates a knowledge::KnowledgeRecord and returns the evaluation result.
Definition:
SystemCallEval.h:32
madara::knowledge::KnowledgeBase
This class provides a distributed knowledge base to users.
Definition:
KnowledgeBase.h:44
ExpressionTree.h
madara::expression::ComponentNode
An abstract base class defines a simple abstract implementation of an expression tree node...
Definition:
ComponentNode.h:35
madara::knowledge::tags::string
static constexpr struct madara::knowledge::tags::string_t string
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::Variables
Provides an interface for external functions into the MADARA KaRL variable settings.
Definition:
ExternFunctionVariables.h:51
include
madara
knowledge
CompiledExpression.h
Generated on Wed May 9 2018 18:17:14 for MADARA by
1.8.11