Remoting
OperationAddFrontendWin32 ¶
Bases: OperationAddRemotingWinAbstract
Add a 32-bit front-end proxy to a 32-bit Windows FMU.
Wraps the existing 32-bit DLL behind a remoting front-end for process isolation, without changing the target platform.
Attributes:
| Name | Type | Description |
|---|---|---|
bitness_from | str |
|
bitness_to | str |
|
Source code in fmu_manipulation_toolbox/remoting.py
OperationAddFrontendWin64 ¶
Bases: OperationAddRemotingWinAbstract
Add a 64-bit front-end proxy to a 64-bit Windows FMU.
Wraps the existing 64-bit DLL behind a remoting front-end for process isolation, without changing the target platform.
Attributes:
| Name | Type | Description |
|---|---|---|
bitness_from | str |
|
bitness_to | str |
|
Source code in fmu_manipulation_toolbox/remoting.py
OperationAddRemotingWin32 ¶
Bases: OperationAddRemotingWinAbstract
Add 32-bit remoting proxy to a 64-bit Windows FMU.
Copies a 32-bit client DLL and a 64-bit server executable so that a 32-bit simulation host can load and run the originally 64-bit FMU.
Attributes:
| Name | Type | Description |
|---|---|---|
bitness_from | str |
|
bitness_to | str |
|
Source code in fmu_manipulation_toolbox/remoting.py
OperationAddRemotingWin64 ¶
Bases: OperationAddRemotingWinAbstract
Add 64-bit remoting proxy to a 32-bit Windows FMU.
Copies a 64-bit client DLL and a 32-bit server executable so that a 64-bit simulation host can load and run the originally 32-bit FMU.
Attributes:
| Name | Type | Description |
|---|---|---|
bitness_from | str |
|
bitness_to | str |
|
Source code in fmu_manipulation_toolbox/remoting.py
OperationAddRemotingWinAbstract ¶
Bases: OperationAbstract
Base class for adding Windows remoting or front-end support to an FMU.
Copies the remoting client and server binaries into the FMU so that a 32-bit FMU can be called from a 64-bit host (or vice versa), or a front-end proxy can be added for same-bitness isolation.
This operation is only supported for FMI 2.0 FMUs on Windows.
Subclasses must set bitness_from and bitness_to to define the remoting direction.
Attributes:
| Name | Type | Description |
|---|---|---|
bitness_from | str | None | Source platform directory ( |
bitness_to | str | None | Target platform directory ( |
vr | dict[str, list[int]] | Value references grouped by FMI type ( |
nb_input | int | Number of input and parameter ports. |
nb_output | int | Number of output, local, and other ports. |
Raises:
| Type | Description |
|---|---|
OperationError | If the FMU is not FMI 2.0 or the source platform binaries are missing. |
Source code in fmu_manipulation_toolbox/remoting.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |