    

 ## On this page

  

 

 # sysc::DataTransfer Class Reference

 Last update: 17.07.2025 

Provide a class for a data transfer. [More...](classsysc_1_1DataTransfer.xhtml#details)

`#include <<a class="el" href="DataTransfer_8hpp_source.xhtml">DataTransfer.hpp</a>>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [DataTransfer](classsysc_1_1DataTransfer.xhtml#a9a4412f47dbd13ece79d35b0876ace13) ([Variable](classsysc_1_1Variable.xhtml) sourceVariable, [Variable](classsysc_1_1Variable.xhtml) targetVariable, enum [InterfaceSide](group__SystemCouplingParticipantAPIs.xhtml#gae8967650e49639319360bad6efc649a4) targetSide) Provide a constructor for the [DataTransfer](classsysc_1_1DataTransfer.xhtml "Provide a class for a data transfer.") class.   
 <a id="aa60c024787bf5956a251bef61e75b1a2" name="aa60c024787bf5956a251bef61e75b1a2"></a>const [Variable](classsysc_1_1Variable.xhtml) &amp; **getSourceVariable** () const noexcept Get the source variable.   
 <a id="a4739ad73891b33eef85d5df8b4c6898b" name="a4739ad73891b33eef85d5df8b4c6898b"></a>const [Variable](classsysc_1_1Variable.xhtml) &amp; **getTargetVariable** () const noexcept Get the target variable.   
 <a id="ab8142869f0ec725f8f3d06a73a043684" name="ab8142869f0ec725f8f3d06a73a043684"></a>const [Variable](classsysc_1_1Variable.xhtml) &amp; **getSideOneVariable** () const noexcept Get the variable on side one.   
 <a id="a482db261458815e4bb79c3f5a680738d" name="a482db261458815e4bb79c3f5a680738d"></a>const [Variable](classsysc_1_1Variable.xhtml) &amp; **getSideTwoVariable** () const noexcept Get the variable on side two.   
 <a id="a737e25f50bae13a64f047a7b84d5e378" name="a737e25f50bae13a64f047a7b84d5e378"></a>[InterfaceSide](group__SystemCouplingParticipantAPIs.xhtml#gae8967650e49639319360bad6efc649a4) **getTargetSide** () const noexcept Get the source side.   
 <a id="a7788b20c57fe5479500101f705d0aaf8" name="a7788b20c57fe5479500101f705d0aaf8"></a>[InterfaceSide](group__SystemCouplingParticipantAPIs.xhtml#gae8967650e49639319360bad6efc649a4) **getSourceSide** () const noexcept Get the target side.   
 <a id="details" name="details"></a>## Detailed Description

Provide a class for a data transfer.

Data transfer specifies the source and target variables for mapping.

Definition at line [21](DataTransfer_8hpp_source.xhtml#l00021) of file [DataTransfer.hpp](DataTransfer_8hpp_source.xhtml).



## Constructor &amp; Destructor Documentation

<a id="a9a4412f47dbd13ece79d35b0876ace13" name="a9a4412f47dbd13ece79d35b0876ace13"></a>## [◆ ](#a9a4412f47dbd13ece79d35b0876ace13)DataTransfer()

 sysc::DataTransfer::DataTransfer  ( [Variable](classsysc_1_1Variable.xhtml)  *sourceVariable*,    [Variable](classsysc_1_1Variable.xhtml)  *targetVariable*,    enum [InterfaceSide](group__SystemCouplingParticipantAPIs.xhtml#gae8967650e49639319360bad6efc649a4)  *targetSide*   ) 

Provide a constructor for the [DataTransfer](classsysc_1_1DataTransfer.xhtml "Provide a class for a data transfer.") class.

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