diff options
| author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-30 06:50:29 +0000 |
|---|---|---|
| committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-30 06:50:29 +0000 |
| commit | a4a7690c336d4c8a16b3041c86d501ba38226e96 (patch) | |
| tree | 9e9f93a98edd2591453f092d178ad29a1c5fb519 /ace/Activation_Queue.h | |
| parent | a5c4d8047ab58df5c45092e18ae503ad40518f0e (diff) | |
| download | ATCD-unlabeled-4.1.2.tar.gz | |
This commit was manufactured by cvs2svn to create branchunlabeled-4.1.2
'unlabeled-4.1.2'.
Diffstat (limited to 'ace/Activation_Queue.h')
| -rw-r--r-- | ace/Activation_Queue.h | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/ace/Activation_Queue.h b/ace/Activation_Queue.h deleted file mode 100644 index 0b8e06faab5..00000000000 --- a/ace/Activation_Queue.h +++ /dev/null @@ -1,62 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Activation_Queue.h -// -// = AUTHOR -// Andres Kruse <Andres.Kruse@cern.ch> and Douglas C. Schmidt -// <schmidt@cs.wustl.edu> -// -// ============================================================================ - -#if !defined (ACE_ACTIVATION_QUEUE_H) -#define ACE_ACTIVATION_QUEUE_H - -#include "ace/Synch.h" -#include "ace/Message_Queue.h" -#include "ace/Method_Object.h" - -class ACE_Export ACE_Activation_Queue - // = TITLE - // Reifies a method into an object. Subclasses typically - // represent necessary state and behavior. - // - // = DESCRIPTION - // A <Method_Object> is inserted in the <Activation_Queue>, where - // it is subsequently removed by the <Scheduler> and invoked. -{ -public: - // = Initialization and termination methods. - ACE_Activation_Queue (ACE_Message_Queue<ACE_SYNCH> *new_queue = 0); - ~ACE_Activation_Queue (void); - - // = Queue operations. - ACE_Method_Object *dequeue (ACE_Time_Value *tv = 0); - // Dequeue the next available <Method_Object>. - - int enqueue (ACE_Method_Object *new_method_object, - ACE_Time_Value *tv = 0); - // Enqueue the <Method_Object>. - - void dump (void) const; - // Dump the state of an object. - - ACE_ALLOC_HOOK_DECLARE; - // Declare the dynamic allocation hooks. - -private: - ACE_Message_Queue<ACE_SYNCH> *queue_; - // Stores the <Method_Objects>. - - int delete_queue_; - // Keeps track of whether we need to delete the queue. -}; - -#endif /* ACE_ACTIVATION_QUEUE_H */ - |
