#include <fed.h>
Public Member Functions | |
ClockOperation & | operator+ (int32_t val) |
Clock increment and decrement. | |
ClockOperation & | operator- (int32_t val) |
ClockOperation & | operator+= (int32_t val) |
ClockOperation & | operator-= (int32_t val) |
ClockOperation & | operator= (const ClockOperation &op) |
Execute(update) clock (+value ignored) = clock + value. | |
ClockOperation & | operator= (int32_t val) |
Execute(updateValue) clock = value. | |
bool | operator< (const ClockOperation &x) const |
Check if clock constraints are satisfied. | |
bool | operator<= (const ClockOperation &x) const |
bool | operator> (const ClockOperation &x) const |
bool | operator>= (const ClockOperation &x) const |
bool | operator== (const ClockOperation &x) const |
bool | operator< (int32_t v) const |
bool | operator<= (int32_t v) const |
bool | operator> (int32_t v) const |
bool | operator>= (int32_t v) const |
bool | operator== (int32_t v) const |
ClockOperation (TYPE *d, cindex_t c) | |
The constructor should be used only by dbm_t or fed_t since ClockOperation is a convenience class. | |
TYPE * | getPtr () const |
Access to the arguments of the operation. | |
cindex_t | getClock () const |
int32_t | getVal () const |
Private Attributes | |
TYPE * | ptr |
cindex_t | clock |
related dbm_t or fed_t, no reference count | |
int32_t | incVal |
clock to read/write |
|
The constructor should be used only by dbm_t or fed_t since ClockOperation is a convenience class.
|
|
|
|
Access to the arguments of the operation.
|
|
|
|
Clock increment and decrement.
|
|
|
|
|
|
|
|
|
|
Check if clock constraints are satisfied. Semantics: does there exist a point such that it satisfies the constraint. |
|
|
|
|
|
Execute(updateValue) clock = value.
|
|
Execute(update) clock (+value ignored) = clock + value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
related dbm_t or fed_t, no reference count
|
|
clock to read/write
|
|
|