TransactionLock
TransactionLock objects in C++ are referenced by the following shared pointer typedef:
-
typedef std::shared_ptr<rogue::interfaces::memory::TransactionLock> rogue::interfaces::memory::TransactionLockPtr
Alias for using shared pointer as TransactionLockPtr.
The class description is shown below:
-
class TransactionLock
Transaction Lock.
The TransactionLock is a container for holding a lock on Transaction data while accessing that data. This lock ensures that Transaction is not destroyed when the Slave is updating its data and result. This object is created by calling Transaction::lock().
Public Functions
-
void lock()
Lock associated Transaction if not locked.
Exposed as lock() to Python
-
void enter()
Enter method for python, does nothing.
This exists only to support the with call in python.
Exposed as enter() to Python
-
void exit(void*, void*, void*)
Exit method for python, does nothing.
This exists only to support the with call in python.
Exposed as exit() to Python
-
void lock()