The Transformer Element
An element representing the executable objects in a Package.
Attributes and Elements
|name||The name of the Transformer.||Yes|
|displayName||An description for the Transformer.||No|
|className||An .Net class name for the Transformer.||No|
|classAssembly||An .Net class assembly for the Transformer.||No|
|programName||An external program name for the Transformer.||No|
|programArguments||A set of arguments for the Transformer's external program.||No|
|isPrimary||Whether or not the Transformer is primary (i.e. can create a new Library).||No|
|configurationSheet||To support multi-processing, a Transformer must use this attribute to specify a single-row Datasheet that contains the columns "MinimumIteration" and "MaximumIteration". Both columns must have a dataType of "Integer".||No|
|isPipelineBased||Indicates that a Library supports Pipelines. Applicable to the Primary Transformer only.||No|
|isRunnable||Indicates that a Transformer is runnable. Applicable to Pipeline based Libraries only.||No|
|isDateTimeBased||Indicates that the "Timesteps" for a Stochastic Time Library are to be interpreted as DateTime objects. Applicable to the Primary Transformer only.||No|
The value for the name attribute must contain only alpha-numeric characters.
If you specify a className then instances of that .Net class will be created as necessary. In this case, the classAssembly must also be specified and the class must derive from SyncroSim.Core.Transformer.
Alternatively, you can specify a programName (and optionally its programArguments). In this case, SyncroSim will attempt to execute that program at model run time.
If you don't specify a className or a programName then the Transformer cannot be run. However, any Transformer can contain child Transformers in its <runtime> section. In this case, the child Transformers will be run even if the parent Transformer is not runnable.