diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h b/TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h deleted file mode 100644 index d7848d34e81..00000000000 --- a/TAO/orbsvcs/orbsvcs/Log/LogMgr_i.h +++ /dev/null @@ -1,79 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// = LIBRARY -// orbsvcs -// -// = FILENAME -// LogMgr_i.h -// -// = DESCRIPTION -// Implementation of the LogManager i,e DsLogAdmin::LogMgr interface. -// -// = AUTHOR -// Matthew Braun (mjb2@cs.wustl.edu) and Pradeep Gore <pradeep@cs.wustl.edu> -// -// ============================================================================ - -#ifndef TLS_LOGMGR_I_H -#define TLS_LOGMGR_I_H - -#include "orbsvcs/DsLogAdminS.h" -#include "orbsvcs/Log/BasicLog_i.h" - -class LogMgr_i : public virtual POA_DsLogAdmin::LogMgr -{ - // = TITLE - // LogMgr_i - // = DESCRIPTION - // This class has methods to query for Log objects. - // -public: - // Initialization and Termination Methods - LogMgr_i (void); - // Constructor. - - ~LogMgr_i (); - // Destructor. - - DsLogAdmin::LogList * - list_logs (CORBA::Environment &ACE_TRY_ENV = - CORBA::default_environment ()) - ACE_THROW_SPEC (( - CORBA::SystemException - )); - // Lists all logs created by the log factory - - DsLogAdmin::Log_ptr - find_log (DsLogAdmin::LogId id, - CORBA::Environment &ACE_TRY_ENV = - CORBA::default_environment ()) - ACE_THROW_SPEC (( - CORBA::SystemException - )); - // Returns a reference to the log with the supplied id - - DsLogAdmin::LogIdList * - list_logs_by_id (CORBA::Environment &ACE_TRY_ENV = - CORBA::default_environment ()) - ACE_THROW_SPEC (( - CORBA::SystemException - )); - // Lists all log ids - - int remove (DsLogAdmin::LogId id); - // remove the given entry from the hash table. - -protected: - typedef ACE_Hash_Map_Manager <DsLogAdmin::LogId, - DsLogAdmin::BasicLog_var,ACE_SYNCH_MUTEX> HASHMAP; - // Define the HASHMAP. - - HASHMAP hash_map_; - // The map of Logs created. - - DsLogAdmin::LogId max_id_; - // The Max id assigned so far. -}; -#endif /* TLS_LOGMGR_I_H */ |