diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-24 13:44:55 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-24 13:44:55 +0000 |
commit | 46732a6599981239b6de6d690e1fea58542ae79b (patch) | |
tree | 30ccc38ebab6b21bd7a5b04fcd46c556766fa366 /TAO/tao/PollableC.h | |
parent | 429aaa8fec33b626936123bc1e58cb42d4bbc9e0 (diff) | |
download | ATCD-46732a6599981239b6de6d690e1fea58542ae79b.tar.gz |
ChangeLogTag: Tue Apr 24 08:28:40 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/PollableC.h')
-rw-r--r-- | TAO/tao/PollableC.h | 228 |
1 files changed, 114 insertions, 114 deletions
diff --git a/TAO/tao/PollableC.h b/TAO/tao/PollableC.h index d3b3d25b796..5d594835bcb 100644 --- a/TAO/tao/PollableC.h +++ b/TAO/tao/PollableC.h @@ -1,11 +1,23 @@ -/* -*- C++ -*- $Id$ */ - -// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* -// TAO and the TAO IDL Compiler have been developed by the Center for -// Distributed Object Computing at Washington University, St. Louis. +// -*- C++ -*- +// +// $Id$ + +// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** +// TAO and the TAO IDL Compiler have been developed by: +// Center for Distributed Object Computing +// Washington University +// St. Louis, MO +// USA +// http://www.cs.wustl.edu/~schmidt/doc-center.html +// and +// Distributed Object Computing Laboratory +// University of California at Irvine +// Irvine, CA +// USA +// http://doc.ece.uci.edu/ // // Information about TAO is available at: -// http://www.cs.wustl.edu/~schmidt/TAO.html +// http://www.cs.wustl.edu/~schmidt/TAO.html #ifndef _TAO_IDL_TMP_POLLABLEC_H_ #define _TAO_IDL_TMP_POLLABLEC_H_ @@ -43,6 +55,10 @@ #pragma warning(disable:4250) #endif /* _MSC_VER */ +#if defined (__BORLANDC__) +#pragma option push -w-rvl -w-rch -w-ccc -w-inl +#endif /* __BORLANDC__ */ + class CORBA_PollableSet; #if !defined (_CORBA_POLLABLESET___PTR_CH_) @@ -77,6 +93,14 @@ public: CORBA_PollableSet_ptr _retn (void); CORBA_PollableSet_ptr ptr (void) const; + // Hooks used by template sequence and object manager classes + // for non-defined forward declared interfaces. + static CORBA_PollableSet_ptr duplicate (CORBA_PollableSet_ptr); + static void release (CORBA_PollableSet_ptr); + static CORBA_PollableSet_ptr nil (void); + static CORBA_PollableSet_ptr narrow (CORBA::Object *, CORBA::Environment &); + static CORBA::Object * upcast (void *); + private: CORBA_PollableSet_ptr ptr_; // Unimplemented - prevents widening assignment. @@ -145,6 +169,14 @@ public: CORBA_Pollable_ptr _retn (void); CORBA_Pollable_ptr ptr (void) const; + // Hooks used by template sequence and object manager classes + // for non-defined forward declared interfaces. + static CORBA_Pollable_ptr duplicate (CORBA_Pollable_ptr); + static void release (CORBA_Pollable_ptr); + static CORBA_Pollable_ptr nil (void); + static CORBA_Pollable_ptr narrow (CORBA::Object *, CORBA::Environment &); + static CORBA::Object * upcast (void *); + private: CORBA_Pollable_ptr ptr_; // Unimplemented - prevents widening assignment. @@ -231,6 +263,7 @@ public: protected: CORBA_Pollable (void); + virtual ~CORBA_Pollable (void); private: CORBA_Pollable (const CORBA_Pollable &); @@ -274,6 +307,14 @@ public: CORBA_DIIPollable_ptr _retn (void); CORBA_DIIPollable_ptr ptr (void) const; + // Hooks used by template sequence and object manager classes + // for non-defined forward declared interfaces. + static CORBA_DIIPollable_ptr duplicate (CORBA_DIIPollable_ptr); + static void release (CORBA_DIIPollable_ptr); + static CORBA_DIIPollable_ptr nil (void); + static CORBA_DIIPollable_ptr narrow (CORBA::Object *, CORBA::Environment &); + static CORBA::Object * upcast (void *); + private: CORBA_DIIPollable_ptr ptr_; // Unimplemented - prevents widening assignment. @@ -343,6 +384,7 @@ public: protected: CORBA_DIIPollable (void); + virtual ~CORBA_DIIPollable (void); private: CORBA_DIIPollable (const CORBA_DIIPollable &); @@ -362,65 +404,6 @@ typedef CORBA_PollableSet *CORBA_PollableSet_ptr; #endif /* end #if !defined */ -#if !defined (_CORBA_POLLABLESET___VAR_CH_) -#define _CORBA_POLLABLESET___VAR_CH_ - -class TAO_Export CORBA_PollableSet_var : public TAO_Base_var -{ -public: - CORBA_PollableSet_var (void); // default constructor - CORBA_PollableSet_var (CORBA_PollableSet_ptr); - CORBA_PollableSet_var (const CORBA_PollableSet_var &); // copy constructor - ~CORBA_PollableSet_var (void); // destructor - - CORBA_PollableSet_var &operator= (CORBA_PollableSet_ptr); - CORBA_PollableSet_var &operator= (const CORBA_PollableSet_var &); - CORBA_PollableSet_ptr operator-> (void) const; - - operator const CORBA_PollableSet_ptr &() const; - operator CORBA_PollableSet_ptr &(); - // in, inout, out, _retn - CORBA_PollableSet_ptr in (void) const; - CORBA_PollableSet_ptr &inout (void); - CORBA_PollableSet_ptr &out (void); - CORBA_PollableSet_ptr _retn (void); - CORBA_PollableSet_ptr ptr (void) const; - -private: - CORBA_PollableSet_ptr ptr_; - // Unimplemented - prevents widening assignment. - CORBA_PollableSet_var (const TAO_Base_var &rhs); - CORBA_PollableSet_var &operator= (const TAO_Base_var &rhs); -}; - - -#endif /* end #if !defined */ - - -#if !defined (_CORBA_POLLABLESET___OUT_CH_) -#define _CORBA_POLLABLESET___OUT_CH_ - -class TAO_Export CORBA_PollableSet_out -{ -public: - CORBA_PollableSet_out (CORBA_PollableSet_ptr &); - CORBA_PollableSet_out (CORBA_PollableSet_var &); - CORBA_PollableSet_out (const CORBA_PollableSet_out &); - CORBA_PollableSet_out &operator= (const CORBA_PollableSet_out &); - CORBA_PollableSet_out &operator= (const CORBA_PollableSet_var &); - CORBA_PollableSet_out &operator= (CORBA_PollableSet_ptr); - operator CORBA_PollableSet_ptr &(); - CORBA_PollableSet_ptr &ptr (void); - CORBA_PollableSet_ptr operator-> (void); - -private: - CORBA_PollableSet_ptr &ptr_; -}; - - -#endif /* end #if !defined */ - - #if !defined (_CORBA_POLLABLESET_CH_) #define _CORBA_POLLABLESET_CH_ @@ -457,29 +440,35 @@ public: { public: - - NoPossiblePollable (void); // default ctor - NoPossiblePollable (const NoPossiblePollable &); // copy ctor - ~NoPossiblePollable (void); - NoPossiblePollable &operator= (const NoPossiblePollable &); - - - virtual void _raise (void); - - virtual void _tao_encode ( - TAO_OutputCDR &, - CORBA::Environment &) const; - virtual void _tao_decode ( - TAO_InputCDR &, - CORBA::Environment &); - - static NoPossiblePollable *_downcast (CORBA::Exception *); - - - // = TAO extension - static CORBA::Exception *_alloc (void); - -}; // exception CORBA_PollableSet::NoPossiblePollable + NoPossiblePollable (void); + // Default constructor. + + NoPossiblePollable (const NoPossiblePollable &); + // Copy constructor. + + ~NoPossiblePollable (void); + // Destructor. + + NoPossiblePollable &operator= (const NoPossiblePollable &); + + virtual void _raise (void); + + virtual void _tao_encode ( + TAO_OutputCDR &, + CORBA::Environment & + ) const; + + virtual void _tao_decode ( + TAO_InputCDR &, + CORBA::Environment & + ); + + static NoPossiblePollable *_downcast (CORBA::Exception *); + + + // = TAO extension. + static CORBA::Exception *_alloc (void); + }; // Exception CORBA_PollableSet::NoPossiblePollable. #endif /* end #if !defined */ @@ -488,33 +477,39 @@ public: #if !defined (_CORBA_POLLABLESET_UNKNOWNPOLLABLE_CH_) #define _CORBA_POLLABLESET_UNKNOWNPOLLABLE_CH_ -class TAO_Export UnknownPollable : public CORBA::UserException -{ -public: - - -UnknownPollable (void); // default ctor -UnknownPollable (const UnknownPollable &); // copy ctor -~UnknownPollable (void); -UnknownPollable &operator= (const UnknownPollable &); - - -virtual void _raise (void); - -virtual void _tao_encode ( - TAO_OutputCDR &, - CORBA::Environment &) const; -virtual void _tao_decode ( - TAO_InputCDR &, - CORBA::Environment &); - -static UnknownPollable *_downcast (CORBA::Exception *); - - -// = TAO extension -static CORBA::Exception *_alloc (void); + class TAO_Export UnknownPollable : public CORBA::UserException + { + public: -}; // exception CORBA_PollableSet::UnknownPollable + UnknownPollable (void); + // Default constructor. + + UnknownPollable (const UnknownPollable &); + // Copy constructor. + + ~UnknownPollable (void); + // Destructor. + + UnknownPollable &operator= (const UnknownPollable &); + + virtual void _raise (void); + + virtual void _tao_encode ( + TAO_OutputCDR &, + CORBA::Environment & + ) const; + + virtual void _tao_decode ( + TAO_InputCDR &, + CORBA::Environment & + ); + + static UnknownPollable *_downcast (CORBA::Exception *); + + + // = TAO extension. + static CORBA::Exception *_alloc (void); + }; // Exception CORBA_PollableSet::UnknownPollable. #endif /* end #if !defined */ @@ -570,6 +565,7 @@ virtual const char* _interface_repository_id (void) const; protected: CORBA_PollableSet (void); + virtual ~CORBA_PollableSet (void); private: CORBA_PollableSet (const CORBA_PollableSet &); @@ -594,6 +590,10 @@ private: #pragma warning(pop) #endif /* _MSC_VER */ +#if defined (__BORLANDC__) +#pragma option pop +#endif /* __BORLANDC__ */ + #endif /* TAO_HAS_AMI_POLLER == 1 */ #include "ace/post.h" |