Interface SimulationValueGenerator

All Known Implementing Classes:
SineGenerator

public interface SimulationValueGenerator
Simple interface for a class that can be used to generate event streams based on some function.
Author:
mshankar
  • Method Summary

    Modifier and Type
    Method
    Description
    getSampleValue(ArchDBRTypes type, int secondsIntoYear)
    Get the value at a particular point in time.
  • Method Details

    • getSampleValue

      SampleValue getSampleValue(ArchDBRTypes type, int secondsIntoYear)
      Get the value at a particular point in time. Many unit tests rely on the value being returned being absolutely reproducible given the time.
      Parameters:
      type - ArchDBRTypes
      secondsIntoYear -  
      Returns:
      Sample value