Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures
TDocStd_MultiTransactionManager.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_TDocStd_MultiTransactionManager.hxx>
#include <TDocStd_SequenceOfDocument.hxx>
#include <TDocStd_SequenceOfApplicationDelta.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_OStream.hxx>
#include <Handle_TDocStd_Document.hxx>
#include <TDocStd_MultiTransactionManager.lxx>

Data Structures

class  TDocStd_MultiTransactionManager
 Class for synchronization of transactions within multiple documents.
Each transaction of this class involvess one transaction in each modified document.

The documents to be synchronized should be added explicitly to
the manager; then its interface is uesd to ensure that all transactions
(Open/Commit, Undo/Redo) are performed synchronously in all managed documents.

The current implementation does not support nested transactions
on multitransaction manager level. It only sets the flag enabling
or disabling nested transactions in all its documents, so that
a nested transaction can be opened for each particular document
with TDocStd_Document class interface.

NOTE: When you invoke CommitTransaction of multi transaction
manager, all nested transaction of its documents will be closed (commited).
More...