summaryrefslogtreecommitdiff
path: root/TAO/tao/Thread_Lane_Resources.h
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-10-28 18:31:01 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-10-28 18:31:01 +0000
commitc20c95d4d526d887c9782960a3ff73f63c3c1c85 (patch)
treefd6ae8c3db752254802dfaafd1543974a4741e47 /TAO/tao/Thread_Lane_Resources.h
parent3d20d6aedf2b56b86fe2a386777c7afbf1c19c93 (diff)
downloadATCD-c20c95d4d526d887c9782960a3ff73f63c3c1c85.tar.gz
ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Thread_Lane_Resources.h')
-rw-r--r--TAO/tao/Thread_Lane_Resources.h43
1 files changed, 35 insertions, 8 deletions
diff --git a/TAO/tao/Thread_Lane_Resources.h b/TAO/tao/Thread_Lane_Resources.h
index 7de6222ae37..2a30f6af457 100644
--- a/TAO/tao/Thread_Lane_Resources.h
+++ b/TAO/tao/Thread_Lane_Resources.h
@@ -14,20 +14,18 @@
#define TAO_THREAD_LANE_RESOURCES_H
#include /**/ "ace/pre.h"
-
-#include "tao/corbafwd.h"
+#include "ace/CORBA_macros.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/orbconf.h"
-
#include "ace/Thread_Mutex.h"
-#include "ace/CORBA_macros.h"
-class ACE_Allocator;
+#include "tao/TAO_Export.h"
+#include "tao/orbconf.h"
+class ACE_Allocator;
class TAO_ORB_Core;
class TAO_Acceptor_Registry;
class TAO_Transport_Cache_Manager;
@@ -37,6 +35,11 @@ class TAO_New_Leader_Generator;
class TAO_Connector_Registry;
class TAO_Resource_Factory;
+namespace CORBA
+{
+ class Environment;
+}
+
/**
* @class TAO_Thread_Lane_Resources
*
@@ -49,8 +52,9 @@ class TAO_Export TAO_Thread_Lane_Resources
{
public:
/// Constructor.
- TAO_Thread_Lane_Resources (TAO_ORB_Core &orb_core,
- TAO_New_Leader_Generator *new_leader_generator = 0);
+ TAO_Thread_Lane_Resources (
+ TAO_ORB_Core &orb_core,
+ TAO_New_Leader_Generator *new_leader_generator = 0);
/// Destructor.
~TAO_Thread_Lane_Resources (void);
@@ -102,6 +106,22 @@ public:
* Transport object. This allocator has locks.
*/
ACE_Allocator *transport_message_buffer_allocator (void);
+
+ /* Allocator is intended for allocating the ACE_Data_Blocks used in
+ * outgoing CDR streams. This allocator has locks.
+ */
+ ACE_Allocator *output_cdr_dblock_allocator (void);
+
+ /* Allocator is intended for allocating the buffers in the outgoing
+ * CDR streams. This allocator has locks.
+ */
+ ACE_Allocator *output_cdr_buffer_allocator (void);
+
+ /* Allocator is intended for allocating the ACE_Message_Blocks used
+ * in the outgoing CDR streams. This allocator is global, and has
+ * locks.
+ */
+ ACE_Allocator *output_cdr_msgblock_allocator (void);
// @}
private:
@@ -147,6 +167,13 @@ private:
//@{
ACE_Allocator *transport_message_buffer_allocator_;
//@}
+
+ /// The allocators for the output CDR streams.
+ //@{
+ ACE_Allocator *output_cdr_dblock_allocator_;
+ ACE_Allocator *output_cdr_buffer_allocator_;
+ ACE_Allocator *output_cdr_msgblock_allocator_;
+ //@}
};
#if defined (__ACE_INLINE__)