mCRL2
|
Represents a deadlock. More...
#include <deadlock.h>
Public Member Functions | |
deadlock (data::data_expression time=data::undefined_real()) | |
Constructor. | |
bool | has_time () const |
Returns true if time is available. | |
const data::data_expression & | time () const |
Returns the time. | |
data::data_expression & | time () |
Returns the time. | |
std::string | to_string () const |
Returns a string representation of the deadlock. | |
bool | operator== (const deadlock &other) const |
Comparison operator. | |
bool | operator!= (const deadlock &other) const |
Comparison operator. | |
void | swap (deadlock &other) |
Swaps the contents. | |
Protected Attributes | |
data::data_expression | m_time |
The time of the deadlock. If m_time == data::undefined_real() the multi action has no time. | |
Friends | |
class | deadlock_summand |
Represents a deadlock.
A deadlock is 'delta' with an optional time tag.
Definition at line 25 of file deadlock.h.
|
inline |
Constructor.
Definition at line 36 of file deadlock.h.
|
inline |
Returns true if time is available.
Definition at line 42 of file deadlock.h.
|
inline |
Comparison operator.
Definition at line 74 of file deadlock.h.
|
inline |
Comparison operator.
Definition at line 68 of file deadlock.h.
|
inline |
Swaps the contents.
Definition at line 80 of file deadlock.h.
|
inline |
|
inline |
|
inline |
Returns a string representation of the deadlock.
Definition at line 62 of file deadlock.h.
|
friend |
Definition at line 27 of file deadlock.h.
|
protected |
The time of the deadlock. If m_time == data::undefined_real()
the multi action has no time.
Definition at line 32 of file deadlock.h.