diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Log/Hash_Persistence_Strategy.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Log/Hash_Persistence_Strategy.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Log/Hash_Persistence_Strategy.h b/TAO/orbsvcs/orbsvcs/Log/Hash_Persistence_Strategy.h new file mode 100644 index 00000000000..43f5e4a6ae5 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/Log/Hash_Persistence_Strategy.h @@ -0,0 +1,59 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Hash_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_HASH_PERSISTENCE_STRATEGY_H +#define TAO_TLS_HASH_PERSISTENCE_STRATEGY_H + +#include /**/ "ace/pre.h" +#include /**/ "ace/config-all.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +#pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "orbsvcs/Log/Log_Persistence_Strategy.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +/** + * @class TAO_Hash_Persistence_Strategy + * + * @brief Concrete Strategy for Log / Log Record Storage + * + * Stores log parameters and log records in hash maps + */ +class TAO_Log_Serv_Export TAO_Hash_Persistence_Strategy + : public TAO_Log_Persistence_Strategy +{ +public: + // = Initialization and Termination Methods + + /// Constructor. + TAO_Hash_Persistence_Strategy (); + + /// Destructor. + virtual ~TAO_Hash_Persistence_Strategy (); + + /// @brief Log Store Factory + virtual TAO_LogStore* + create_log_store (TAO_LogMgr_i* mgr); + +private: +}; + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_TLS_HASH_PERSISTENCE_STRATEGY_H */ |