Class WaveformSumApplication

java.lang.Object
org.scictrl.csshell.epics.server.application.AbstractApplication
org.scictrl.csshell.epics.server.application.WaveformSumApplication
All Implemented Interfaces:
Application, OnDemandValueProcessor.ValueProvider

public class WaveformSumApplication extends AbstractApplication

WaveformSumApplication class.

Author:
igor@scictrl.com
  • Field Details

  • Constructor Details

    • WaveformSumApplication

      public WaveformSumApplication()

      Constructor for WaveformSumApplication.

  • Method Details

    • configure

      public void configure(String name, org.apache.commons.configuration.HierarchicalConfiguration config)
      Configures the internals of this application, provides reference to configuration with root inside applications tag. Server structure is not yet initialized, so does not have reference to Database, the Database reference will be available during activate call.
      Specified by:
      configure in interface Application
      Overrides:
      configure in class AbstractApplication
      Parameters:
      name - a String object
      config - configuration with room inside application tag.
    • extract

      protected double[] extract(Record input)
      Implementation must extract array data from record. Any data manipulation should be applied here.
      Parameters:
      input - a Record object
      Returns:
      an array of
      invalid reference
      double
      objects
    • update

      protected void update()

      update.

    • notifyRecordChange

      protected void notifyRecordChange(String name, boolean alarmOnly)
      This method is called whenever record value changed for any record, which belongs to this application (it was added to the application AbstractApplication.addRecord(String, Record)). Implementation class should override this method to intercept the update.
      Overrides:
      notifyRecordChange in class AbstractApplication
      Parameters:
      name - the name of record, that triggered change.
      alarmOnly - if true then only alarm has been changed