moves
Class newFamily

java.lang.Object
  |
  +--moves.EuMove
        |
        +--moves.newFamily
Direct Known Subclasses:
NewArc, NewCircle, NewHalfLine, NewInterval, NewLine, NewPoint, NewRadius

public abstract class newFamily
extends EuMove

This abstract class joins all LEA moves named New... They are characterized by the following properties:


Field Summary
 fundamentals.EuArguments commandArguments
          Contains arguments to be used when constructing object.
 
Fields inherited from class moves.EuMove
allowedSegments, in, out
 
Constructor Summary
newFamily(interagents.finalWrapper in, interagents.finalWrapper out, fundamentals.EuArguments args, int beacon, java.lang.String outmodes, int arguments)
          The constructor checks that no input or beacon is passed, that the number of arguments fit, and that there is just one output, of the right type;
newFamily(int startDatumCount, java.lang.String outmodes, int arguments)
           
 
Method Summary
protected  void exMacro(interagents.EuLab lab, interagents.explicitHolder caller)
          Executes core commands of the move in macro mode, possibly affecting the passed @see EuLab Send or recieve data to/from calling program as explicits in a passed explicitHolder.
protected  void exMain(interagents.EuLab lab)
          Executes core commands of the move in main mode, possibly affecting the passed @see EuLab Calls ex() as default.
protected abstract  objects.EuObject makeDummyExplicit()
           
protected abstract  objects.EuObject makeExplicit()
           
protected  void preMain(librarian.ppProcessor ppp)
          Performs various preprocessing of the move.
abstract  java.lang.String signatureString()
           
 java.lang.String toString()
          Document the move
 
Methods inherited from class moves.EuMove
checkSegment, ex, executeMacro, executeMain, executeSegmentOnly, getFirstOutIndex, initArguments, initBeacon, iobUsageChecks, issueBeacon, name, operationName, passExceptionDetails, passHintDetails, passSelection, postMacro, postMain, postprocess, preMacro, preprocess, specialSegmentOK
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

commandArguments

public fundamentals.EuArguments commandArguments
Contains arguments to be used when constructing object. They are only guaranteed to match in number.

Constructor Detail

newFamily

public newFamily(interagents.finalWrapper in,
                 interagents.finalWrapper out,
                 fundamentals.EuArguments args,
                 int beacon,
                 java.lang.String outmodes,
                 int arguments)
          throws DesignException
The constructor checks that no input or beacon is passed, that the number of arguments fit, and that there is just one output, of the right type;

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

newFamily

public newFamily(int startDatumCount,
                 java.lang.String outmodes,
                 int arguments)
          throws DesignException,
                 InternalException
Method Detail

exMain

protected void exMain(interagents.EuLab lab)
               throws LeaException
Description copied from class: EuMove
Executes core commands of the move in main mode, possibly affecting the passed @see EuLab Calls ex() as default.

Overrides:
exMain in class EuMove
Parameters:
lab - the @see EuLab on which to work
LeaException

exMacro

protected void exMacro(interagents.EuLab lab,
                       interagents.explicitHolder caller)
                throws LeaException
Description copied from class: EuMove
Executes core commands of the move in macro mode, possibly affecting the passed @see EuLab Send or recieve data to/from calling program as explicits in a passed explicitHolder. Forgets explicitHolder as default and calls ex().

Overrides:
exMacro in class EuMove
Parameters:
lab - the @see EuLab on which to work
caller - the explicitHolder with which to communicate with the calling program.
LeaException

preMain

protected void preMain(librarian.ppProcessor ppp)
                throws LeaException
Performs various preprocessing of the move. Updates in- or output given in pidgin or by label. Overwritten by some moves to update also arguments and to collect other information for use in executing the move. All of this is made possible by use of the passed ppProcessor.

Overrides:
preMain in class EuMove
Parameters:
ppp - the ppProcessor from which to get additional information
LeaException

toString

public java.lang.String toString()
Description copied from class: EuMove
Document the move

Overrides:
toString in class EuMove
Returns:
a string in the format exemplified by (R2, P4)>>>ConstructCircle>>(C6!)

makeExplicit

protected abstract objects.EuObject makeExplicit()
                                          throws LeaException
LeaException

makeDummyExplicit

protected abstract objects.EuObject makeDummyExplicit()

signatureString

public abstract java.lang.String signatureString()