public class EmuDataPath
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
EmuDataPath.Module
Class to store module-related data.
|
Constructor and Description |
---|
EmuDataPath(java.lang.String name,
java.lang.String inputFifo,
java.lang.String outputFifo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addModuleName(java.lang.String name,
java.lang.String inputFifo,
java.lang.String outputFifo)
Add a module to the data path.
|
boolean |
associateModule(EmuModule module)
Associate an EmuModule object with a module of the same name in the path.
|
void |
clear()
Clear all existing modules from data path.
|
boolean |
containsModule(EmuModule module)
Does this path contain the given EmuModule object?
|
boolean |
containsModuleName(java.lang.String name)
Does this path contain a module of the given name?
|
java.util.LinkedList<EmuModule> |
getEmuModules()
Get the linked list of the EmuModules in this path.
|
java.util.LinkedList<EmuDataPath.Module> |
getModules()
Get the linked list of the Modules in this path.
|
java.lang.String |
toString()
Create a string representation of this object.
|
public EmuDataPath(java.lang.String name, java.lang.String inputFifo, java.lang.String outputFifo)
name
- name of module to createinputFifo
- name of any input fifo, else nulloutputFifo
- name of any output fifo, else nullpublic boolean addModuleName(java.lang.String name, java.lang.String inputFifo, java.lang.String outputFifo)
associateModule(EmuModule)
.name
- name of module to create and addinputFifo
- name of any input fifo, else nulloutputFifo
- name of any output fifo, else nulltrue
if module added, else false
public void clear()
public boolean associateModule(EmuModule module)
module
- EmuModule to associate with a moduletrue
if module associated, else false
public java.util.LinkedList<EmuDataPath.Module> getModules()
public java.util.LinkedList<EmuModule> getEmuModules()
public boolean containsModuleName(java.lang.String name)
name
- name of moduletrue
if module in path, else false
public boolean containsModule(EmuModule module)
module
- EmuModule objecttrue
if module in path, else false
public java.lang.String toString()
toString
in class java.lang.Object