Mbed OS Reference
Loading...
Searching...
No Matches
Transaction< Class > Class Template Reference

Transaction class defines a transaction. More...

#include <Transaction.h>

Public Member Functions

Class * get_object ()
 Get object's instance for the transaction. More...
 
transaction_tget_transaction ()
 Get the transaction. More...
 

Detailed Description

template<typename Class>
class mbed::Transaction< Class >

Transaction class defines a transaction.

Note
Synchronization level: Not protected

Definition at line 48 of file Transaction.h.

Member Function Documentation

◆ get_object()

Class * get_object ( )

Get object's instance for the transaction.

Returns
The object which was stored

Definition at line 66 of file Transaction.h.

◆ get_transaction()

transaction_t * get_transaction ( )

Get the transaction.

Returns
The transaction which was stored

Definition at line 75 of file Transaction.h.