|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.options.transfer.TransferManager
Field Summary | |
protected int |
ACS
constants indicate the subsystems in configuration of CLARION and task-specific |
protected int |
ACS_COMP
|
protected int |
ACS_COMP_NUM
constants for configuration of ACS subsystem. |
protected int |
ACS_COR
|
protected int |
ACS_GS
|
protected int |
ACS_NET
|
protected int |
ACS_NET_COMP_NUM
|
protected int |
ACS_NET_OPT_NUM
|
protected int |
ACS_WM
|
protected int |
CLARION_COMP_NUM
numbers of components in CLARION and Task-Specific configuration. |
protected int |
COMP
|
protected int |
DIMS
constants indicate the subsystems in configuration of CLARION and task-specific |
protected int |
DISPLAY
constants indicate the subsystems in configuration of CLARION and task-specific |
protected int |
DISPLAY_COMP_NUM
constants for configuration of task specific. |
protected int |
EX_NET
|
protected int |
FR
|
protected Global |
global
|
protected int |
GS_NET
|
protected int |
IDN
|
protected int |
IRL
|
protected int |
NACS
constants indicate the subsystems in configuration of CLARION and task-specific |
protected int |
NACS_AEM
|
protected int |
NACS_AMN
|
protected int |
NACS_COMP
|
protected int |
NACS_COMP_NUM
constants for configuration of NACS subsystem. |
protected int |
NACS_COR
|
protected int |
NACS_EM
|
protected int |
NACS_GKS
|
protected int |
OFF
constants indicates one component or choice is selected or not. |
protected int |
ON
constants indicates one component or choice is selected or not. |
protected int |
RER
|
protected int |
RT
constants indicate the subsystems in configuration of CLARION and task-specific |
protected int |
RT_COMP_NUM
constants for configuration of Response Time Calculation. |
protected int |
SAVE_TO_FILE
constants indicates save options to associated Global object or persistent storage |
protected int |
SAVE_TO_GLOBAL
constants indicates save options to associated Global object or persistent storage |
protected int[] |
saveCodes
|
protected int |
SUBSYS
constants indicate the subsystems in configuration of CLARION and task-specific |
protected java.lang.String |
subsysPath
|
protected int |
SUPER
constants indicate the subsystems in configuration of CLARION and task-specific |
protected int |
SUPER_COMP
|
protected int |
SUPER_COMP_NUM
constants for configuration of Supervisory subsystem. |
protected int |
SUPER_MCS
|
protected int |
SUPER_MS
|
protected static java.io.File |
sysDir
|
protected static java.lang.String |
sysPath
variables for locating files. |
protected java.io.File |
sysSettingDir
|
protected java.lang.String |
sysSettingPath
|
protected int |
TASK_COMP_NUM
numbers of components in CLARION and Task-Specific configuration. |
protected int |
TOTAL_COMP_NUM
numbers of components in CLARION and Task-Specific configuration. |
protected Transfer[] |
transfers
the transfers for transfer data of subsystem. |
protected int |
TS
constants indicate the subsystems in configuration of CLARION and task-specific |
protected int |
WM_NET
|
Constructor Summary | |
TransferManager(Global global)
constructor. |
Method Summary | |
int |
getAcsCompFileNum(int netType,
int netIdx,
int type)
Get the number of a specified component allowed in one ACS network. |
int |
getAcsExNetNum()
Get the number of ACS external networks. |
int |
getAmnNum()
Get the number of AMN networks in the NACS subystem. |
int |
getAmnType(int netIdx)
Deprecated. |
java.lang.String |
getFeatureName(int type,
int idx)
Get the name of a feature in the specified type and order in that type. |
int |
getFeatureNum(int type)
Get the number of features in the specified dimension type. |
int |
getGksReasoningType()
Get the GKS reasoning method. |
int |
getGsOption()
Get the Goal Structure type. |
Option[] |
getOptions(int dim1,
int dim2,
int dim3,
int dim4,
int dim5,
int dim6)
Get an array of particular options. |
Option |
getOptions(int dim1,
int dim2,
int dim3,
int dim4,
int dim5,
int dim6,
int dim7)
Get a particular option. |
boolean |
getWmOption()
Get the Working Memory option to check if it is selected or not. |
boolean |
isAcsCompOn(int netType,
int netIdx,
int type)
Get ACS component option in one ACS network to check if the component is selected or not. |
boolean |
isAemOn()
Get the AEM option to check if the AEM component is selected or not. |
boolean |
isEmOn()
Get the EM option to check if the EM component is selected or not. |
boolean |
isGksOn()
Get the GKS option to check if the GKS component is selected or not. |
boolean |
isGsIdnOn()
Get the Goal Structure IDN option to check if the IDN is selected or not. |
boolean |
isMcsOn()
Get the MCS option to check if the MCS component is selected or not in supervisory subsystem. |
boolean |
isMsOn()
Get the MS option to check if the MS component is selected or not in supervisory subsystem. |
boolean |
isNacsOn()
Check if NACS subsystem is selected or not. |
boolean |
isRtOn()
Check if Response Time is selected or not. |
boolean |
isSupervisoryOn()
Check if Supervisory subsystem is selected or not. |
boolean |
isWmIdnOn()
Get the Working Memory IDN option to check if the IDN is selected or not. |
void |
load(int index)
Load configurations from persistent storage. |
void |
save(int index)
save configurations. |
java.lang.String[] |
searchCurrentSettings()
Get the names of existing setting group in a simulated task. |
java.lang.String[] |
searchCurrentTasks()
Get the names of existing simulated tasks. |
int |
searchFeatureName(int type,
java.lang.String name)
Get the order of a feature in a type with the particular name. |
void |
setGlobal(Global global)
Set the associated Global object with this manager. |
void |
setSaveCode(int index,
int code)
Set the mode of saving options: 0: save to Global object; 1: save to persistent storage. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final int SAVE_TO_GLOBAL
protected final int SAVE_TO_FILE
protected final int TOTAL_COMP_NUM
protected final int CLARION_COMP_NUM
protected final int TASK_COMP_NUM
protected final int ACS
protected final int NACS
protected final int SUPER
protected final int RT
protected final int DISPLAY
protected final int DIMS
protected final int TS
protected final int SUBSYS
protected final int ACS_COMP_NUM
protected final int ACS_COMP
protected final int ACS_NET
protected final int ACS_WM
protected final int ACS_GS
protected final int ACS_NET_OPT_NUM
protected final int EX_NET
protected final int WM_NET
protected final int GS_NET
protected final int ACS_COR
protected final int ACS_NET_COMP_NUM
protected final int IDN
protected final int RER
protected final int IRL
protected final int FR
protected final int COMP
protected final int NACS_COMP_NUM
protected final int NACS_COMP
protected final int NACS_GKS
protected final int NACS_AMN
protected final int NACS_EM
protected final int NACS_AEM
protected final int NACS_COR
protected final int SUPER_COMP_NUM
protected final int SUPER_COMP
protected final int SUPER_MS
protected final int SUPER_MCS
protected final int RT_COMP_NUM
protected final int DISPLAY_COMP_NUM
protected final int ON
protected final int OFF
protected Global global
protected int[] saveCodes
protected Transfer[] transfers
protected static java.lang.String sysPath
protected static java.io.File sysDir
protected java.lang.String sysSettingPath
protected java.io.File sysSettingDir
protected java.lang.String subsysPath
Constructor Detail |
public TransferManager(Global global)
Method Detail |
public java.lang.String[] searchCurrentTasks()
public java.lang.String[] searchCurrentSettings()
public Option[] getOptions(int dim1, int dim2, int dim3, int dim4, int dim5, int dim6)
dim1
- index on a subsystem.
arguments dim2 through dim6 are all indices on a 6-dimension
array which stores all options of a particular subsystem.public Option getOptions(int dim1, int dim2, int dim3, int dim4, int dim5, int dim6, int dim7)
dim1
- index on a subsystem.
arguments dim2 through dim7 are all indices on a 6-dimension
array which stores all options of a particular subsystem.public boolean isNacsOn()
public boolean isSupervisoryOn()
public boolean isRtOn()
public int getFeatureNum(int type)
type
- the dimension type.
public java.lang.String getFeatureName(int type, int idx)
type
- the dimension type.idx
- the order in that type.
public int searchFeatureName(int type, java.lang.String name)
type
- the dimension type.name
- the feature name.
public int getGsOption()
public boolean getWmOption()
public int getAcsExNetNum()
public boolean isGsIdnOn()
public boolean isWmIdnOn()
public boolean isAcsCompOn(int netType, int netIdx, int type)
netType
- : external, GS or WM network.
public int getAcsCompFileNum(int netType, int netIdx, int type)
netType
- : external, GS or WM network.
public boolean isGksOn()
public int getAmnNum()
public boolean isEmOn()
public boolean isAemOn()
public int getAmnType(int netIdx)
public int getGksReasoningType()
public boolean isMsOn()
public boolean isMcsOn()
public void setGlobal(Global global)
global
- the Global object to set.public void setSaveCode(int index, int code)
index
- indicates CLARION or Task-Specific configuration.code
- the mode of saving options.public void load(int index)
index
- indicates CLARION or Task-Specific configuration.public void save(int index)
index
- indicates CLARION or Task-Specific configuration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |