FIX::MessageStoreFactoryExceptionWrapper Class Reference

#include <MessageStore.h>

Collaboration diagram for FIX::MessageStoreFactoryExceptionWrapper:

Public Member Functions

 MessageStoreFactoryExceptionWrapper (MessageStoreFactory *pFactory)
MessageStorecreate (const SessionID &, bool &, ConfigError &)
void destroy (MessageStore *)

Private Attributes

MessageStoreFactorym_pFactory

Detailed Description

Definition at line 138 of file MessageStore.h.

Constructor & Destructor Documentation

◆ MessageStoreFactoryExceptionWrapper()

FIX::MessageStoreFactoryExceptionWrapper::MessageStoreFactoryExceptionWrapper ( MessageStoreFactory * pFactory)
inline

Definition at line 143 of file MessageStore.h.

144 : m_pFactory( pFactory ) {}

References m_pFactory.

Member Function Documentation

◆ create()

MessageStore * FIX::MessageStoreFactoryExceptionWrapper::create ( const SessionID & sessionID,
bool & threw,
ConfigError & ex )

Definition at line 57 of file MessageStore.cpp.

58{
59 threw = false;
60 try { return m_pFactory->create( sessionID ); }
61 catch ( ConfigError & e ) { threw = true; ex = e; return 0; }
62}

References m_pFactory.

◆ destroy()

void FIX::MessageStoreFactoryExceptionWrapper::destroy ( MessageStore * pStore)

Definition at line 64 of file MessageStore.cpp.

65{
66 m_pFactory->destroy( pStore );
67}

References m_pFactory.

Member Data Documentation

◆ m_pFactory

MessageStoreFactory* FIX::MessageStoreFactoryExceptionWrapper::m_pFactory
private

Definition at line 141 of file MessageStore.h.

Referenced by create(), destroy(), and MessageStoreFactoryExceptionWrapper().


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

Generated on for QuickFIX by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2001