public class PinConnect_FBcl
extends java.lang.Object
--Pin_FBcl--------+ +--PinConnect_FBcl--+ +-----Pin_FBcl----- connectDst----->| -sElementSrc |<-------connectSrc |<-----pinSrc pinDst------->| | | -sElementDst | | -----------------+ | -sVariant | +------------------- +-------------------+Both, a source pin and a destination pin of a logical connection refers an instance of this. The pins can have more connections between, but with different functionality. For example, in C-code:
dst.y[5] = src.x.re; dst.y[6] = src.x.im;and on another place und another condition (in another branch of the processing software): dst.y[5] = srcOther.value[3];
In all these examples only the pin 'y' is connected as destination, but with 3 connections, and also from the source 'x' two connections are existing, which are related to parts of the pin which presents embedded data (Here a complex value with '.re' and '.im').
Modifier and Type | Field and Description |
---|---|
Pin_FBcl |
pinDst
The pin on the connection side.
|
Pin_FBcl |
pinSrc
The pin on the connection side.
|
java.lang.String |
sElementDst
Maybe null, describes if the connection delivers a value only for a part of the destination pin.
|
java.lang.String |
sElementSrc
maybe null, set with the access String if an element of the data,
which is representing by the
pinSrc , should be accessed. |
java.lang.String |
sVariant
Maybe null, describes a connection valid only for a specific situation with a specific event.
|
static java.lang.String |
version
Version, history and license.
|
Constructor and Description |
---|
PinConnect_FBcl(Pin_FBcl pinSrc,
Pin_FBcl pinDst,
java.lang.String sElemSrc,
java.lang.String sElemDst,
java.lang.String sVariant) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKeyDst()
Returns a key for the back connection from the source to the destination.
|
java.lang.String |
getKeySrc()
Returns a key for the connection from the destination to the source
used for
Pin_FBcl.connectSrc as key. |
public static final java.lang.String version
getKeySrc()
and getKeyDst()
to build the proper key from the connection
used for the container Pin_FBcl.connectSrc
and Pin_FBcl.connectDst
.
public final Pin_FBcl pinSrc
public final Pin_FBcl pinDst
public final java.lang.String sElementSrc
pinSrc
, should be accessed.
This is an array index or also an element if the DType_FBcl
of a Dinout_FBcl
presents a structure in the target language. The writing stype of the connection is always:
public final java.lang.String sElementDst
sElementSrc
.
If for example the 5th element of the array representing by the #pinDst should be set,
then it should contain the String "[5]".public final java.lang.String sVariant
public java.lang.String getKeySrc()
Pin_FBcl.connectSrc
as key.
The key regards that they may be more as one connections between the same pin
if different sElementDst
are used and/or different sVariant
are given.
The key starts with Pin_FBcl.nameFBpin()
of the destination pin
which is referred from the source by this connection.public java.lang.String getKeyDst()
Pin_FBcl.connectDst
as key.
The key regards that they may be more as one connections between the same pin
if different sElementSrc
are used and/or different sVariant
are given.
The key starts with Pin_FBcl.nameFBpin()
of the source pin
which is referred from the destination by this connection.