Beispiel #1
0
madara::expression::SystemCallNode::SystemCallNode (
    madara::knowledge::ThreadSafeContext & context)
  : CompositeTernaryNode (context.get_logger ()),
  context_ (context)
{

}
Beispiel #2
0
madara::expression::VariableDecrementNode::VariableDecrementNode (
  ComponentNode * lhs, madara::knowledge::KnowledgeRecord value,
  ComponentNode * rhs,
  madara::knowledge::ThreadSafeContext &context)
: ComponentNode (context.get_logger ()), var_ (0), array_ (0),
  value_ (value), rhs_ (rhs), context_ (context)
{
  var_ = dynamic_cast <VariableNode *> (lhs);

  if (!var_)
    array_ = dynamic_cast <CompositeArrayReference *> (lhs);
}