MADARA  3.4.1
SystemCallNode.cpp
Go to the documentation of this file.
1 
2 #ifndef _MADARA_NO_KARL_
3 
6 
9  : CompositeTernaryNode(context.get_logger()), context_(context)
10 {
11 }
12 
15  : CompositeTernaryNode(context.get_logger(), nodes), context_(context)
16 {
17 }
18 
19 // Dtor
21 
23  void) const
24 {
25  return madara::knowledge::KnowledgeRecord(nodes_.size());
26 }
27 
28 // accept a visitor
30  madara::expression::Visitor& visitor) const
31 {
32  (void)visitor;
33 }
34 
35 #endif // _MADARA_NO_KARL_
const ThreadSafeContext * context_
madara::knowledge::KnowledgeRecord KnowledgeRecord
virtual void accept(Visitor &visitor) const
Accepts a visitor subclassed from the Visitor class.
SystemCallNode(madara::knowledge::ThreadSafeContext &context)
Constructor.
virtual madara::knowledge::KnowledgeRecord item(void) const
Returns the value of the node.
virtual ~SystemCallNode(void)
Destructor.
Abstract base class for all visitors to all classes that derive from ComponentNode.
Definition: Visitor.h:93
This class encapsulates an entry in a KnowledgeBase.
This class stores variables and their values for use by any entity needing state information in a thr...
std::deque< ComponentNode * > ComponentNodes
a vector of Component Nodes