diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Log/Log_Persistence_Strategy.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Log/Log_Persistence_Strategy.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Log/Log_Persistence_Strategy.h b/TAO/orbsvcs/orbsvcs/Log/Log_Persistence_Strategy.h new file mode 100644 index 00000000000..5e8832c5dee --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/Log/Log_Persistence_Strategy.h @@ -0,0 +1,61 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Log_Persistence_Strategy.h + * + * $Id$ + * + * @author Matthew Braun <mjb2@cs.wustl.edu> + * @author Pradeep Gore <pradeep@cs.wustl.edu> + * @author David A. Hanvey <d.hanvey@qub.ac.uk> + */ +//============================================================================= + +#ifndef TAO_TLS_PERSISTENCE_STRATEGY_H +#define TAO_TLS_PERSISTENCE_STRATEGY_H + +#include /**/ "ace/pre.h" + +#include "orbsvcs/Log/log_serv_export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +#pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/Versioned_Namespace.h" +#include "ace/Service_Object.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +class TAO_LogStore; +class TAO_LogMgr_i; + +namespace CORBA +{ + class ORB; + typedef ORB* ORB_ptr; +} + +/** + * @class TAO_Log_Persistence_Strategy + * + * @brief Base Strategy for Log / Log Record Storage + * + */ +class TAO_Log_Serv_Export TAO_Log_Persistence_Strategy + : public ACE_Service_Object +{ +public: + /// @brief Log Store Factory + virtual TAO_LogStore* + create_log_store (TAO_LogMgr_i* logmgr_i) = 0; + +private: +}; + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_TLS_PERSISTENCE_STRATEGY_H */ |