PDF
AuboStudio SDK  0.6.3
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 ()
 Get the program node contribution.

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

◆ ConfigType

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.

◆ InputMode

Enumerator
INPUT_BOOL 
INPUT_INTEGER 
INPUT_FLOAT 
INPUT_STRING 

Definition at line 39 of file assignment_node.h.

Constructor & Destructor Documentation

◆ AssignmentNode() [1/3]

arcs::aubo_scope::AssignmentNode::AssignmentNode ( AssignmentNode & f)

References AssignmentNode().

Referenced by AssignmentNode(), and AssignmentNode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AssignmentNode() [2/3]

arcs::aubo_scope::AssignmentNode::AssignmentNode ( AssignmentNode && f)

References AssignmentNode().

Here is the call graph for this function:

◆ ~AssignmentNode()

virtual arcs::aubo_scope::AssignmentNode::~AssignmentNode ( )
virtual

◆ AssignmentNode() [3/3]

arcs::aubo_scope::AssignmentNode::AssignmentNode ( )
private

Member Function Documentation

◆ getConfigType()

ConfigType arcs::aubo_scope::AssignmentNode::getConfigType ( )
Returns

◆ getExpression()

ExpressionPtr arcs::aubo_scope::AssignmentNode::getExpression ( )
Returns
the expression whose evaluation is assigned to the variable.

◆ getVariable()

VariablePtr arcs::aubo_scope::AssignmentNode::getVariable ( )
Returns
the variable assigned to the expression evaluation.

◆ setConfigType()

void arcs::aubo_scope::AssignmentNode::setConfigType ( ConfigType type)

◆ setExpression()

void arcs::aubo_scope::AssignmentNode::setExpression ( ExpressionPtr exp)

◆ setVariable()

void arcs::aubo_scope::AssignmentNode::setVariable ( VariablePtr var)

◆ DataSwitch

friend class DataSwitch
friend

Definition at line 75 of file assignment_node.h.

References DataSwitch.

Referenced by DataSwitch.

Member Data Documentation

◆ d_

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: