Creates the base for a TwinCAT Data type. Can be build either from raw ADS Type Info, or from
an existing TcType
The TcContext, to which this Type belongs
The information, from which the TcType is build
If enabled, will produce debug information
The ADST Type ID
The TcContext, which this TcType is part of
If a default value is present, the default byte buffer of that value
If a default value is present, the default byte buffer of that value
The default value for this TcType
The default value for this TcType
Flag, if this TcType is ignored during Symbol Building
Flag, if this TcType is ignored during Symbol Building
The Target PLC Type name
The memory offset, relative to its parent, if the TcType is a child
The memory offset, relative to its parent, if the TcType is a child
Alias to use, in place of the default 'changed' event, when
a TcSymbol of this type is constructed
Alias to use, in place of the default 'changed' event, when
a TcSymbol of this type is constructed
Alias to use, in place of the default 'cleared' event, when
a TcSymbol of this type is constructed
Alias to use, in place of the default 'cleared' event, when
a TcSymbol of this type is constructed
Alias to use, in place of the default 'get' event, when
a TcSymbol of this type is constructed
Alias to use, in place of the default 'get' event, when
a TcSymbol of this type is constructed
Alias to use, in place of the default 'set' event, when
a TcSymbol of this type is constructed
Alias to use, in place of the default 'set' event, when
a TcSymbol of this type is constructed
Flag, if this TcType is ReadOnly
Flag, if this TcType is ReadOnly
Size of the Target PLC Type
Size of the Target PLC Type
Internal function for applying mutations to the created clone. Used for code reduction
the TcType, which can be potentially mutated
The mutator which can be applied to the TcType
TcType or undefined if cloning failedInternal function, which analyses attribute data from the Type ADS Data and
adjusts aspects of this TcType
Mutations supported :
name of the Attribute
value of the Attribute
Creates a clone with an optional mutation of this TcType
Optional mutator, which can be applied to the clone
TcType or undefined if cloning failedExtends the current TcType with the provided TcTypeInfo. The default extension
can either create a mutation of the current TcType or transform the TcType into
an array
Data with which to extends the TcType
TcType or undefined if extension failedWill create a TcSymbol instance based on this TcType
Path of the created TcSymbol
Parent of the created TcSymbol
Memory location of created TcSymbol in the Target PLC
If enabled, will produce debug information
TcSymbol based on this TcTypeClones this TcType and mutates it, with additional attributes from
the mutator
Will use the Attributes and Offset to create a mutation of this TcType
Generated using TypeDoc
Base class for a TwinCAT Type, designed to store the basic information of the Type, as well as provide options for cloning itself, and extending with additional attributes.
Types can be mutated with attributes, which allow for altered behavior.