#include <rc_reconfigurable.h>
The existence of this class represents an open transaction. The associated rc_reconfigurable's transaction is increased by one. The count is decreased in the destructor. rc_transaction can be used as a temporary object.
begin() and end() are provided to allow the use of rc_transaction in cases where it is not used as a temporary object.
Definition at line 941 of file rc_reconfigurable.h.
Public Member Functions | |
rc_transaction (rc_reconfigurable *reconf) | |
Constructor. | |
void | begin () |
Begin transaction. | |
void | end () |
End transaction. | |
bool | has_ended () const |
Has the transaction already been ended? | |
~rc_transaction () | |
Destructor. | |
Private Member Functions | |
rc_transaction (const rc_transaction &orig) | |
(disabled) | |
rc_transaction & | operator= (const rc_transaction &orig) |
(disabled) | |
Private Attributes | |
rc_reconfigurable * | reconf |
The associated reconfigurable context. | |
bool | p_has_ended |
The transaction ended flag. |
rc_transaction | ( | rc_reconfigurable * | reconf | ) | [inline, explicit] |
Constructor.
reconf | the reconfigurable the transaction shall be associated to |
Definition at line 997 of file rc_reconfigurable.h.
~rc_transaction | ( | ) |
rc_transaction | ( | const rc_transaction & | orig | ) | [private] |
(disabled)
void begin | ( | ) | [inline] |
Begin transaction.
Definition at line 1006 of file rc_reconfigurable.h.
void end | ( | ) | [inline] |
End transaction.
Definition at line 1015 of file rc_reconfigurable.h.
bool has_ended | ( | ) | const [inline] |
rc_transaction& operator= | ( | const rc_transaction & | orig | ) | [private] |
(disabled)
rc_reconfigurable* reconf [private] |
The associated reconfigurable context.
Definition at line 979 of file rc_reconfigurable.h.
Referenced by rc_transaction::begin(), rc_transaction::end(), ReChannel::rc_get_reconfigurable_context(), ReChannel::rc_register_resettable(), and rc_transaction::~rc_transaction().
bool p_has_ended [private] |
The transaction ended flag.
Definition at line 983 of file rc_reconfigurable.h.
Referenced by rc_transaction::begin(), rc_transaction::end(), rc_transaction::has_ended(), and rc_transaction::~rc_transaction().