#include <FaultPattern.hh>
An EventOccurrence implements the occurrence of an Event in a FaultPattern. This class is mainly implemented to make difference between two occurrences of the same Event in the FaultPattern
Definition at line 48 of file FaultPattern.hh.
◆ EventOccurrence() [1/3]
Diades::Automata::FaultPattern::EventOccurrence::EventOccurrence |
( |
Event |
event, |
|
|
int |
identifier |
|
) |
| |
|
inline |
the identifier of the occurrence
Constructor
- Parameters
-
event | the Event associated to this occurrence |
identifier | the identifier of the occurrence |
Definition at line 61 of file FaultPattern.hh.
◆ EventOccurrence() [2/3]
Diades::Automata::FaultPattern::EventOccurrence::EventOccurrence |
( |
| ) |
|
|
inline |
Default constructor implements the occurrence of a null Event with an id equals to 0
Definition at line 67 of file FaultPattern.hh.
◆ EventOccurrence() [3/3]
Diades::Automata::FaultPattern::EventOccurrence::EventOccurrence |
( |
const EventOccurrence & |
occurrence | ) |
|
|
inline |
Copy constructor
- Parameters
-
occurrence | The occurrence to copy |
Definition at line 74 of file FaultPattern.hh.
◆ event()
Event Diades::Automata::FaultPattern::EventOccurrence::event |
( |
| ) |
const |
|
inline |
◆ identifier()
int Diades::Automata::FaultPattern::EventOccurrence::identifier |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ operator==()
bool Diades::Automata::FaultPattern::EventOccurrence::operator== |
( |
const EventOccurrence & |
occurrence | ) |
|
|
inline |
- Parameters
-
occurrence | the occurrence to compare |
- Returns
- true iff bot occurrence are equal (value equality)
Definition at line 117 of file FaultPattern.hh.
References event(), and identifier().
◆ operator<<
Output stream operator
- Parameters
-
occurrence | the occurrence to display |
os | the stream of display |
- Returns
- the occurrence in the stream os
Definition at line 130 of file FaultPattern.hh.
◆ _event
Event Diades::Automata::FaultPattern::EventOccurrence::_event |
|
private |
◆ _id
int Diades::Automata::FaultPattern::EventOccurrence::_id |
|
private |
The documentation for this class was generated from the following file:
- /home/yannick/laas/redmine/tools/diades/include/diades/automata/FaultPattern.hh