diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-27 22:14:57 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-27 22:14:57 +0000 |
commit | c4d94347bd611b450151aaef44a7394899ad7578 (patch) | |
tree | 65920262219f58bb3095e51e6bcdf2269e82af30 /TAO/tao/Incoming_Message_Queue.h | |
parent | 00f60e6e545a7bae50f1b9f5be1536a40f61d1c9 (diff) | |
download | ATCD-c4d94347bd611b450151aaef44a7394899ad7578.tar.gz |
ChangeLogTag:Thu Jun 27 16:54:42 2002 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Incoming_Message_Queue.h')
-rw-r--r-- | TAO/tao/Incoming_Message_Queue.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/TAO/tao/Incoming_Message_Queue.h b/TAO/tao/Incoming_Message_Queue.h index 4a4d6109608..5c03cbe12af 100644 --- a/TAO/tao/Incoming_Message_Queue.h +++ b/TAO/tao/Incoming_Message_Queue.h @@ -22,6 +22,7 @@ /// Forward declarations class ACE_Data_Block; +class ACE_Allocator; class TAO_ORB_Core; class TAO_Queued_Data; class TAO_Transport; @@ -52,7 +53,8 @@ class TAO_Transport; class TAO_Export TAO_Incoming_Message_Queue { public: - /// Contructor. + + /// Constructor. TAO_Incoming_Message_Queue (TAO_ORB_Core *orb_core); /// Destructor. @@ -122,16 +124,16 @@ class TAO_Export TAO_Queued_Data { public: /// Default Constructor - TAO_Queued_Data (void); + TAO_Queued_Data (ACE_Allocator *alloc = 0); /// Constructor. - TAO_Queued_Data (ACE_Message_Block *mb); + TAO_Queued_Data (ACE_Message_Block *mb, ACE_Allocator *alloc = 0); /// Copy constructor. TAO_Queued_Data (const TAO_Queued_Data &qd); /// Creation and deletion of a node in the queue. - static TAO_Queued_Data* get_queued_data (void); + static TAO_Queued_Data* get_queued_data (ACE_Allocator *alloc = 0); static void release (TAO_Queued_Data *qd); @@ -171,6 +173,9 @@ private: /// Replace the datablock with a one allocated on the heap or /// allocator static void replace_data_block (ACE_Message_Block &mb); + +private: + ACE_Allocator *allocator_; }; |