diff options
Diffstat (limited to 'apps/JAWS2/JAWS/Waiter.h')
-rw-r--r-- | apps/JAWS2/JAWS/Waiter.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/apps/JAWS2/JAWS/Waiter.h b/apps/JAWS2/JAWS/Waiter.h deleted file mode 100644 index 57bd35086b0..00000000000 --- a/apps/JAWS2/JAWS/Waiter.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -#ifndef JAWS_WAITER_H -#define JAWS_WAITER_H - -#include "ace/Singleton.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "JAWS/Assoc_Array.h" -#include "JAWS/Export.h" - -class JAWS_IO_Handler; - -typedef ACE_thread_t JAWS_Thread_ID; - -typedef JAWS_Assoc_Array<JAWS_Thread_ID, JAWS_IO_Handler *> JAWS_Waiter_Base; -typedef JAWS_Assoc_Array_Iterator<JAWS_Thread_ID, JAWS_IO_Handler *> - JAWS_Waiter_Base_Iterator; - -class JAWS_Export JAWS_Waiter : public JAWS_Waiter_Base -{ -public: - JAWS_Waiter (void); - ~JAWS_Waiter (void); - - JAWS_Waiter_Base_Iterator &iter (void); - // Returns an iterator to the headers container. - - int index (void); - // Returns the index into the table associated with calling thread. - - JAWS_IO_Handler * wait_for_completion (int i = -1); - // The entry point for this class, handles outstanding asynchronous - // events. Can optionally accept a parameter that points to which - // table entry to return. - -private: - JAWS_Waiter_Base_Iterator iter_; - -}; - -typedef ACE_Singleton<JAWS_Waiter, ACE_SYNCH_MUTEX> JAWS_Waiter_Singleton; - -#endif /* JAWS_WAITER_H */ |