summaryrefslogtreecommitdiff
path: root/TAO/tao/PolicyC.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-04-22 06:42:50 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-04-22 06:42:50 +0000
commit2d33954819dcd90713191fdd0a60d264fc5e1496 (patch)
tree5f76a0d11596127daca1856cebfdf4329f3d9df3 /TAO/tao/PolicyC.h
parent62ed2849d15e1c78cced6da10f81879a5f9b7e81 (diff)
downloadATCD-2d33954819dcd90713191fdd0a60d264fc5e1496.tar.gz
ChangeLogTag: Thu Apr 22 06:34:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/PolicyC.h')
-rw-r--r--TAO/tao/PolicyC.h237
1 files changed, 119 insertions, 118 deletions
diff --git a/TAO/tao/PolicyC.h b/TAO/tao/PolicyC.h
index c301591799c..4ac4a42dd25 100644
--- a/TAO/tao/PolicyC.h
+++ b/TAO/tao/PolicyC.h
@@ -70,13 +70,13 @@
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
#endif /* __BORLANDC__ */
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be\be_visitor_root/root_ch.cpp:63
namespace TAO
{
class Collocation_Proxy_Broker;
-
+
template<typename T> class Narrow_Utils;
template<typename T> class AbstractBase_Narrow_Utils;
}
@@ -86,62 +86,62 @@ namespace TAO
namespace CORBA
{
-
+
// TAO_IDL - Generated from
// be\be_visitor_typedef/typedef_ch.cpp:342
-
+
typedef CORBA::Short PolicyErrorCode;
typedef CORBA::Short_out PolicyErrorCode_out;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyErrorCode;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode BAD_POLICY = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode UNSUPPORTED_POLICY = 1;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode BAD_POLICY_TYPE = 2;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode BAD_POLICY_VALUE = 3;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const CORBA::PolicyErrorCode UNSUPPORTED_POLICY_VALUE = 4;
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_CORBA_POLICYERROR_CH_)
#define _CORBA_POLICYERROR_CH_
-
+
class TAO_Export PolicyError : public CORBA::UserException
{
public:
-
+
CORBA::PolicyErrorCode reason;
PolicyError (void);
PolicyError (const PolicyError &);
~PolicyError (void);
PolicyError &operator= (const PolicyError &);
-
+
static void _tao_any_destructor (void *);
-
+
static PolicyError *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -153,51 +153,51 @@ namespace CORBA
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ctor.cpp:66
-
+
PolicyError (
ACE_NESTED_CLASS (CORBA, PolicyErrorCode) _tao_reason
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:125
-
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyError;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_CORBA_INVALIDPOLICIES_CH_)
#define _CORBA_INVALIDPOLICIES_CH_
-
+
class TAO_Export InvalidPolicies : public CORBA::UserException
{
public:
-
+
CORBA::UShortSeq indices;
InvalidPolicies (void);
InvalidPolicies (const InvalidPolicies &);
~InvalidPolicies (void);
InvalidPolicies &operator= (const InvalidPolicies &);
-
+
static void _tao_any_destructor (void *);
-
+
static InvalidPolicies *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -209,47 +209,47 @@ namespace CORBA
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ctor.cpp:66
-
+
InvalidPolicies (
const ACE_NESTED_CLASS (CORBA, UShortSeq) & _tao_indices
);
-
+
// TAO_IDL - Generated from
// be\be_visitor_exception/exception_ch.cpp:125
-
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_interface.cpp:611
#if !defined (_CORBA_POLICY__VAR_OUT_CH_)
#define _CORBA_POLICY__VAR_OUT_CH_
-
+
class Policy;
typedef Policy *Policy_ptr;
-
+
typedef
TAO_Objref_Var_T<
Policy
>
Policy_var;
-
+
typedef
TAO_Objref_Out_T<
Policy
@@ -257,13 +257,13 @@ namespace CORBA
Policy_out;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_CORBA_POLICY_CH_)
#define _CORBA_POLICY_CH_
-
+
class TAO_Export Policy
: public virtual CORBA::Object
{
@@ -271,65 +271,65 @@ namespace CORBA
friend class TAO::Narrow_Utils<Policy>;
typedef Policy_ptr _ptr_type;
typedef Policy_var _var_type;
-
+
// The static operations.
static Policy_ptr _duplicate (Policy_ptr obj);
-
+
static Policy_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static Policy_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static Policy_ptr _nil (void)
{
return (Policy_ptr)0;
}
-
+
static void _tao_any_destructor (void *);
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual CORBA::PolicyType policy_type (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual ::CORBA::Policy_ptr copy (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual void destroy (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:208
-
+
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
@@ -343,21 +343,21 @@ namespace CORBA
private:
TAO::Collocation_Proxy_Broker *the_TAO_Policy_Proxy_Broker_;
-
+
protected:
// Concrete interface only.
- Policy (int collocated = 0);
-
+ Policy (void);
+
// These methods travese the inheritance tree and set the
// parents piece of the given class in the right mode.
- virtual void CORBA_Policy_setup_collocation (int collocated);
-
+ virtual void CORBA_Policy_setup_collocation (void);
+
// Concrete non-local interface only.
Policy (
IOP::IOR *ior,
TAO_ORB_Core *orb_core = 0
);
-
+
// Non-local interface only.
Policy (
TAO_Stub *objref,
@@ -365,38 +365,38 @@ namespace CORBA
TAO_Abstract_ServantBase *servant = 0,
TAO_ORB_Core *orb_core = 0
);
-
+
virtual ~Policy (void);
-
+
private:
// Private and unimplemented for concrete interfaces.
Policy (const Policy &);
-
+
void operator= (const Policy &);
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Policy;
-
+
// TAO_IDL - Generated from
// be\be_interface.cpp:611
#if !defined (_CORBA_POLICYMANAGER__VAR_OUT_CH_)
#define _CORBA_POLICYMANAGER__VAR_OUT_CH_
-
+
class PolicyManager;
typedef PolicyManager *PolicyManager_ptr;
-
+
typedef
TAO_Objref_Var_T<
PolicyManager
>
PolicyManager_var;
-
+
typedef
TAO_Objref_Out_T<
PolicyManager
@@ -404,43 +404,43 @@ namespace CORBA
PolicyManager_out;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_CORBA_POLICYMANAGER_CH_)
#define _CORBA_POLICYMANAGER_CH_
-
+
class TAO_Export PolicyManager
: public virtual CORBA::Object
{
public:
typedef PolicyManager_ptr _ptr_type;
typedef PolicyManager_var _var_type;
-
+
// The static operations.
static PolicyManager_ptr _duplicate (PolicyManager_ptr obj);
-
+
static PolicyManager_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static PolicyManager_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static PolicyManager_ptr _nil (void)
{
return (PolicyManager_ptr)0;
}
-
+
static void _tao_any_destructor (void *);
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual ::CORBA::PolicyList * get_policy_overrides (
const CORBA::PolicyTypeSeq & ts
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -448,10 +448,10 @@ namespace CORBA
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_operation/operation_ch.cpp:46
-
+
virtual void set_policy_overrides (
const CORBA::PolicyList & policies,
CORBA::SetOverrideType set_add
@@ -461,53 +461,53 @@ namespace CORBA
CORBA::SystemException
, CORBA::InvalidPolicies
)) = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:208
-
+
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
+
protected:
// Abstract or local interface only.
PolicyManager (void);
-
+
virtual ~PolicyManager (void);
-
+
private:
// Private and unimplemented for concrete interfaces.
PolicyManager (const PolicyManager &);
-
+
void operator= (const PolicyManager &);
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyManager;
-
+
// TAO_IDL - Generated from
// be\be_interface.cpp:611
#if !defined (_CORBA_POLICYCURRENT__VAR_OUT_CH_)
#define _CORBA_POLICYCURRENT__VAR_OUT_CH_
-
+
class PolicyCurrent;
typedef PolicyCurrent *PolicyCurrent_ptr;
-
+
typedef
TAO_Objref_Var_T<
PolicyCurrent
>
PolicyCurrent_var;
-
+
typedef
TAO_Objref_Out_T<
PolicyCurrent
@@ -515,13 +515,13 @@ namespace CORBA
PolicyCurrent_out;
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_CORBA_POLICYCURRENT_CH_)
#define _CORBA_POLICYCURRENT_CH_
-
+
class TAO_Export PolicyCurrent
: public virtual CORBA::PolicyManager,
public virtual CORBA::Current
@@ -529,56 +529,56 @@ namespace CORBA
public:
typedef PolicyCurrent_ptr _ptr_type;
typedef PolicyCurrent_var _var_type;
-
+
// The static operations.
static PolicyCurrent_ptr _duplicate (PolicyCurrent_ptr obj);
-
+
static PolicyCurrent_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static PolicyCurrent_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static PolicyCurrent_ptr _nil (void)
{
return (PolicyCurrent_ptr)0;
}
-
+
static void _tao_any_destructor (void *);
-
+
// TAO_IDL - Generated from
// be\be_visitor_interface/interface_ch.cpp:208
-
+
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
+
protected:
// Abstract or local interface only.
PolicyCurrent (void);
-
+
virtual ~PolicyCurrent (void);
-
+
private:
// Private and unimplemented for concrete interfaces.
PolicyCurrent (const PolicyCurrent &);
-
+
void operator= (const PolicyCurrent &);
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyCurrent;
// TAO_IDL - Generated from
@@ -606,7 +606,7 @@ namespace TAO
#if !defined (_CORBA_POLICY__TRAITS_CH_)
#define _CORBA_POLICY__TRAITS_CH_
-
+
ACE_TEMPLATE_SPECIALIZATION
struct TAO_Export Objref_Traits<CORBA::Policy>
{
@@ -627,7 +627,7 @@ namespace TAO
#if !defined (_CORBA_POLICYMANAGER__TRAITS_CH_)
#define _CORBA_POLICYMANAGER__TRAITS_CH_
-
+
ACE_TEMPLATE_SPECIALIZATION
struct TAO_Export Objref_Traits<CORBA::PolicyManager>
{
@@ -648,7 +648,7 @@ namespace TAO
#if !defined (_CORBA_POLICYCURRENT__TRAITS_CH_)
#define _CORBA_POLICYCURRENT__TRAITS_CH_
-
+
ACE_TEMPLATE_SPECIALIZATION
struct TAO_Export Objref_Traits<CORBA::PolicyCurrent>
{
@@ -741,3 +741,4 @@ TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::Policy_ptr &);
#include /**/ "ace/post.h"
#endif /* ifndef */
+