25#include <com/sun/star/lang/DisposedException.hpp>
34 : m_eWorkingMode (
E_INIT )
35 , m_nTransactionCount ( 0 )
72 bool bWaitFor =
false;
164 SAL_WARN(
"fwk",
"TransactionManager...: Owner instance not correctly initialized yet. Call was rejected! Normally it's an algorithm error ... wrong use of class!" );
175 SAL_WARN(
"fwk",
"TransactionManager...: Owner instance stand in close method. Call was rejected!" );
176 throw css::lang::DisposedException(
"TransactionManager: Owner instance stand in close method. Call was rejected!" );
181 SAL_WARN(
"fwk",
"TransactionManager...: Owner instance already closed. Call was rejected!" );
182 throw css::lang::DisposedException(
"TransactionManager: Owner instance already closed. Call was rejected!" );
sal_Int32 m_nTransactionCount
current working mode of object which use this manager (used to reject calls at wrong time)
void registerTransaction(EExceptionMode eMode)
Gate m_aBarrier
regulate access on internal member of this instance
void unregisterTransaction()
void setWorkingMode(EWorkingMode eMode)
EWorkingMode m_eWorkingMode
used to block transactions requests during change or work mode
EWorkingMode getWorkingMode() const
#define SAL_WARN(area, stream)