Skip to main content

Class sysc::DataTransfer

Definition: DataTransfer.hpp (line 21)

Provide a class for a data transfer.

Data transfer specifies the source and target variables for mapping.

Members​

Private attributes​

Variable m_sourceVariable​

Definition: DataTransfer.hpp (line 56)

Variable sysc::DataTransfer::m_sourceVariable

Type: Variable

Variable m_targetVariable​

Definition: DataTransfer.hpp (line 57)

Variable sysc::DataTransfer::m_targetVariable

Type: Variable

Variable m_targetSide​

Definition: DataTransfer.hpp (line 58)

InterfaceSide sysc::DataTransfer::m_targetSide

Type: InterfaceSide

Public functions​

Function DataTransfer​

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

Provide a constructor for the DataTransfer class.

Parameters:

  • sourceVariable: - source variable.
  • targetVariable: - target variable.
  • targetSide: - target side.

Parameters:

Return type:

Function getSourceVariable​

const Variable& sysc::DataTransfer::getSourceVariable() const noexcept

Get the source variable.

Return type: const Variable &

Function getTargetVariable​

const Variable& sysc::DataTransfer::getTargetVariable() const noexcept

Get the target variable.

Return type: const Variable &

Function getSideOneVariable​

const Variable& sysc::DataTransfer::getSideOneVariable() const noexcept

Get the variable on side one.

Return type: const Variable &

Function getSideTwoVariable​

const Variable& sysc::DataTransfer::getSideTwoVariable() const noexcept

Get the variable on side two.

Return type: const Variable &

Function getTargetSide​

InterfaceSide sysc::DataTransfer::getTargetSide() const noexcept

Get the source side.

Return type: InterfaceSide

Function getSourceSide​

InterfaceSide sysc::DataTransfer::getSourceSide() const noexcept

Get the target side.

Return type: InterfaceSide