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.

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

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

◆ 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

Member Data Documentation

◆ m_pFactory

MessageStoreFactory* FIX::MessageStoreFactoryExceptionWrapper::m_pFactory
private

Definition at line 141 of file MessageStore.h.


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

Generated on Wed Aug 28 2019 14:13:46 for QuickFIX by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2001