|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.zcu.kiv.ppr.msloup.kernel.Event
public class Event
Trida reprezentuje obalovou tridu nad tridou EventStructure.
| Constructor Summary | |
|---|---|
protected |
Event(Memory memory,
EventStructure structure)
Kostruktor eventu. |
| Method Summary | |
|---|---|
void |
close()
Uzavira instanci eventu |
protected void |
fillEvent(Fiber fiber)
Prida do seznamu eventu u fiberu tento event a zaroven pro tento event prida do seznamu fiberu zadany fiber. |
String |
getName()
Vraci nazev eventu. |
protected EventStructure |
getStructure()
Vraci EventStructure objekt |
protected int |
getUsed()
Vraci pocet referenci na EventStructure objekt |
void |
resetEvent()
Vyresetuje zasignalizovany event. |
void |
setEvent()
Zasignalizuje aktivaci eventu. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Event(Memory memory,
EventStructure structure)
memory - objekt s pameti, kde jsou ulozeny zamkystructure - strukturni objekt eventu| Method Detail |
|---|
protected int getUsed()
public String getName()
IEvent
getName in interface IEventpublic void close()
IEvent
close in interface IEventpublic void resetEvent()
IEvent
resetEvent in interface IEventpublic void setEvent()
IEvent
setEvent in interface IEventprotected void fillEvent(Fiber fiber)
fiber - fiberprotected EventStructure getStructure()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||