Trees | Index | Help |
|
---|
|
object --+ | __CEvent
A class to implement an event object.
This class is privately declared inside the CAutomaton class. Every instance will then be created by the CAutomaton public methods (see the CAutomaton.addEvent method).
|
|||
__init__(self,
automaton,
id,
name,
comment,
controllable)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|||
getId(self) | |||
setId(self,
id)
Set the ID of the Event. |
|||
getName(self) | |||
setName(self,
name)
Set the name of the Event. |
|||
getComment(self) | |||
setComment(self,
comment)
Set a comment for the Event. |
|||
setControllable(self,
controllable)
Set the controllable flag of the event. |
|||
setPriorityList(self,
events)
Add one ore more event for which the current one has top priority. |
|||
getPriorityList(self)
Returns a copy of the list of prioritized events. |
|||
isSubdued(self,
event)
Returns True if the specified event has less priority than the current one (than it is Subdued). |
|||
isControllable(self)
Returns a flag which states if the current Event is controllable or not. |
|||
Inherited from |
|
|||
Inherited from |
|
|||
id | |||
name | |||
comment | |||
controllable |
|
|
|
|
|
|
|
|
|
Add one ore more event for which the current one has top priority. The priorities over events are used when an automaton which represents a Supervisor is processed in order to carry out a deterministic Controller (see the CAutomaton.toDeterministicController method)
|
|
Returns True if the specified event has less priority than the current one (than it is Subdued). The method looks for if the specified event is in the Priority List of the current event or in the Priority List of one of its subdueds.
|
|
|
id
|
name
|
comment
|
controllable
|
Trees | Index | Help |
|
---|
Generated by Epydoc 3.0alpha2 on Tue Jun 27 16:33:16 2006 | http://epydoc.sf.net |