diff options
Diffstat (limited to 'CIAO/examples/Display/GPS/GPS_exec.h')
-rw-r--r-- | CIAO/examples/Display/GPS/GPS_exec.h | 54 |
1 files changed, 14 insertions, 40 deletions
diff --git a/CIAO/examples/Display/GPS/GPS_exec.h b/CIAO/examples/Display/GPS/GPS_exec.h index d4b8a0b777e..b6bd23a283b 100644 --- a/CIAO/examples/Display/GPS/GPS_exec.h +++ b/CIAO/examples/Display/GPS/GPS_exec.h @@ -36,43 +36,27 @@ namespace MyImpl ~GPS_exec_i (); // Operations from HUDisplay::GPS - HUDisplay::CCM_position_ptr get_MyLocation () - ACE_THROW_SPEC ((CORBA::SystemException)); + HUDisplay::CCM_position_ptr get_MyLocation (); - void push_Refresh (HUDisplay::tick *) - ACE_THROW_SPEC ((CORBA::SystemException)); + void push_Refresh (HUDisplay::tick *); // Operations from HUDisplay::position - CORBA::Long posx () - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Long posx (); - CORBA::Long posy () - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Long posy (); // Operations from Components::SessionComponent - void set_session_context (Components::SessionContext_ptr ctx) - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)); + void set_session_context (Components::SessionContext_ptr ctx); - void ciao_preactivate () - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)); + void ciao_preactivate (); - void ccm_activate () - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)); + void ccm_activate (); - void ciao_postactivate () - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)); + void ciao_postactivate (); - void ccm_passivate () - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)); + void ccm_passivate (); - void ccm_remove () - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)); + void ccm_remove (); protected: // Component specific context @@ -89,7 +73,7 @@ namespace MyImpl * GPS home executor implementation class. */ class GPS_EXEC_Export GPSHome_exec_i : - public virtual HUDisplay::CCM_GPSHome, + public virtual HUDisplay::CCM_GPSHome, public virtual TAO_Local_RefCounted_Object { public: @@ -99,16 +83,8 @@ namespace MyImpl /// Default dtor. ~GPSHome_exec_i (); - // Explicit home operations -/* virtual ::Components::EnterpriseComponent_ptr */ -/* new_GPS () */ -/* ACE_THROW_SPEC ((CORBA::SystemException)); */ - // Implicit home operations - virtual ::Components::EnterpriseComponent_ptr - create () - ACE_THROW_SPEC ((CORBA::SystemException, - Components::CCMException)); + virtual ::Components::EnterpriseComponent_ptr create (); }; @@ -122,11 +98,9 @@ namespace MyImpl } // Operations from HUDisplay::position - CORBA::Long posx () - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Long posx (); - CORBA::Long posy () - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Long posy (); private: GPS_exec_i& component_; |