org.lsst.ccs.subsystems.shutter.driver
Class TestBladeSet

java.lang.Object
  extended by org.lsst.ccs.subsystems.shutter.driver.TestBladeSet
All Implemented Interfaces:
MovementHistoryListener, org.lsst.ccs.utilities.sa.CmndProcess.Dispatch

public class TestBladeSet
extends Object
implements org.lsst.ccs.utilities.sa.CmndProcess.Dispatch, MovementHistoryListener

Program to perform various tests on a shutter blade set

Author:
Owen Saxton

Nested Class Summary
static class TestBladeSet.Pulse
          Inner class holding pulse parameters
 
Constructor Summary
TestBladeSet(int index)
          Main constructor
 
Method Summary
 boolean dispatch(int code, int found, Object[] args)
          Dispatches local command for processing
static void main(String[] args)
          Main program Initialize and run test
 void movementHistoryFinalized(MovementHistory mh)
          Receives the final movement history data
 void movementHistoryUpdated(MovementHistory mh)
          Receives the updated movement history data
 void process(String command)
          Processes a command string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestBladeSet

public TestBladeSet(int index)
Main constructor

Method Detail

main

public static void main(String[] args)
Main program Initialize and run test


process

public void process(String command)
Processes a command string


dispatch

public boolean dispatch(int code,
                        int found,
                        Object[] args)
Dispatches local command for processing

Specified by:
dispatch in interface org.lsst.ccs.utilities.sa.CmndProcess.Dispatch

movementHistoryFinalized

public void movementHistoryFinalized(MovementHistory mh)
Receives the final movement history data

This routine is called synchronously by the moveToPosition method.

Specified by:
movementHistoryFinalized in interface MovementHistoryListener

movementHistoryUpdated

public void movementHistoryUpdated(MovementHistory mh)
Receives the updated movement history data

This routine is not called.

Specified by:
movementHistoryUpdated in interface MovementHistoryListener


Copyright © 2013 LSST. All Rights Reserved.