Click or drag to resize

SummatorListener Class

Represents a Summator listener of IDataQueue. It will be useful to get sum of values in indicators history.
Inheritance Hierarchy
SystemObject
  FinAnalysis.ListenersSummatorListener

Namespace:  FinAnalysis.Listeners
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public class SummatorListener : IDataQueueListener<double>

The SummatorListener type exposes the following members.

Constructors
  NameDescription
Public methodSummatorListener
Initializes a new instance of Summator Listener.
Public methodSummatorListener(Double)
Initializes a new instance of Summator Listener.
Top
Properties
  NameDescription
Public propertyValue
Get sum of queue values.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnPop
IDataQueue will call OnPop every time, when queue drop some element.
Public methodOnPush
IDataQueue will call OnPush every time, when queue store some element.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also