diff options
Diffstat (limited to 'ace/CORBA_Handler.i')
-rw-r--r-- | ace/CORBA_Handler.i | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ace/CORBA_Handler.i b/ace/CORBA_Handler.i new file mode 100644 index 00000000000..794b6da5d09 --- /dev/null +++ b/ace/CORBA_Handler.i @@ -0,0 +1,56 @@ +/* -*- C++ -*- */ +// $Id$ + +// CORBA_Handler.i + +#if defined (ACE_HAS_ORBIX) +// = Set/get the number of iterations per processNextEvent() call. + +/* static */ +ACE_INLINE size_t +ACE_ST_CORBA_Handler::iterations (void) +{ + ACE_TRACE ("ACE_ST_CORBA_Handler::iterations"); + return this->iterations_; +} + +/* static */ +ACE_INLINE void +ACE_ST_CORBA_Handler::iterations (size_t i) +{ + ACE_TRACE ("ACE_ST_CORBA_Handler::iterations"); + this->iterations_ = i; +} + +/* static */ +ACE_INLINE void +ACE_CORBA_Handler::reactor (ACE_Reactor *reactor) +{ + ACE_TRACE ("ACE_CORBA_Handler::reactor"); + this->reactor_ = reactor; +} + +/* static */ +ACE_INLINE ACE_Reactor * +ACE_CORBA_Handler::reactor (void) +{ + ACE_TRACE ("ACE_CORBA_Handler::reactor"); + return this->reactor_; +} + +#if defined (ACE_HAS_MT_ORBIX) +ACE_INLINE void +ACE_MT_CORBA_Handler::thr_mgr (ACE_Thread_Manager *tm) +{ + ACE_TRACE ("ACE_MT_CORBA_Handler::thr_mgr"); + this->thr_mgr_ = tm; +} + +ACE_INLINE ACE_Thread_Manager * +ACE_MT_CORBA_Handler::thr_mgr (void) const +{ + ACE_TRACE ("ACE_MT_CORBA_Handler::thr_mgr"); + return this->thr_mgr_; +} +#endif /* ACE_HAS_MT_ORBIX */ +#endif /* ACE_HAS_ORBIX */ |