AuboCaps  0.6.0
arcs::aubo_scope::AssignmentNode Class Reference

#include <assignment_node.h>

Inheritance diagram for arcs::aubo_scope::AssignmentNode:
Collaboration diagram for arcs::aubo_scope::AssignmentNode:

Public Types

enum  ConfigType { EXPRESSION, OPERATOR }
 The configuration type used to determine which type of configuration this instance is. More...
 
enum  InputMode { INPUT_BOOL, INPUT_INTEGER, INPUT_FLOAT, INPUT_STRING }
 

Public Member Functions

 AssignmentNode (AssignmentNode &f)
 
 AssignmentNode (AssignmentNode &&f)
 
virtual ~AssignmentNode ()
 
ConfigType getConfigType ()
 
void setConfigType (ConfigType type)
 
VariablePtr getVariable ()
 
void setVariable (VariablePtr var)
 
ExpressionPtr getExpression ()
 
void setExpression (ExpressionPtr exp)
 
- Public Member Functions inherited from arcs::aubo_scope::ProgramNode
 ProgramNode (ProgramNode &f)
 
 ProgramNode (ProgramNode &&f)
 
virtual ~ProgramNode ()
 
ProgramNodeContributionPtr getProgramNodeContribution ()
 不推荐用户调用 ProgramNodeContribution::generateScript 使用 ScriptWritter::writeChildren More...
 

Private Member Functions

 AssignmentNode ()
 

Private Attributes

void * d_ { nullptr }
 

Friends

class DataSwitch
 

Additional Inherited Members

- Protected Member Functions inherited from arcs::aubo_scope::ProgramNode
 ProgramNode ()
 

Detailed Description

Definition at line 12 of file assignment_node.h.

Member Enumeration Documentation

The configuration type used to determine which type of configuration this instance is.

Enumerator
EXPRESSION 

Expression assignment has been selected.

The config instance can be cast to ExpressionAssignmentNodeConfig.

OPERATOR 

Operator assignment has been selected.

This type has no further information. Setting this type of config will be ignored and will have no effect on the node.

Definition at line 19 of file assignment_node.h.

Enumerator
INPUT_BOOL 
INPUT_INTEGER 
INPUT_FLOAT 
INPUT_STRING 

Definition at line 39 of file assignment_node.h.

Constructor & Destructor Documentation

arcs::aubo_scope::AssignmentNode::AssignmentNode ( AssignmentNode f)
arcs::aubo_scope::AssignmentNode::AssignmentNode ( AssignmentNode &&  f)
virtual arcs::aubo_scope::AssignmentNode::~AssignmentNode ( )
virtual
arcs::aubo_scope::AssignmentNode::AssignmentNode ( )
private

Member Function Documentation

ConfigType arcs::aubo_scope::AssignmentNode::getConfigType ( )
Returns
ExpressionPtr arcs::aubo_scope::AssignmentNode::getExpression ( )
Returns
the expression whose evaluation is assigned to the variable.
VariablePtr arcs::aubo_scope::AssignmentNode::getVariable ( )
Returns
the variable assigned to the expression evaluation.
void arcs::aubo_scope::AssignmentNode::setConfigType ( ConfigType  type)
void arcs::aubo_scope::AssignmentNode::setExpression ( ExpressionPtr  exp)
void arcs::aubo_scope::AssignmentNode::setVariable ( VariablePtr  var)

Friends And Related Function Documentation

friend class DataSwitch
friend

Definition at line 75 of file assignment_node.h.

Member Data Documentation

void* arcs::aubo_scope::AssignmentNode::d_ { nullptr }
private

Definition at line 77 of file assignment_node.h.


The documentation for this class was generated from the following file: