Skip to main content

System Coupling C++ library 2024 R2

sysc::DataTransfer Class Reference

Last update: 17.07.2025

Provide a class for a data transfer. More...

#include <DataTransfer.hpp>

Public Member Functions

 DataTransfer (Variable sourceVariable, Variable targetVariable, enum InterfaceSide targetSide)
 Provide a constructor for the DataTransfer class.
 
const VariablegetSourceVariable () const noexcept
 Get the source variable.
 
const VariablegetTargetVariable () const noexcept
 Get the target variable.
 
const VariablegetSideOneVariable () const noexcept
 Get the variable on side one.
 
const VariablegetSideTwoVariable () const noexcept
 Get the variable on side two.
 
InterfaceSide getTargetSide () const noexcept
 Get the source side.
 
InterfaceSide getSourceSide () const noexcept
 Get the target side.
 

Detailed Description

Provide a class for a data transfer.

Data transfer specifies the source and target variables for mapping.

Definition at line 21 of file DataTransfer.hpp.

Constructor & Destructor Documentation

◆ DataTransfer()

sysc::DataTransfer::DataTransfer ( Variable  sourceVariable,
Variable  targetVariable,
enum InterfaceSide  targetSide 
)

Provide a constructor for the DataTransfer class.

Parameters
[in]sourceVariable- source variable.
[in]targetVariable- target variable.
[in]targetSide- target side.

Connect with Ansys