Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Quote

purely virtual base class for market observables

test the observability of class instances is tested.

Hierarchy

Implemented by

Index

Constructors

constructor

Properties

_isDisposed

_isDisposed: boolean = false

_observers

_observers: Set<Observer>

Accessors

isDisposed

  • get isDisposed(): boolean

Methods

dispose

  • dispose(): void
  • Returns void

isValid

  • isValid(): boolean
  • returns true if the Quote holds a valid value

    Returns boolean

notifyObservers

  • notifyObservers(): void
  • This method should be called at the end of non-const methods or when the programmer desires to notify any changes.

    Returns void

registerObserver

unregisterObserver

value

  • returns the current value

    Returns Real