diff options
Diffstat (limited to 'TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.h')
-rw-r--r-- | TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.h | 88 |
1 files changed, 26 insertions, 62 deletions
diff --git a/TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.h b/TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.h index ee1f5371f55..18a16e78234 100644 --- a/TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.h +++ b/TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.h @@ -34,17 +34,13 @@ public MIF_Scheduling::SegmentSchedulingParameterPolicy, public TAO_Local_RefCounted_Object { public: - virtual CORBA::Short importance (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual CORBA::Short importance (void); - virtual void importance (CORBA::Short importance) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void importance (CORBA::Short importance); - CORBA::Policy_ptr copy (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Policy_ptr copy (void); - void destroy (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + void destroy (void); private: CORBA::Short importance_; @@ -64,8 +60,7 @@ public TAO_Local_RefCounted_Object virtual MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr - create_segment_scheduling_parameter (CORBA::Short segment_priority) - ACE_THROW_SPEC ((CORBA::SystemException)); + create_segment_scheduling_parameter (CORBA::Short segment_priority); void wait (void); @@ -76,94 +71,63 @@ public TAO_Local_RefCounted_Object virtual void begin_new_scheduling_segment (const RTScheduling::Current::IdType & guid, const char * name, CORBA::Policy_ptr sched_param, - CORBA::Policy_ptr implicit_sched_param) - ACE_THROW_SPEC ((CORBA::SystemException, - RTScheduling::Current::UNSUPPORTED_SCHEDULING_DISCIPLINE)); + CORBA::Policy_ptr implicit_sched_param); virtual void begin_nested_scheduling_segment (const RTScheduling::Current::IdType & guid, const char * name, CORBA::Policy_ptr sched_param, - CORBA::Policy_ptr implicit_sched_param) - ACE_THROW_SPEC ((CORBA::SystemException, - RTScheduling::Current::UNSUPPORTED_SCHEDULING_DISCIPLINE)); + CORBA::Policy_ptr implicit_sched_param); virtual void update_scheduling_segment (const RTScheduling::Current::IdType & guid, const char * name, CORBA::Policy_ptr sched_param, - CORBA::Policy_ptr implicit_sched_param) - ACE_THROW_SPEC ((CORBA::SystemException, - RTScheduling::Current::UNSUPPORTED_SCHEDULING_DISCIPLINE)); + CORBA::Policy_ptr implicit_sched_param); virtual void end_scheduling_segment (const RTScheduling::Current::IdType & guid, - const char * name) - ACE_THROW_SPEC ((CORBA::SystemException)); + const char * name); virtual void end_nested_scheduling_segment (const RTScheduling::Current::IdType & guid, const char * name, - CORBA::Policy_ptr outer_sched_param) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Policy_ptr outer_sched_param); - virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableInterceptor::ForwardRequest)); + virtual void send_request (PortableInterceptor::ClientRequestInfo_ptr ri); virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri, RTScheduling::Current::IdType_out guid, CORBA::String_out name, CORBA::Policy_out sched_param, - CORBA::Policy_out implicit_sched_param) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableInterceptor::ForwardRequest)); + CORBA::Policy_out implicit_sched_param); - virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void send_reply (PortableInterceptor::ServerRequestInfo_ptr ri); - virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableInterceptor::ForwardRequest)); + virtual void send_exception (PortableInterceptor::ServerRequestInfo_ptr ri); - virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr ri) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableInterceptor::ForwardRequest)); + virtual void send_other (PortableInterceptor::ServerRequestInfo_ptr ri); - virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr ri) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableInterceptor::ForwardRequest)); + virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr ri); - virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void receive_reply (PortableInterceptor::ClientRequestInfo_ptr ri); - virtual void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableInterceptor::ForwardRequest)); + virtual void receive_exception (PortableInterceptor::ClientRequestInfo_ptr ri); - virtual void receive_other (PortableInterceptor::ClientRequestInfo_ptr ri) - ACE_THROW_SPEC ((CORBA::SystemException, - PortableInterceptor::ForwardRequest)); + virtual void receive_other (PortableInterceptor::ClientRequestInfo_ptr ri); - virtual void cancel (const RTScheduling::Current::IdType & guid) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void cancel (const RTScheduling::Current::IdType & guid); - virtual CORBA::PolicyList * scheduling_policies (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual CORBA::PolicyList * scheduling_policies (void); - virtual void scheduling_policies (const CORBA::PolicyList & scheduling_policies) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void scheduling_policies (const CORBA::PolicyList & scheduling_policies); - virtual CORBA::PolicyList * poa_policies (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual CORBA::PolicyList * poa_policies (void); - virtual char * scheduling_discipline_name (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual char * scheduling_discipline_name (void); virtual RTScheduling::ResourceManager_ptr create_resource_manager (const char * name, - CORBA::Policy_ptr scheduling_parameter) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Policy_ptr scheduling_parameter); virtual void set_scheduling_parameter (PortableServer::Servant & resource, const char * name, - CORBA::Policy_ptr scheduling_parameter) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Policy_ptr scheduling_parameter); private: RTScheduling::Current_var current_; |