|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEmulator.Components.Component
public abstract class Component
*********************** Created By: Yuval Tzur Date: 14/12/12 Time: 14:44 Description: Component is an abstract class that defines the basic details of a component. Each class defining an emulated hardware component will inherit from this class. Basic details inherited from this class are ID and Name. Each component type will have its numerical ID that will be defined as a Global identifier for its name. ***********************
Field Summary |
---|
Fields inherited from interface Emulator.Global.Constants |
---|
_0, _1, AC, ADDR_REGISTER_SIZE, ALU, ALU_IN0, ALU_IN1, ALU_OUT, AR, BUS, BUS_SIZE, DATA_COMPONENTS, DATA_REGISTER_SIZE, DATA_TABLE_SIZE, DR, E, FGI, FGO, I, IEN, INPR, IO_REGISTER_SIZE, IR, M, MEMORY_SIZE, OUTR, PC, R, S, TARGET_REACHED, TIMEOUT, TIMER, TIMER_LIMIT, TR, TR0, TR1, UNREACHABLE |
Constructor Summary | |
---|---|
Component()
|
Method Summary | |
---|---|
int |
get_id()
|
java.lang.String |
get_name()
|
protected void |
set_id(int id)
|
protected void |
set_name(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Component()
Method Detail |
---|
protected void set_id(int id) throws NegativeIdException
NegativeIdException
protected void set_name(java.lang.String name)
public int get_id()
public java.lang.String get_name()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |