diff options
author | gokhale <asgokhale@users.noreply.github.com> | 1998-04-14 19:09:33 +0000 |
---|---|---|
committer | gokhale <asgokhale@users.noreply.github.com> | 1998-04-14 19:09:33 +0000 |
commit | 44dbcae7fbbc45d362e9a108952846f2f95de935 (patch) | |
tree | 2cb384ef4a293f6a7a2cdbefc86fb2f99d48c8a2 /TAO/tao/PolicyS.h | |
parent | dc91dcc9c80369d1a005b95336c6baefc83b6032 (diff) | |
download | ATCD-44dbcae7fbbc45d362e9a108952846f2f95de935.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/PolicyS.h')
-rw-r--r-- | TAO/tao/PolicyS.h | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/TAO/tao/PolicyS.h b/TAO/tao/PolicyS.h new file mode 100644 index 00000000000..d3fbb385bb7 --- /dev/null +++ b/TAO/tao/PolicyS.h @@ -0,0 +1,114 @@ +// $Id$ + +/* -*- C++ -*- */ + +// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* +// TAO ORB and the TAO IDL Compiler have been developed by Washington +// University Computer Science's Distributed Object Computing Group. +// +// Information on TAO is available at +// http://www.cs.wustl.edu/~schmidt/TAO.html + +#if !defined (_TAO_IDL_POLICYS_H_) +#define _TAO_IDL_POLICYS_H_ + +#include "PolicyC.h" + +class POA_CORBA +{ +public: + class Policy; + typedef Policy *Policy_ptr; + class Policy : public virtual PortableServer::ServantBase + { + protected: + Policy (void); + public: + virtual ~Policy (void); + virtual CORBA::Boolean _is_a ( + const char* logical_type_id, + CORBA::Environment &_tao_environment); + virtual void* _downcast ( + const char* logical_type_id + ); + virtual CORBA::PolicyType policy_type ( + CORBA::Environment &_tao_environment + ) = 0; + static void _get_policy_type_skel ( + CORBA::ServerRequest &_tao_req, + void *_tao_obj, + void *_tao_context, + CORBA::Environment &_tao_env + ); + + virtual CORBA::Policy_ptr copy ( + CORBA::Environment &_tao_environment + ) = 0; + static void copy_skel ( + CORBA::ServerRequest &_tao_req, + void *_tao_obj, + void *_tao_context, + CORBA::Environment &_tao_env + ); + + virtual void destroy ( + CORBA::Environment &_tao_environment + ) = 0; + static void destroy_skel ( + CORBA::ServerRequest &_tao_req, + void *_tao_obj, + void *_tao_context, + CORBA::Environment &_tao_env + ); + + static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA::Environment &_tao_enviroment); + + virtual void _dispatch (CORBA::ServerRequest &_tao_req, void *_tao_context, CORBA::Environment &_tao_env); + + CORBA::Policy *_this (CORBA::Environment &_tao_environment); + virtual const char* _interface_repository_id (void) const; + }; + + +#if !defined (_CORBA_POLICY___COLLOCATED_SH_) +#define _CORBA_POLICY___COLLOCATED_SH_ + + class _tao_collocated_Policy : public virtual CORBA::Policy + { + public: + _tao_collocated_Policy ( + Policy_ptr servant, + STUB_Object *stub + ); + Policy_ptr _get_servant (void) const; + virtual CORBA::Boolean _is_a ( + const char *logical_type_id, + CORBA::Environment &_tao_environment + ); + virtual CORBA::PolicyType policy_type ( + CORBA::Environment &_tao_environment + ); + virtual CORBA::Policy_ptr copy ( + CORBA::Environment &_tao_environment + ); + virtual void destroy ( + CORBA::Environment &_tao_environment + ); + + private: + Policy_ptr servant_; + }; + + +#endif /* end #if !defined */ + + +}; + + +#if defined (__ACE_INLINE__) +#include "PolicyS.i" +#endif /* defined INLINE */ + + +#endif /* if !defined */ |