summaryrefslogtreecommitdiff
path: root/TAO/tao/default_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/default_resource.h')
-rw-r--r--TAO/tao/default_resource.h32
1 files changed, 14 insertions, 18 deletions
diff --git a/TAO/tao/default_resource.h b/TAO/tao/default_resource.h
index ea703bf82b3..e2f072bbf84 100644
--- a/TAO/tao/default_resource.h
+++ b/TAO/tao/default_resource.h
@@ -16,7 +16,6 @@
#define TAO_DEFAULT_RESOURCE_H
#include /**/ "ace/pre.h"
-#include "ace/Copy_Disabled.h"
#include "ace/Service_Config.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
@@ -37,7 +36,7 @@ class TAO_LF_Strategy;
class TAO_Codeset_Descriptor_Base;
/**
- * @class TAO_Codeset_Parameters
+ * @class TAO_Codeset_Parametes
*
* @brief A simple storage class for the native codeset and any
* translators that must be configured when creating an instance of
@@ -53,32 +52,27 @@ class TAO_Codeset_Descriptor_Base;
*
*/
class TAO_Export TAO_Codeset_Parameters
- : ACE_Copy_Disabled
{
+private:
+ ACE_Unbounded_Queue<ACE_TCHAR*> translators_;
+ ACE_TCHAR* native_;
+
+private:
+ TAO_Codeset_Parameters (const TAO_Codeset_Parameters&);
+ TAO_Codeset_Parameters& operator= (const TAO_Codeset_Parameters&);
+
+ typedef ACE_Unbounded_Queue_Iterator<ACE_TCHAR*> iterator;
+
public:
TAO_Codeset_Parameters (void);
~TAO_Codeset_Parameters (void);
-
- /// The native codeset (getter)
const ACE_TCHAR* native (void);
-
- /// The native codeset (setter)
void native (const ACE_TCHAR* n);
-
- /// Add a new codeset
- void add_translator (const ACE_TCHAR* name);
-
- typedef ACE_Unbounded_Queue_Iterator<ACE_TCHAR*> iterator;
-
- /// Iterate through the registered translators
+ void add_translator (const ACE_TCHAR*name);
iterator translators (void);
/// Apply the parameters to the said descriptor
void apply_to (TAO_Codeset_Descriptor_Base *csd);
-
-private:
- ACE_Unbounded_Queue<ACE_TCHAR*> translators_;
- ACE_TCHAR* native_;
};
@@ -281,6 +275,8 @@ protected:
bool use_local_memory_pool_;
private:
+ // void init_codeset_descriptors (void);
+
enum Lock_Type
{
TAO_NULL_LOCK,