CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdDbSafeTransaction Class Reference

#include <DbSafeTransaction.h>

Inheritance diagram for OdDbSafeTransaction:
OdStaticRxObject< OdDbTransactionReactor >

Public Member Functions

 OdDbSafeTransaction (OdDbDatabase *pTrackedDb)
 
 ~OdDbSafeTransaction ()
 

Detailed Description

This class implements Safe OdDbTransactionReactor objects.

Remarks
These Reactor objects assure that all active database transactions for the tracked database will be aborted when an instance of this class is destroyed.

<group OdDb_Classes>

Definition at line 46 of file DbSafeTransaction.h.

Constructor & Destructor Documentation

◆ OdDbSafeTransaction()

OdDbSafeTransaction::OdDbSafeTransaction ( OdDbDatabase pTrackedDb)
inline
Parameters
pTrackedDB[in] Pointer to the tracked database.
Remarks
Adds this Reactor object to the tracked database.

Definition at line 91 of file DbSafeTransaction.h.

◆ ~OdDbSafeTransaction()

OdDbSafeTransaction::~OdDbSafeTransaction ( )
inline
Remarks
Removes this Reactor object from the tracked database, and aborts all active transactions started since this Reactor object was constructed.

Definition at line 105 of file DbSafeTransaction.h.


The documentation for this class was generated from the following file: