com.cmpware.cmp
Class CustomArray

java.lang.Object
  extended by com.cmpware.cmp.CustomArray
Direct Known Subclasses:
ARC_demo, CellBE, Checkerboard, Default, DualCellBE, GdbTest, Hetero, LM32_demo, MIPS32_demo, SPURS, TestCustomArray, VT_ECE_5530, Xtensa_demo

public abstract class CustomArray
extends java.lang.Object

This defines the processors in the multiprocessor array. Note that this is most useful for defining a heterogeneous array, or an array containing different types of processors. A homogeneous array can be easily specified from the Cmpware Preference Page.

Copyright (c) 2005 Cmpware, Inc. All Rights Reserved.

Author:
SAG

Field Summary
static java.lang.String copyright
          Copyright string
 
Constructor Summary
CustomArray()
           
 
Method Summary
static CustomArray get(java.lang.String customArrayName)
          This static method is used to return a newly allocated Custom Array object from the link name string.
abstract  java.lang.String[][] getProcessorTable()
          This method defines the processors in the multiprocessor array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright
Copyright string

See Also:
Constant Field Values
Constructor Detail

CustomArray

public CustomArray()
Method Detail

getProcessorTable

public abstract java.lang.String[][] getProcessorTable()
This method defines the processors in the multiprocessor array. Each element in the returned 2D string array represents a class defining a processor. The alernative to this processor array definition is to use the fields in the Cmpware Preference Pages. This will define a regular N x M array of processors, all necessarily of the same type.

Returns:
This method defines the processors in the multiprocessor array. Each element in the returned 2D string array represents a class defining a processor.

get

public static CustomArray get(java.lang.String customArrayName)
                       throws CustomArrayException
This static method is used to return a newly allocated Custom Array object from the link name string.

Parameters:
customArrayName - The name of the Custom Array. This is the class name of the Custom Array class file under com.cmpware.cmp.models.
Returns:
This method returns a newly created custom Array object from the custom array name string.
Throws:
CustomArrayException - if any problems we encountered allocating the new Custom Array object.