TAnalysisList Class

Source: SignalTools.cs · Assembly: Dew.Signal
ComponentTMtxComponentTMtxComponentListTAnalysisList

public class TAnalysisList : TMtxComponentList

Abstract class for all components, which hold a list of TAnalysis components.

The component is a generic class designed to handle lists of descendants from TAnalysis class. Descendants from the TAnalysisList class have to override the AddItem method and possibly declare a default array property to access typed list elements. Save and load the list from stream and file, is automatically available. You can propagate the changes made to properties of the first element in the list, to all other elements, by calling the Propagate method. Update and Pull methods are also centralized.

Properties

NameTypeDescription
ActiveBooleanSet active to false to suppress the propagation of the Pull request and the subsequent call to the Update method.
BlockAssignBooleanBlock streaming of specific properties when storing only a "template".
ComplexBooleanSet this property to true, to request computation using complex numbers.
ContinuousBooleanIf True, the component will pass on the udpate request to the connected component.
CountInt32Defines the size of the list.
EditIndexInt32Specifies index of the item in the list for which to display the design-time editor.
EditorActiveBooleanReturns True, if the component editor is displayed.
FirstTMtxComponentReturns the pointer to Items[0].
FloatPrecisionTMtxFloatPrecisionSet this property to request computation in 32bit/64bit precision with real/complex numbers.
FloatPrecisionLockBooleanSet this property to true to lock changes to FloatPrecision property.
IsDoubleBooleanSet this property to false, to request computation in 32bit floating point precision, 64bit, if true.
ItemTAnalysisDefault array property allows access to individual list items
ItemsCollectionTMtxComponentCollectionContent serialization and designer editor support.
LastTMtxComponentReturns Items[Count - 1].
OnAfterUpdateTNotifyEventThe event is triggered after the call to the Update method.
OnBeforeUpdateTNotifyEventThe event is triggered just before the call to the Update method.
OnDisplayUpdateTNotifyEventThe event is triggered after the OnAfterUpdate event.
OnItemAddTMtxComponentAddEventEvent triggered after a new item has been added.
OnItemDeleteTMtxComponentDeleteEventEvent triggered before the Item will be deleted.
OnNotifyUpdateTNotifyEventThe event is called after a call to InternalUpdate, OnAfterUpdate and OnDisplayUpdate from within the Update method.
OnParameterUpdateTNotifyEventThe event is triggered when ParamUpdate method is called.
PropagateTemplateBooleanDefines how Dew.Math.TMtxComponentList.Propagate will proparage properties.
ReferenceTReferenceListStores a list of components that have to be notified, when this component is destroyed.
SuspendNotifyUpdateBooleanSet this property to True, to prevent calling OnNotifyUpdate from the Update Method.

Methods

NameDescription
AllowStreamingReturns the negatated value of BlockAssign.
AssignAssign values of all published properties from Source.
AssignTemplateAssign values of "template-like" published properties from Source.
ClearDeletes all items from the list.
DeleteDeletes the item from the list.
EditorClassTo be overriden in descendanr classses.
ExchangeSwaps the position of two items in the Items array.
ExtractExtracts the item from the list.
InsertInserts an item at position Index
LoadFromStreamLoad the component from Src stream.
LoadTemplateFromFileLoad a template from file.
LoadTemplateFromStreamLoad a template from stream.
MatchInputsMatch the connections of Inputs with the component.
MoveChanges the position of an item in the Items array.
Propagate (2)Propagates the settings of the component at SrcIndex to all other components.
PullDistribute Pull request to all objects in the list.
PullUntilEndCalls Pull until pipeEnd is returned.
RemoveDeletes the first reference to the Item parameter from the Items array.
RenumerateAssign consecutive numbers to individual items.
ResetReset is called after loading the data from stream or file.
RotateRotate the list up or down.
SaveTemplateToFileSave template to file.
SaveTemplateToStreamSave template to stream.
SaveToStreamSave the component to Dst stream.
UpdateDistribute Update request to all objects in the list.
UpdateNotifyCall this method only, if SuspendNotifyUpdate is True.

Events

NameDescription
OnAfterUpdateEventThe event is triggered after the call to the Update method.
OnBeforeUpdateEventThe event is triggered just before the call to the Update method.
OnDisplayUpdateEventThe event is triggered after the OnAfterUpdate event.
OnItemAddEventEvent triggered after a new item has been added.
OnItemDeleteEventEvent triggered before the Item will be deleted.
OnNotifyUpdateEventThe event is called after a call to InternalUpdate, OnAfterUpdate and OnDisplayUpdate from within the Update method.
OnParameterUpdateEventThe event is triggered when ParamUpdate method is called.