AuboCaps  0.6.0
arcs::aubo_scope::DirectionNode Class Reference

#include <direction_node.h>

Inheritance diagram for arcs::aubo_scope::DirectionNode:
Collaboration diagram for arcs::aubo_scope::DirectionNode:

Public Types

enum  ParameterType : int { SHARED_MOTION, TOOL_MOTION }
 
enum  Axis : int {
  X_PLUS, X_MINUS, Y_PLUS, Y_MINUS,
  Z_PLUS, Z_MINUS
}
 
enum  DirectionSelectionType : int { EXPRESSION, AXIS }
 
enum  FeatureSelectionType : int { UNRESOLVED_FEATURE, SHARED, FEATURE }
 

Public Member Functions

 DirectionNode (DirectionNode &f)
 
 DirectionNode (DirectionNode &&f)
 
virtual ~DirectionNode ()
 
ParameterType getType ()
 
void setType (ParameterType type)
 
Axis getAxis ()
 
void setAxis (Axis axis)
 
FeaturePtr getFeature ()
 
void setFeature (FeaturePtr feature)
 
DirectionSelectionType getDirectionSelectionType ()
 
void setDirectionSelectionType (DirectionSelectionType selection)
 
ExpressionPtr getExpression ()
 
void setExpression (ExpressionPtr expression)
 
FeatureSelectionType getFeatureSelectionType ()
 
void setFeatureSelectionType (FeatureSelectionType selection)
 
double getToolSpeed ()
 
void setToolSpeed (double speed)
 
double getToolAcceleration ()
 
void setToolAcceleration (double acc)
 
- 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

 DirectionNode ()
 

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 direction_node.h.

Member Enumeration Documentation

Enumerator
X_PLUS 

Move in the positive X direction relative to the feature.

X_MINUS 

Move in the negative X direction relative to the feature.

Y_PLUS 

Move in the positive Y direction relative to the feature.

Y_MINUS 

Move in the negative Y direction relative to the feature.

Z_PLUS 

Move in the positive Z direction relative to the feature.

Z_MINUS 

Move in the negative Z direction relative to the feature.

Definition at line 33 of file direction_node.h.

Enumerator
EXPRESSION 

A direction vector is specified using an Expression.

The Selection instance can be cast to DirectionVectorExpression

AXIS 

Direction is specified using an Axis.

The Selection instance can be cast to DirectionAxis

Definition at line 66 of file direction_node.h.

Enumerator
UNRESOLVED_FEATURE 

The selected feature is no longer available (e.g.

because the user has removed the feature in the Installation or the needed Installation is not currently loaded)

SHARED 

Feature is inherited from the MoveL or MoveP parent.

FEATURE 

Feature is selected.


The Selection instance can be cast to DirectionNodeFeature

Definition at line 82 of file direction_node.h.

Enumerator
SHARED_MOTION 

The tool motion parameters are inherited from the MoveL or MoveP parent.

TOOL_MOTION 

The tool motion parameters are selected.


The Selection instance can be cast to ToolMotionParameters.

Definition at line 15 of file direction_node.h.

Constructor & Destructor Documentation

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

Member Function Documentation

Axis arcs::aubo_scope::DirectionNode::getAxis ( )
Returns
the Axis used to define the direction.
DirectionSelectionType arcs::aubo_scope::DirectionNode::getDirectionSelectionType ( )
ExpressionPtr arcs::aubo_scope::DirectionNode::getExpression ( )
Returns
the expression used to define the direction vector.
FeaturePtr arcs::aubo_scope::DirectionNode::getFeature ( )
Returns
the feature selected for this Direction node.
FeatureSelectionType arcs::aubo_scope::DirectionNode::getFeatureSelectionType ( )
double arcs::aubo_scope::DirectionNode::getToolAcceleration ( )
Returns
the tool acceleration to use for the movement
double arcs::aubo_scope::DirectionNode::getToolSpeed ( )
Returns
the tool speed to be achieved.
ParameterType arcs::aubo_scope::DirectionNode::getType ( )
void arcs::aubo_scope::DirectionNode::setAxis ( Axis  axis)
void arcs::aubo_scope::DirectionNode::setDirectionSelectionType ( DirectionSelectionType  selection)
void arcs::aubo_scope::DirectionNode::setExpression ( ExpressionPtr  expression)
void arcs::aubo_scope::DirectionNode::setFeature ( FeaturePtr  feature)
void arcs::aubo_scope::DirectionNode::setFeatureSelectionType ( FeatureSelectionType  selection)
void arcs::aubo_scope::DirectionNode::setToolAcceleration ( double  acc)
void arcs::aubo_scope::DirectionNode::setToolSpeed ( double  speed)
void arcs::aubo_scope::DirectionNode::setType ( ParameterType  type)

Friends And Related Function Documentation

friend class DataSwitch
friend

Definition at line 147 of file direction_node.h.

Member Data Documentation

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

Definition at line 149 of file direction_node.h.


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