gov.sns.xal.tools.virtualaccelerator
Class PCASGenerator

java.lang.Object
  |
  +--gov.sns.xal.tools.virtualaccelerator.PCASGenerator

public class PCASGenerator
extends java.lang.Object

PCASGenerator is used to generate a Portable Channel Access Server input file from an accelerator sequence.


Field Summary
protected  AcceleratorSeq _sequence
          The sequence for which to generate a PCAS file
 
Constructor Summary
PCASGenerator(AcceleratorSeq sequence)
          Constructor
 
Method Summary
 void processNodes(java.io.Writer writer)
          Write the PCAS input file for the list of PVs in the usual nodes
protected  void processNodes(java.io.Writer writer, java.lang.String type)
          Write the PCAS input file for the list of PVs for the specified node type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_sequence

protected AcceleratorSeq _sequence
The sequence for which to generate a PCAS file

Constructor Detail

PCASGenerator

public PCASGenerator(AcceleratorSeq sequence)
Constructor

Parameters:
sequence - The sequence for which to generate a PCAS file
Method Detail

processNodes

public void processNodes(java.io.Writer writer)
                  throws java.io.IOException
Write the PCAS input file for the list of PVs in the usual nodes

Parameters:
writer - The writer to which to output the PCAS file
java.io.IOException

processNodes

protected void processNodes(java.io.Writer writer,
                            java.lang.String type)
                     throws java.io.IOException
Write the PCAS input file for the list of PVs for the specified node type

Parameters:
writer - The writer to which to output the PCAS file
java.io.IOException