Class CTransaction#
Defined in File signal_support.h
Class Documentation#
-
class CTransaction#
Transaction wrapping class.
Public Functions
-
CTransaction() = default#
Default constructor.
-
CTransaction(const CTransaction &rTransaction) = delete#
Copy constructor (deleted)
- Parameters:
rTransaction – [in] Reference to the transaction to copy from.
-
inline CTransaction(CTransaction &&rTransaction)#
Move constructor.
- Parameters:
rTransaction – [in] Reference to the transaction to move from.
-
inline ~CTransaction()#
Destructor.
-
CTransaction &operator=(const CTransaction &rTransaction) = delete#
Assignment operator (deleted)
- Parameters:
rTransaction – [in] Reference to the transaction to copy from.
- Returns:
Reference to this class.
-
inline CTransaction &operator=(CTransaction &&rTransaction)#
Move operator.
- Parameters:
rTransaction – [in] Reference to the transaction to move from.
- Returns:
Reference to this class.
-
inline operator bool() const#
Valid transaction?
-
inline void Finish()#
Finish the transaction.
-
inline IInterfaceAccess *GetTransaction() const#
Get the transaction interface.
- Returns:
The transaction interface that was used for this transaction or nullptr when the transaction was started yet or had finished before.
Protected Functions
-
inline CTransaction(CDispatchService &rDispatch, IInterfaceAccess *pTransaction)#
Constructor for transaction.
- Parameters:
rDispatch – [in] Reference to the dispatch class.
pTransaction – [in] Pointer to the interface of the transaction object.
-
CTransaction() = default#