nl.tudelft.simulation.traffic.controlpoint.blocks
Class SwitchVirtualBlock

java.lang.Object
  extended bynl.tudelft.simulation.traffic.controlpoint.blocks.VirtualBlock
      extended bynl.tudelft.simulation.traffic.controlpoint.blocks.SwitchVirtualBlock

public class SwitchVirtualBlock
extends VirtualBlock

Th SwitchVirtualBlock defines the block to be guarded.

(c) copyright 2003-2004 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
Jun 20, 2004
Author:
Alexander Verbraeck

Field Summary
 
Fields inherited from class nl.tudelft.simulation.traffic.controlpoint.blocks.VirtualBlock
busy, requestList
 
Constructor Summary
SwitchVirtualBlock(java.lang.String name)
          constucts a new SwitchVirtualBlock
 
Method Summary
 void addSwitchDirection(SwitchBlockTrafficLight trafficLight, int line, java.lang.String complexLink, java.lang.String track)
          adds a direction to the block
 
Methods inherited from class nl.tudelft.simulation.traffic.controlpoint.blocks.VirtualBlock
getName, releaseBlock, requestAccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwitchVirtualBlock

public SwitchVirtualBlock(java.lang.String name)
constucts a new SwitchVirtualBlock

Parameters:
name - the name of the SwitchVirtualBlock
Method Detail

addSwitchDirection

public void addSwitchDirection(SwitchBlockTrafficLight trafficLight,
                               int line,
                               java.lang.String complexLink,
                               java.lang.String track)
adds a direction to the block

Parameters:
trafficLight -
line -
complexLink -
track -


Copyright © 2003-2004 Delft University of Technology, the Netherlands. All Rights Reserved.