summaryrefslogtreecommitdiff
path: root/ace/Activation_Queue.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-10-10 22:02:29 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-10-10 22:02:29 +0000
commit7f8019f50de017cf21f923f6d80920ec7bc7f354 (patch)
tree5f0ff47ff4f2f0b573408191af6d9356fece4c4f /ace/Activation_Queue.h
parent387da614aa5d78603c74d83a3e62116dc2e3e86d (diff)
downloadATCD-7f8019f50de017cf21f923f6d80920ec7bc7f354.tar.gz
ChangeLogTag:Wed Oct 10 06:16:52 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/Activation_Queue.h')
-rw-r--r--ace/Activation_Queue.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/ace/Activation_Queue.h b/ace/Activation_Queue.h
index f629c939757..f253b5ce028 100644
--- a/ace/Activation_Queue.h
+++ b/ace/Activation_Queue.h
@@ -6,7 +6,7 @@
*
* $Id$
*
- * @author Andres Kruse <Andres.Kruse@cern.ch> and
+ * @author Andres Kruse <Andres.Kruse@cern.ch>
* @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
*/
//=============================================================================
@@ -42,7 +42,9 @@ class ACE_Export ACE_Activation_Queue
public:
// = Initialization and termination methods.
/// Constructor.
- ACE_Activation_Queue (ACE_Message_Queue<ACE_SYNCH> *new_queue = 0);
+ ACE_Activation_Queue (ACE_Message_Queue<ACE_SYNCH> *new_queue = 0,
+ ACE_Allocator *alloc = 0,
+ ACE_Allocator *db_alloc = 0);
/// Destructor.
virtual ~ACE_Activation_Queue (void);
@@ -87,6 +89,12 @@ protected:
int delete_queue_;
private:
+ /// Allocation strategy of the queue.
+ ACE_Allocator *allocator_;
+
+ /// Allocation strategy of the message blocks.
+ ACE_Allocator *data_block_allocator_;
+
// = Prevent assignment and initialization.
ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Activation_Queue &))
ACE_UNIMPLEMENTED_FUNC (ACE_Activation_Queue (const ACE_Activation_Queue &))
@@ -98,3 +106,4 @@ private:
#include "ace/post.h"
#endif /* ACE_ACTIVATION_QUEUE_H */
+