moves
Class ConstructHalfLine

java.lang.Object
  |
  +--moves.EuMove
        |
        +--moves.constructFamily
              |
              +--moves.constructFamilyBeacon
                    |
                    +--moves.ConstructHalfLine

public class ConstructHalfLine
extends constructFamilyBeacon

Implements the LEA command ConstructHalfLine


Field Summary
 
Fields inherited from class moves.constructFamilyBeacon
beacon
 
Fields inherited from class moves.EuMove
allowedSegments, in, out
 
Constructor Summary
ConstructHalfLine(interagents.finalWrapper in, interagents.finalWrapper out, fundamentals.EuArguments args, int beacon)
          This constructor tries, given full information for a LEA program, to find an input and an output mode and checks that no arguments are passed.
ConstructHalfLine(java.util.Vector inputs, java.util.Vector results, java.util.Vector newResults, interagents.EuLab lab)
          This constructor tries, given tentative information from a user, to find an input mode.
 
Method Summary
protected  void findAllConstructs(interagents.explicitHolder results, interagents.EuLab lab)
          Constructs the halfline(s) and places them in the provided explicitHolder.
protected  boolean iobUsageChecks()
          Does various checks to see that the conditions described in the field Input/output/beacon usage of the description of the LEA commands are in fact met.
 java.lang.String operationName()
           
 
Methods inherited from class moves.constructFamilyBeacon
initBeacon, issueBeacon, passExceptionDetails, refineConstructs, toString, weeder
 
Methods inherited from class moves.constructFamily
ex, issueBeacon, postprocess
 
Methods inherited from class moves.EuMove
checkSegment, executeMacro, executeMain, executeSegmentOnly, exMacro, exMain, getFirstOutIndex, initArguments, name, passHintDetails, passSelection, postMacro, postMain, preMacro, preMain, preprocess, specialSegmentOK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstructHalfLine

public ConstructHalfLine(interagents.finalWrapper in,
                         interagents.finalWrapper out,
                         fundamentals.EuArguments args,
                         int beacon)
                  throws DesignException
This constructor tries, given full information for a LEA program, to find an input and an output mode and checks that no arguments are passed. Also checks that no beacons are passed.

Parameters:
in - the input @see finalWrapper
out - the output @see finalWrapper
args - arguments
beacon - a beacon, or 0 if no such was requested

ConstructHalfLine

public ConstructHalfLine(java.util.Vector inputs,
                         java.util.Vector results,
                         java.util.Vector newResults,
                         interagents.EuLab lab)
                  throws LeaException
This constructor tries, given tentative information from a user, to find an input mode. Output mode and beacon will be determined at runtime. A special vector is passed to aid in determining the beacon

Parameters:
lab - the current EuLab
Method Detail

findAllConstructs

protected void findAllConstructs(interagents.explicitHolder results,
                                 interagents.EuLab lab)
                          throws LeaException
Constructs the halfline(s) and places them in the provided explicitHolder.

Overrides:
findAllConstructs in class constructFamily
Parameters:
results - a explicitHolder in which to put results.
lab - the EuLab in which to get the objects with which to construct
LeaException

iobUsageChecks

protected boolean iobUsageChecks()
Does various checks to see that the conditions described in the field Input/output/beacon usage of the description of the LEA commands are in fact met.

Overrides:
iobUsageChecks in class constructFamilyBeacon
Returns:
true if no problem encountered

operationName

public java.lang.String operationName()
Overrides:
operationName in class EuMove