TExternalBaseDllData ClassVisual Signal ExternalBase Class Library Documentation
API version 1.5.2

[This is preliminary documentation and is subject to change.]

DLLData - This class represents a data object used by the user DLL. Before DLL's computation stage, Visual Signal's ExternalDll will pass input descriptors and data via setInputDescriptors(String), setInputDataRe(Int32, Int32, Double), and setInputDataIm(Int32, Int32, Double) and converted automatically to an array of DllData objects. User DLL may access these info directly via the member _inputData, or via functions such as GetInputDataRe(Int32, Int32), GetInputDataIm(Int32, Int32), etc.
Inheritance Hierarchy

SystemObject
  VSignal.ExternalBaseTExternalBaseDllData

Namespace: VSignal.ExternalBase
Assembly: vsmExternalBase (in vsmExternalBase.dll) Version: 1.6.0.0
Syntax

protected class DllData

The TExternalBaseDllData type exposes the following members.

Constructors

  NameDescription
Public methodTExternalBaseDllData
Empty constructor for the DllData class.
Public methodTExternalBaseDllData(String, String, Int32, Boolean, Int32)
Constructor for the DllData class. This constructor will set the data rank, and allocate coordinates and related arrays accordingly.
Top
Methods

  NameDescription
Public methodAddEvent
Add an event to the extension to the data extensions.
Public methodDeserializeExtensions
Deserialize extension data from XML
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEventFields
Get all event fields from the data extension.
Public methodGetEvents
Get all events from the data extensions.
Public methodGetExtension
Obtain the extension info value of a specific key.
Public methodGetExtensionKeys
Obtain all the extension info keys available.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSerializeExtensions
Serialize extension data to XML
Public methodSetEventFields
Set up event fields in the data extensions.
Public methodSetExtension
Setting a data extension info. Extension info will be used by specific VisualSignal components and data, such as "BitsPerSample" for audio data, or "XAxisTitle" for channel viewer.
Public methodToString (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyChannelCount
Get/Set the channel count. Setting the property will automatically allocate DataArray, ImagArray, and ChannelNames arrays.
Public propertyChannelNames
Get/Set channel names.
Public propertyCoordinates
Get/Set the coordinate values in the form of a object[][] array for "Indexed" coordinate Formats. This property is not used for "Regular" format. The outer level represents multiple dimensions.
Public propertyDataArray
Get/Set the real part of the data values in the form of a double[][] array. The outer level represents multiple channels.
Public propertyFormats
Get/Set the format of each dimension's coordinate. Currently supported formats are "Regular" and "Indexed". The "Regular" coordinate format requires only Starts and Intervals properties to define the regularly-spaced coordinates; the "Indexed" format requires the Coordinates property to define the array of coordinates.
Public propertyImagArray
Get/Set the imaginary part of the data values in the form of a double[][] array. The outer level represents multiple channels.
Public propertyIntervals
Get/Set the interval value of each dimension's coordinate if the coordinate Formats is "Regular". This property is not used if the format is "Indexed".
Public propertyIsComplex
Get/Set whether data is complex (True/False).
Public propertyIsDateTimes
Get/Set whether each dimension's coordinate is encoded DateTime value (True/False).
Public propertyLengths
Get/Set data lengths. For multi-dimensional data, the int[] array represents the length for each dimension. For a vector data, length of int[] array is 1.
Public propertyName
Get/Set the data name
Public propertyRank
Get/Set the data rank. Setting this property will automatically allocate Formats, Intervals, IsDateTimes, Lengths, Starts, Units, and Coordinates arrays.
Public propertyStarts
Get/Set the starting value of each dimension's coordinate if the coordinate Formats is "Regular". This property is not used if the format is "Indexed". The actual values can be double-precision values, or a System.DateTime objects depending on the IsDateTimes[] status. User must cast to the appropriate type when reading this property.
Public propertyType
Get/Set the data type. Type could be one of the following strings: "Signal", "Spectra", and "Numeric"
Public propertyUnits
Get/Set the unit string of each dimension's coordinate.
Top
See Also

Reference