nl.tudelft.simulation.dsol.interpreter.process
Class ProcessFactory

java.lang.Object
  extended by nl.tudelft.simulation.dsol.interpreter.operations.InterpreterFactory
      extended by nl.tudelft.simulation.dsol.interpreter.operations.custom.CustomFactory
          extended by nl.tudelft.simulation.dsol.interpreter.process.ProcessFactory
All Implemented Interfaces:
FactoryInterface

public class ProcessFactory
extends CustomFactory

A InterpreterFactory
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Version:
1.0 Jan 14, 2004
Author:
Peter Jacobs

Field Summary
static Method SUSPEND_METHOD
          the SUSPEND METHOD
 
Fields inherited from class nl.tudelft.simulation.dsol.interpreter.operations.custom.CustomFactory
interpreterOracle
 
Fields inherited from interface nl.tudelft.simulation.dsol.interpreter.operations.FactoryInterface
BREAKPOINT, IMPDEP1, IMPDEP2
 
Constructor Summary
ProcessFactory(InterpreterOracleInterface interpreterOracle)
          constructs a new InterpreterFactory
 
Method Summary
 Operation readOperation(int operand, DataInput dataInput, int startBytePostion)
          reads a sequence of bytes and returns the appropriate bytecode operations.
 
Methods inherited from class nl.tudelft.simulation.dsol.interpreter.operations.InterpreterFactory
readOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUSPEND_METHOD

public static Method SUSPEND_METHOD
the SUSPEND METHOD

Constructor Detail

ProcessFactory

public ProcessFactory(InterpreterOracleInterface interpreterOracle)
constructs a new InterpreterFactory

Parameters:
the - interpreterOracle to use
Method Detail

readOperation

public Operation readOperation(int operand,
                               DataInput dataInput,
                               int startBytePostion)
                        throws IOException
reads a sequence of bytes and returns the appropriate bytecode operations.

Specified by:
readOperation in interface FactoryInterface
Overrides:
readOperation in class CustomFactory
Parameters:
operand - the operatand (short value)
dataInput - the dataInput to read from
startBytePostion - the position in the current block of bytecode.
Returns:
the assemnbly Operation
Throws:
IOException - on IO exception
See Also:
#readOperation(int, java.io.DataInput, int)


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.