ucl.physiol.neuroconstruct.project
Class MorphBasedConnGenerator

java.lang.Object
  extended by java.lang.Thread
      extended by ucl.physiol.neuroconstruct.project.MorphBasedConnGenerator
All Implemented Interfaces:
Runnable

public class MorphBasedConnGenerator
extends Thread

Thread to handle generation of the morphology based network connections based on the project settings

Author:
Padraig Gleeson

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
static String myGeneratorType
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MorphBasedConnGenerator(Project project, GenerationReport reportInterface)
           
 
Method Summary
 ArrayList<String> getRelevantNetConns()
           
static void main(String[] args)
           
protected  void netConnCompleted(String netConnName)
           
protected  int netConnsRunning()
           
protected  void netConnStarting(String netConnName)
           
 void run()
           
 void setSimConfig(SimConfig simConfig)
           
 void stopGeneration()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myGeneratorType

public static final String myGeneratorType
See Also:
Constant Field Values
Constructor Detail

MorphBasedConnGenerator

public MorphBasedConnGenerator(Project project,
                               GenerationReport reportInterface)
Method Detail

setSimConfig

public void setSimConfig(SimConfig simConfig)

stopGeneration

public void stopGeneration()

getRelevantNetConns

public ArrayList<String> getRelevantNetConns()

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

netConnCompleted

protected void netConnCompleted(String netConnName)

netConnStarting

protected void netConnStarting(String netConnName)

netConnsRunning

protected int netConnsRunning()

main

public static void main(String[] args)
                 throws ProjectFileParsingException,
                        InterruptedException,
                        NoProjectLoadedException
Throws:
ProjectFileParsingException
InterruptedException
NoProjectLoadedException