/** delegates all calls to the original driver and extend the existing one with the SDBCX layer.
*/ class ODriverDelegator final : public ::cppu::BaseMutex
,public ODriverDelegator_BASE
{
std::vector<TConnectionInfo> m_aConnections; // vector containing a list // of all the Connection objects // for this Driver
css::uno::Reference< css::sdbc::XDriver > m_xDriver;
css::uno::Reference< css::uno::XComponentContext > m_xContext; bool m_bInShutDownConnections;
/** load the driver we want to delegate. The<member>m_xDriver</member>maybe<NULL/>ifthedrivercouldnotbeloaded. @return Thedriverwhichwascurrentlyselected.
*/
css::uno::Reference< css::sdbc::XDriver > const & loadDriver( );
/** shut down the connection and revoke the storage from the map @param_aIter Theconnectiontoshutdownandstoragetorevoke.
*/ void shutdownConnection(const std::vector<TConnectionInfo>::iterator& _aIter);
public: /** creates a new delegator for a HSQLDB driver
*/
ODriverDelegator(const css::uno::Reference< css::uno::XComponentContext >& _rxContext);
/** called when we connected to a newly created embedded database
*/ void onConnectedNewDatabase( const css::uno::Reference< css::sdbc::XConnection >& _rxConnection
);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.