Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.engine
Class ConnectorElement

java.lang.Object
  extended byorg.evolvica.engine.AbstractElement
      extended byorg.evolvica.engine.ConnectorElement
All Implemented Interfaces:
IElement

public class ConnectorElement
extends AbstractElement

Connector (processor) element.

Since:
0.4.0
Version:
$Revision: 1.7 $ $Date: 2004/05/26 11:58:22 $
Author:
Andreas Rummler

Field Summary
protected  IProcessor processor
          Underlying processing operator.
 
Fields inherited from class org.evolvica.engine.AbstractElement
algorithm, incoming, input, outgoing, output
 
Constructor Summary
ConnectorElement(IProcessor processor)
          Constructor.
 
Method Summary
 void activate()
          Activates this element.
 IOperator getOperator()
          Returns the operator that is assigned to this element.
 boolean isActivatable()
          Checks if this element can activated.
 void setIncomingSize(int size)
          Sets a new value for the number of incoming slots.
 void setOutgoingSize(int size)
          Sets a new value for the number of outgoing slots.
 
Methods inherited from class org.evolvica.engine.AbstractElement
addPropertyChangeListener, firePropertyChangeEvent, getAlgorithm, getIncoming, getIncomingIndex, getMetadata, getOutgoing, getOutgoingIndex, getOutput, incomingSize, outgoingSize, removeConnection, removePropertyChangeListener, setAlgorithm, setIncoming, setInput, setMetadata, setOutgoing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processor

protected IProcessor processor
Underlying processing operator.

Constructor Detail

ConnectorElement

public ConnectorElement(IProcessor processor)
Constructor.

Parameters:
processor - underlying processing operator
Method Detail

getOperator

public IOperator getOperator()
Description copied from interface: IElement
Returns the operator that is assigned to this element.

Returns:
assigned operator
See Also:
IElement.getOperator()

activate

public void activate()
Description copied from interface: IElement
Activates this element.

See Also:
IElement.activate()

isActivatable

public boolean isActivatable()
Description copied from interface: IElement
Checks if this element can activated.

Returns:
true if this element can be activated, false instead
See Also:
IElement.isActivatable()

setIncomingSize

public void setIncomingSize(int size)
Description copied from interface: IElement
Sets a new value for the number of incoming slots.

Parameters:
size - number of incoming slots
See Also:
IElement.setIncomingSize(int)

setOutgoingSize

public void setOutgoingSize(int size)
Description copied from interface: IElement
Sets a new value for the number of outgoing slots.

Parameters:
size - number of outgoing slots
See Also:
IElement.setOutgoingSize(int)

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems