Public Member Functions | Private Attributes | List of all members
FIX::MessageStoreFactoryExceptionWrapper Class Reference

#include <MessageStore.h>

Collaboration diagram for FIX::MessageStoreFactoryExceptionWrapper:
Collaboration graph
[legend]

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 ) {}

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}
virtual MessageStore * create(const SessionID &)=0

References FIX::MessageStoreFactory::create(), and m_pFactory.

◆ destroy()

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

Definition at line 64 of file MessageStore.cpp.

65{
66 m_pFactory->destroy( pStore );
67}
virtual void destroy(MessageStore *)=0

References FIX::MessageStoreFactory::destroy(), and m_pFactory.

Member Data Documentation

◆ m_pFactory

MessageStoreFactory* FIX::MessageStoreFactoryExceptionWrapper::m_pFactory
private

Definition at line 141 of file MessageStore.h.

Referenced by create(), and destroy().


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

Generated on Sat Feb 3 2024 04:23:15 for QuickFIX by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2001