summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-05-02 18:38:58 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-05-02 18:38:58 +0000
commit78e1a97702801ac5a131bb79aeb1f98d52793478 (patch)
treea4d20442ca5f865e1a659f8d22f0521c0715988f
parent5990bca832f320e3e8263feb8299c541e5d04a77 (diff)
downloadATCD-78e1a97702801ac5a131bb79aeb1f98d52793478.tar.gz
ChangeLogTag: Mon May 2 13:57:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--TAO/examples/RTScheduling/FP_Scheduling.idl (renamed from TAO/examples/RTScheduling/FP_Scheduling.pidl)1
-rw-r--r--TAO/examples/RTScheduling/FP_SchedulingC.cpp524
-rw-r--r--TAO/examples/RTScheduling/FP_SchedulingC.h400
-rw-r--r--TAO/examples/RTScheduling/Fixed_Priority_Scheduler/Fixed_Priority_Scheduler.mpc1
-rw-r--r--TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.mpc11
-rw-r--r--TAO/examples/RTScheduling/MIF_Scheduling.idl (renamed from TAO/examples/RTScheduling/MIF_Scheduling.pidl)1
-rw-r--r--TAO/examples/RTScheduling/MIF_SchedulingC.cpp524
-rw-r--r--TAO/examples/RTScheduling/MIF_SchedulingC.h400
8 files changed, 9 insertions, 1853 deletions
diff --git a/TAO/examples/RTScheduling/FP_Scheduling.pidl b/TAO/examples/RTScheduling/FP_Scheduling.idl
index b7ec8bb38bc..8d50919a74b 100644
--- a/TAO/examples/RTScheduling/FP_Scheduling.pidl
+++ b/TAO/examples/RTScheduling/FP_Scheduling.idl
@@ -1,4 +1,5 @@
//$Id$
+
#include "tao/RTScheduling/RTScheduler_include.pidl"
#include "tao/RTCORBA/RTCORBA_include.pidl"
diff --git a/TAO/examples/RTScheduling/FP_SchedulingC.cpp b/TAO/examples/RTScheduling/FP_SchedulingC.cpp
deleted file mode 100644
index 1c2d9af9c3b..00000000000
--- a/TAO/examples/RTScheduling/FP_SchedulingC.cpp
+++ /dev/null
@@ -1,524 +0,0 @@
-// -*- 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/
-// and
-// Institute for Software Integrated Systems
-// Vanderbilt University
-// Nashville, TN
-// USA
-// http://www.isis.vanderbilt.edu/
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-// TAO_IDL - Generated from
-// be\be_codegen.cpp:302
-
-
-#include "FP_SchedulingC.h"
-#include "tao/CDR.h"
-#include "tao/Null_RefCount_Policy.h"
-#include "tao/TypeCode_Constants.h"
-#include "tao/Alias_TypeCode.h"
-#include "tao/Objref_TypeCode.h"
-#include "tao/String_TypeCode.h"
-#include "tao/Any_Impl_T.h"
-#include "tao/Basic_Arguments.h"
-#include "ace/OS_NS_string.h"
-
-#if defined (__BORLANDC__)
-#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
-#endif /* __BORLANDC__ */
-
-// TAO_IDL - Generated from
-// be\be_visitor_arg_traits.cpp:69
-
-// Arg traits specializations.
-namespace TAO
-{
-}
-
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/interface_cs.cpp:60
-
-// Traits specializations for FP_Scheduling::SegmentSchedulingParameterPolicy.
-
-FP_Scheduling::SegmentSchedulingParameterPolicy_ptr
-TAO::Objref_Traits<FP_Scheduling::SegmentSchedulingParameterPolicy>::duplicate (
- FP_Scheduling::SegmentSchedulingParameterPolicy_ptr p
- )
-{
- return FP_Scheduling::SegmentSchedulingParameterPolicy::_duplicate (p);
-}
-
-void
-TAO::Objref_Traits<FP_Scheduling::SegmentSchedulingParameterPolicy>::release (
- FP_Scheduling::SegmentSchedulingParameterPolicy_ptr p
- )
-{
- CORBA::release (p);
-}
-
-FP_Scheduling::SegmentSchedulingParameterPolicy_ptr
-TAO::Objref_Traits<FP_Scheduling::SegmentSchedulingParameterPolicy>::nil (void)
-{
- return FP_Scheduling::SegmentSchedulingParameterPolicy::_nil ();
-}
-
-CORBA::Boolean
-TAO::Objref_Traits<FP_Scheduling::SegmentSchedulingParameterPolicy>::marshal (
- FP_Scheduling::SegmentSchedulingParameterPolicy_ptr p,
- TAO_OutputCDR & cdr
- )
-{
- return CORBA::Object::marshal (p, cdr);
-}
-
-FP_Scheduling::SegmentSchedulingParameterPolicy::SegmentSchedulingParameterPolicy (void)
-{}
-
-FP_Scheduling::SegmentSchedulingParameterPolicy::~SegmentSchedulingParameterPolicy (void)
-{}
-
-void
-FP_Scheduling::SegmentSchedulingParameterPolicy::_tao_any_destructor (void *_tao_void_pointer)
-{
- SegmentSchedulingParameterPolicy *_tao_tmp_pointer =
- static_cast<SegmentSchedulingParameterPolicy *> (_tao_void_pointer);
- CORBA::release (_tao_tmp_pointer);
-}
-
-FP_Scheduling::SegmentSchedulingParameterPolicy_ptr
-FP_Scheduling::SegmentSchedulingParameterPolicy::_narrow (
- CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (_tao_objref))
- {
- return SegmentSchedulingParameterPolicy::_nil ();
- }
-
- SegmentSchedulingParameterPolicy_ptr proxy =
- dynamic_cast<SegmentSchedulingParameterPolicy_ptr> (_tao_objref);
-
- return SegmentSchedulingParameterPolicy::_duplicate (proxy);
-}
-
-FP_Scheduling::SegmentSchedulingParameterPolicy_ptr
-FP_Scheduling::SegmentSchedulingParameterPolicy::_unchecked_narrow (
- CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (_tao_objref))
- {
- return SegmentSchedulingParameterPolicy::_nil ();
- }
-
- SegmentSchedulingParameterPolicy_ptr proxy =
- dynamic_cast<SegmentSchedulingParameterPolicy_ptr> (_tao_objref);
-
- return SegmentSchedulingParameterPolicy::_duplicate (proxy);
-}
-
-FP_Scheduling::SegmentSchedulingParameterPolicy_ptr
-FP_Scheduling::SegmentSchedulingParameterPolicy::_duplicate (SegmentSchedulingParameterPolicy_ptr obj)
-{
- if (! CORBA::is_nil (obj))
- {
- obj->_add_ref ();
- }
-
- return obj;
-}
-
-void
-FP_Scheduling::SegmentSchedulingParameterPolicy::_tao_release (SegmentSchedulingParameterPolicy_ptr obj)
-{
- CORBA::release (obj);
-}
-
-CORBA::Boolean
-FP_Scheduling::SegmentSchedulingParameterPolicy::_is_a (
- const char *value
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/Policy:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:FP_Scheduling/SegmentSchedulingParameterPolicy:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/LocalObject:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/Object:1.0"
- )
- )
- {
- return true; // success using local knowledge
- }
- else
- {
- return false;
- }
-}
-
-const char* FP_Scheduling::SegmentSchedulingParameterPolicy::_interface_repository_id (void) const
-{
- return "IDL:FP_Scheduling/SegmentSchedulingParameterPolicy:1.0";
-}
-
-CORBA::Boolean
-FP_Scheduling::SegmentSchedulingParameterPolicy::marshal (TAO_OutputCDR &)
-{
- return false;
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_typecode/objref_typecode.cpp:73
-
-static TAO::TypeCode::Objref<char const *,
- CORBA::tk_local_interface,
- TAO::Null_RefCount_Policy>
- _tao_tc_FP_Scheduling_SegmentSchedulingParameterPolicy (
- "IDL:FP_Scheduling/SegmentSchedulingParameterPolicy:1.0",
- "SegmentSchedulingParameterPolicy");
-
-namespace FP_Scheduling
-{
- ::CORBA::TypeCode_ptr const _tc_SegmentSchedulingParameterPolicy =
- &_tao_tc_FP_Scheduling_SegmentSchedulingParameterPolicy;
-}
-
-
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/interface_cs.cpp:60
-
-// Traits specializations for FP_Scheduling::FP_Scheduler.
-
-FP_Scheduling::FP_Scheduler_ptr
-TAO::Objref_Traits<FP_Scheduling::FP_Scheduler>::duplicate (
- FP_Scheduling::FP_Scheduler_ptr p
- )
-{
- return FP_Scheduling::FP_Scheduler::_duplicate (p);
-}
-
-void
-TAO::Objref_Traits<FP_Scheduling::FP_Scheduler>::release (
- FP_Scheduling::FP_Scheduler_ptr p
- )
-{
- CORBA::release (p);
-}
-
-FP_Scheduling::FP_Scheduler_ptr
-TAO::Objref_Traits<FP_Scheduling::FP_Scheduler>::nil (void)
-{
- return FP_Scheduling::FP_Scheduler::_nil ();
-}
-
-CORBA::Boolean
-TAO::Objref_Traits<FP_Scheduling::FP_Scheduler>::marshal (
- FP_Scheduling::FP_Scheduler_ptr p,
- TAO_OutputCDR & cdr
- )
-{
- return CORBA::Object::marshal (p, cdr);
-}
-
-FP_Scheduling::FP_Scheduler::FP_Scheduler (void)
-{}
-
-FP_Scheduling::FP_Scheduler::~FP_Scheduler (void)
-{}
-
-void
-FP_Scheduling::FP_Scheduler::_tao_any_destructor (void *_tao_void_pointer)
-{
- FP_Scheduler *_tao_tmp_pointer =
- static_cast<FP_Scheduler *> (_tao_void_pointer);
- CORBA::release (_tao_tmp_pointer);
-}
-
-FP_Scheduling::FP_Scheduler_ptr
-FP_Scheduling::FP_Scheduler::_narrow (
- CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (_tao_objref))
- {
- return FP_Scheduler::_nil ();
- }
-
- FP_Scheduler_ptr proxy =
- dynamic_cast<FP_Scheduler_ptr> (_tao_objref);
-
- return FP_Scheduler::_duplicate (proxy);
-}
-
-FP_Scheduling::FP_Scheduler_ptr
-FP_Scheduling::FP_Scheduler::_unchecked_narrow (
- CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (_tao_objref))
- {
- return FP_Scheduler::_nil ();
- }
-
- FP_Scheduler_ptr proxy =
- dynamic_cast<FP_Scheduler_ptr> (_tao_objref);
-
- return FP_Scheduler::_duplicate (proxy);
-}
-
-FP_Scheduling::FP_Scheduler_ptr
-FP_Scheduling::FP_Scheduler::_duplicate (FP_Scheduler_ptr obj)
-{
- if (! CORBA::is_nil (obj))
- {
- obj->_add_ref ();
- }
-
- return obj;
-}
-
-void
-FP_Scheduling::FP_Scheduler::_tao_release (FP_Scheduler_ptr obj)
-{
- CORBA::release (obj);
-}
-
-CORBA::Boolean
-FP_Scheduling::FP_Scheduler::_is_a (
- const char *value
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (
- !ACE_OS::strcmp (
- value,
- "IDL:RTScheduling/Scheduler:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:FP_Scheduling/FP_Scheduler:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/LocalObject:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/Object:1.0"
- )
- )
- {
- return true; // success using local knowledge
- }
- else
- {
- return false;
- }
-}
-
-const char* FP_Scheduling::FP_Scheduler::_interface_repository_id (void) const
-{
- return "IDL:FP_Scheduling/FP_Scheduler:1.0";
-}
-
-CORBA::Boolean
-FP_Scheduling::FP_Scheduler::marshal (TAO_OutputCDR &)
-{
- return false;
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_typecode/objref_typecode.cpp:73
-
-static TAO::TypeCode::Objref<char const *,
- CORBA::tk_local_interface,
- TAO::Null_RefCount_Policy>
- _tao_tc_FP_Scheduling_FP_Scheduler (
- "IDL:FP_Scheduling/FP_Scheduler:1.0",
- "FP_Scheduler");
-
-namespace FP_Scheduling
-{
- ::CORBA::TypeCode_ptr const _tc_FP_Scheduler =
- &_tao_tc_FP_Scheduling_FP_Scheduler;
-}
-
-
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/any_op_cs.cpp:50
-
-namespace TAO
-{
- template<>
- CORBA::Boolean
- Any_Impl_T<FP_Scheduling::SegmentSchedulingParameterPolicy>::to_object (
- CORBA::Object_ptr &_tao_elem
- ) const
- {
- _tao_elem = CORBA::Object::_duplicate (this->value_);
- return 1;
- }
-
- template<>
- CORBA::Boolean
- Any_Impl_T<FP_Scheduling::SegmentSchedulingParameterPolicy>::marshal_value (TAO_OutputCDR &)
- {
- return false;
- }
-
- template<>
- CORBA::Boolean
- Any_Impl_T<FP_Scheduling::SegmentSchedulingParameterPolicy>::demarshal_value (TAO_InputCDR &)
- {
- return false;
- }
-}
-
-// Copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- FP_Scheduling::SegmentSchedulingParameterPolicy_ptr _tao_elem
- )
-{
- FP_Scheduling::SegmentSchedulingParameterPolicy_ptr _tao_objptr =
- FP_Scheduling::SegmentSchedulingParameterPolicy::_duplicate (_tao_elem);
- _tao_any <<= &_tao_objptr;
-}
-
-// Non-copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- FP_Scheduling::SegmentSchedulingParameterPolicy_ptr *_tao_elem
- )
-{
- TAO::Any_Impl_T<FP_Scheduling::SegmentSchedulingParameterPolicy>::insert (
- _tao_any,
- FP_Scheduling::SegmentSchedulingParameterPolicy::_tao_any_destructor,
- FP_Scheduling::_tc_SegmentSchedulingParameterPolicy,
- *_tao_elem
- );
-}
-
-CORBA::Boolean
-operator>>= (
- const CORBA::Any &_tao_any,
- FP_Scheduling::SegmentSchedulingParameterPolicy_ptr &_tao_elem
- )
-{
- return
- TAO::Any_Impl_T<FP_Scheduling::SegmentSchedulingParameterPolicy>::extract (
- _tao_any,
- FP_Scheduling::SegmentSchedulingParameterPolicy::_tao_any_destructor,
- FP_Scheduling::_tc_SegmentSchedulingParameterPolicy,
- _tao_elem
- );
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/any_op_cs.cpp:50
-
-namespace TAO
-{
- template<>
- CORBA::Boolean
- Any_Impl_T<FP_Scheduling::FP_Scheduler>::to_object (
- CORBA::Object_ptr &_tao_elem
- ) const
- {
- _tao_elem = CORBA::Object::_duplicate (this->value_);
- return 1;
- }
-
- template<>
- CORBA::Boolean
- Any_Impl_T<FP_Scheduling::FP_Scheduler>::marshal_value (TAO_OutputCDR &)
- {
- return false;
- }
-
- template<>
- CORBA::Boolean
- Any_Impl_T<FP_Scheduling::FP_Scheduler>::demarshal_value (TAO_InputCDR &)
- {
- return false;
- }
-}
-
-// Copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- FP_Scheduling::FP_Scheduler_ptr _tao_elem
- )
-{
- FP_Scheduling::FP_Scheduler_ptr _tao_objptr =
- FP_Scheduling::FP_Scheduler::_duplicate (_tao_elem);
- _tao_any <<= &_tao_objptr;
-}
-
-// Non-copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- FP_Scheduling::FP_Scheduler_ptr *_tao_elem
- )
-{
- TAO::Any_Impl_T<FP_Scheduling::FP_Scheduler>::insert (
- _tao_any,
- FP_Scheduling::FP_Scheduler::_tao_any_destructor,
- FP_Scheduling::_tc_FP_Scheduler,
- *_tao_elem
- );
-}
-
-CORBA::Boolean
-operator>>= (
- const CORBA::Any &_tao_any,
- FP_Scheduling::FP_Scheduler_ptr &_tao_elem
- )
-{
- return
- TAO::Any_Impl_T<FP_Scheduling::FP_Scheduler>::extract (
- _tao_any,
- FP_Scheduling::FP_Scheduler::_tao_any_destructor,
- FP_Scheduling::_tc_FP_Scheduler,
- _tao_elem
- );
-}
diff --git a/TAO/examples/RTScheduling/FP_SchedulingC.h b/TAO/examples/RTScheduling/FP_SchedulingC.h
deleted file mode 100644
index f3ad08acf91..00000000000
--- a/TAO/examples/RTScheduling/FP_SchedulingC.h
+++ /dev/null
@@ -1,400 +0,0 @@
-// -*- 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/
-// and
-// Institute for Software Integrated Systems
-// Vanderbilt University
-// Nashville, TN
-// USA
-// http://www.isis.vanderbilt.edu/
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-// TAO_IDL - Generated from
-// be\be_codegen.cpp:153
-
-#ifndef _TAO_IDL_FP_SCHEDULINGC_H_
-#define _TAO_IDL_FP_SCHEDULINGC_H_
-
-
-#include "ace/config-all.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/ORB.h"
-#include "tao/SystemException.h"
-#include "tao/Environment.h"
-#include "tao/Object.h"
-#include "tao/Objref_VarOut_T.h"
-
-#include "tao/RTScheduling/RTScheduler_includeC.h"
-#include "tao/RTCORBA/RTCORBA_includeC.h"
-
-#if defined (TAO_EXPORT_MACRO)
-#undef TAO_EXPORT_MACRO
-#endif
-#define TAO_EXPORT_MACRO
-
-#if defined (TAO_EXPORT_NESTED_CLASSES)
-# if defined (TAO_EXPORT_NESTED_MACRO)
-# undef TAO_EXPORT_NESTED_MACRO
-# endif /* defined (TAO_EXPORT_NESTED_MACRO) */
-# define TAO_EXPORT_NESTED_MACRO
-#endif /* TAO_EXPORT_NESTED_CLASSES */
-
-#if defined(_MSC_VER)
-#pragma warning(push)
-#pragma warning(disable:4250)
-#endif /* _MSC_VER */
-
-#if defined (__BORLANDC__)
-#pragma option push -w-rvl -w-rch -w-ccc -w-inl
-#endif /* __BORLANDC__ */
-
-// TAO_IDL - Generated from
-// be\be_visitor_root/root_ch.cpp:62
-
-namespace TAO
-{
- class Collocation_Proxy_Broker;
-
- template<typename T> class Narrow_Utils;
- template<typename T> class AbstractBase_Narrow_Utils;
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_module/module_ch.cpp:48
-
-namespace FP_Scheduling
-{
-
- // TAO_IDL - Generated from
- // be\be_interface.cpp:598
-
-#if !defined (_FP_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY__VAR_OUT_CH_)
-#define _FP_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY__VAR_OUT_CH_
-
- class SegmentSchedulingParameterPolicy;
- typedef SegmentSchedulingParameterPolicy *SegmentSchedulingParameterPolicy_ptr;
-
- typedef
- TAO_Objref_Var_T<
- SegmentSchedulingParameterPolicy
- >
- SegmentSchedulingParameterPolicy_var;
-
- typedef
- TAO_Objref_Out_T<
- SegmentSchedulingParameterPolicy
- >
- SegmentSchedulingParameterPolicy_out;
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:54
-
-#if !defined (_FP_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY_CH_)
-#define _FP_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY_CH_
-
- class SegmentSchedulingParameterPolicy
- : public virtual ::CORBA::Policy
- {
- public:
- typedef SegmentSchedulingParameterPolicy_ptr _ptr_type;
- typedef SegmentSchedulingParameterPolicy_var _var_type;
-
- // The static operations.
- static SegmentSchedulingParameterPolicy_ptr _duplicate (SegmentSchedulingParameterPolicy_ptr obj);
-
- static void _tao_release (SegmentSchedulingParameterPolicy_ptr obj);
-
- static SegmentSchedulingParameterPolicy_ptr _narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static SegmentSchedulingParameterPolicy_ptr _unchecked_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static SegmentSchedulingParameterPolicy_ptr _nil (void)
- {
- return static_cast<SegmentSchedulingParameterPolicy_ptr> (0);
- }
-
- static void _tao_any_destructor (void *);
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual RTCORBA::Priority value (
- ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual void value (
- ::RTCORBA::Priority value
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual ::CORBA::Policy_ptr copy (
- ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual void destroy (
- ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:210
-
- virtual CORBA::Boolean _is_a (
- const char *type_id
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- virtual const char* _interface_repository_id (void) const;
- virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
- protected:
- // Abstract or local interface only.
- SegmentSchedulingParameterPolicy (void);
-
- virtual ~SegmentSchedulingParameterPolicy (void);
-
- private:
- // Private and unimplemented for concrete interfaces.
- SegmentSchedulingParameterPolicy (const SegmentSchedulingParameterPolicy &);
-
- void operator= (const SegmentSchedulingParameterPolicy &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr const _tc_SegmentSchedulingParameterPolicy;
-
- // TAO_IDL - Generated from
- // be\be_interface.cpp:598
-
-#if !defined (_FP_SCHEDULING_FP_SCHEDULER__VAR_OUT_CH_)
-#define _FP_SCHEDULING_FP_SCHEDULER__VAR_OUT_CH_
-
- class FP_Scheduler;
- typedef FP_Scheduler *FP_Scheduler_ptr;
-
- typedef
- TAO_Objref_Var_T<
- FP_Scheduler
- >
- FP_Scheduler_var;
-
- typedef
- TAO_Objref_Out_T<
- FP_Scheduler
- >
- FP_Scheduler_out;
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:54
-
-#if !defined (_FP_SCHEDULING_FP_SCHEDULER_CH_)
-#define _FP_SCHEDULING_FP_SCHEDULER_CH_
-
- class FP_Scheduler
- : public virtual ::RTScheduling::Scheduler
- {
- public:
- typedef FP_Scheduler_ptr _ptr_type;
- typedef FP_Scheduler_var _var_type;
-
- // The static operations.
- static FP_Scheduler_ptr _duplicate (FP_Scheduler_ptr obj);
-
- static void _tao_release (FP_Scheduler_ptr obj);
-
- static FP_Scheduler_ptr _narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static FP_Scheduler_ptr _unchecked_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static FP_Scheduler_ptr _nil (void)
- {
- return static_cast<FP_Scheduler_ptr> (0);
- }
-
- static void _tao_any_destructor (void *);
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual ::FP_Scheduling::SegmentSchedulingParameterPolicy_ptr create_segment_scheduling_parameter (
- ::RTCORBA::Priority segment_priority
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:210
-
- virtual CORBA::Boolean _is_a (
- const char *type_id
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- virtual const char* _interface_repository_id (void) const;
- virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
- protected:
- // Abstract or local interface only.
- FP_Scheduler (void);
-
- virtual ~FP_Scheduler (void);
-
- private:
- // Private and unimplemented for concrete interfaces.
- FP_Scheduler (const FP_Scheduler &);
-
- void operator= (const FP_Scheduler &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr const _tc_FP_Scheduler;
-
-// TAO_IDL - Generated from
-// be\be_visitor_module/module_ch.cpp:66
-
-} // module FP_Scheduling
-
-// TAO_IDL - Generated from
-// be\be_visitor_traits.cpp:59
-
-// Traits specializations.
-namespace TAO
-{
-
-#if !defined (_FP_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY__TRAITS_CH_)
-#define _FP_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY__TRAITS_CH_
-
- template<>
- struct Objref_Traits< ::FP_Scheduling::SegmentSchedulingParameterPolicy>
- {
- static ::FP_Scheduling::SegmentSchedulingParameterPolicy_ptr duplicate (
- ::FP_Scheduling::SegmentSchedulingParameterPolicy_ptr
- );
- static void release (
- ::FP_Scheduling::SegmentSchedulingParameterPolicy_ptr
- );
- static ::FP_Scheduling::SegmentSchedulingParameterPolicy_ptr nil (void);
- static CORBA::Boolean marshal (
- ::FP_Scheduling::SegmentSchedulingParameterPolicy_ptr p,
- TAO_OutputCDR & cdr
- );
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_FP_SCHEDULING_FP_SCHEDULER__TRAITS_CH_)
-#define _FP_SCHEDULING_FP_SCHEDULER__TRAITS_CH_
-
- template<>
- struct Objref_Traits< ::FP_Scheduling::FP_Scheduler>
- {
- static ::FP_Scheduling::FP_Scheduler_ptr duplicate (
- ::FP_Scheduling::FP_Scheduler_ptr
- );
- static void release (
- ::FP_Scheduling::FP_Scheduler_ptr
- );
- static ::FP_Scheduling::FP_Scheduler_ptr nil (void);
- static CORBA::Boolean marshal (
- ::FP_Scheduling::FP_Scheduler_ptr p,
- TAO_OutputCDR & cdr
- );
- };
-
-#endif /* end #if !defined */
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/any_op_ch.cpp:52
-
- void operator<<= (CORBA::Any &, FP_Scheduling::SegmentSchedulingParameterPolicy_ptr); // copying
- void operator<<= (CORBA::Any &, FP_Scheduling::SegmentSchedulingParameterPolicy_ptr *); // non-copying
- CORBA::Boolean operator>>= (const CORBA::Any &, FP_Scheduling::SegmentSchedulingParameterPolicy_ptr &);
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/any_op_ch.cpp:52
-
- void operator<<= (CORBA::Any &, FP_Scheduling::FP_Scheduler_ptr); // copying
- void operator<<= (CORBA::Any &, FP_Scheduling::FP_Scheduler_ptr *); // non-copying
- CORBA::Boolean operator>>= (const CORBA::Any &, FP_Scheduling::FP_Scheduler_ptr &);
-
-// TAO_IDL - Generated from
-// be\be_codegen.cpp:969
-
-#if defined(_MSC_VER)
-#pragma warning(pop)
-#endif /* _MSC_VER */
-
-#if defined (__BORLANDC__)
-#pragma option pop
-#endif /* __BORLANDC__ */
-
-#endif /* ifndef */
-
-
diff --git a/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/Fixed_Priority_Scheduler.mpc b/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/Fixed_Priority_Scheduler.mpc
index 9cc693a70c1..b29a76501c9 100644
--- a/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/Fixed_Priority_Scheduler.mpc
+++ b/TAO/examples/RTScheduling/Fixed_Priority_Scheduler/Fixed_Priority_Scheduler.mpc
@@ -23,6 +23,7 @@ project(*test) : namingexe, rtscheduling_server {
IDL_Files {
../Synch.idl
../Job.idl
+ ../FP_Scheduling.idl
}
Source_Files {
test.cpp
diff --git a/TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.mpc b/TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.mpc
index 528386d496c..1f77c6cc45e 100644
--- a/TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.mpc
+++ b/TAO/examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.mpc
@@ -3,13 +3,13 @@
project(*Starter): namingexe, rtscheduling_server {
idlflags += -o ..
-
+
IDL_Files {
../Synch.idl
}
-
+
Source_Files {
- ../Starter.cpp
+ ../Starter.cpp
../Synch_i.cpp
../SynchC.cpp
../SynchS.cpp
@@ -20,12 +20,13 @@ project(*Starter): namingexe, rtscheduling_server {
project(*test) : namingexe, rtscheduling_server {
idlflags += -o ..
-
+
IDL_Files {
../Synch.idl
../Job.idl
+ ../MIF_Scheduling.idl
}
-
+
Source_Files {
test.cpp
MIF_DT_Creator.cpp
diff --git a/TAO/examples/RTScheduling/MIF_Scheduling.pidl b/TAO/examples/RTScheduling/MIF_Scheduling.idl
index 884e71432b4..9d1705268c5 100644
--- a/TAO/examples/RTScheduling/MIF_Scheduling.pidl
+++ b/TAO/examples/RTScheduling/MIF_Scheduling.idl
@@ -1,4 +1,5 @@
//$Id$
+
#include "tao/RTScheduling/RTScheduler_include.pidl"
#include "tao/RTCORBA/RTCORBA_include.pidl"
diff --git a/TAO/examples/RTScheduling/MIF_SchedulingC.cpp b/TAO/examples/RTScheduling/MIF_SchedulingC.cpp
deleted file mode 100644
index fbfc431dec0..00000000000
--- a/TAO/examples/RTScheduling/MIF_SchedulingC.cpp
+++ /dev/null
@@ -1,524 +0,0 @@
-// -*- 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/
-// and
-// Institute for Software Integrated Systems
-// Vanderbilt University
-// Nashville, TN
-// USA
-// http://www.isis.vanderbilt.edu/
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-// TAO_IDL - Generated from
-// be\be_codegen.cpp:302
-
-
-#include "MIF_SchedulingC.h"
-#include "tao/CDR.h"
-#include "tao/Null_RefCount_Policy.h"
-#include "tao/TypeCode_Constants.h"
-#include "tao/Alias_TypeCode.h"
-#include "tao/Objref_TypeCode.h"
-#include "tao/String_TypeCode.h"
-#include "tao/Any_Impl_T.h"
-#include "tao/Basic_Arguments.h"
-#include "ace/OS_NS_string.h"
-
-#if defined (__BORLANDC__)
-#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
-#endif /* __BORLANDC__ */
-
-// TAO_IDL - Generated from
-// be\be_visitor_arg_traits.cpp:69
-
-// Arg traits specializations.
-namespace TAO
-{
-}
-
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/interface_cs.cpp:60
-
-// Traits specializations for MIF_Scheduling::SegmentSchedulingParameterPolicy.
-
-MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr
-TAO::Objref_Traits<MIF_Scheduling::SegmentSchedulingParameterPolicy>::duplicate (
- MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr p
- )
-{
- return MIF_Scheduling::SegmentSchedulingParameterPolicy::_duplicate (p);
-}
-
-void
-TAO::Objref_Traits<MIF_Scheduling::SegmentSchedulingParameterPolicy>::release (
- MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr p
- )
-{
- CORBA::release (p);
-}
-
-MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr
-TAO::Objref_Traits<MIF_Scheduling::SegmentSchedulingParameterPolicy>::nil (void)
-{
- return MIF_Scheduling::SegmentSchedulingParameterPolicy::_nil ();
-}
-
-CORBA::Boolean
-TAO::Objref_Traits<MIF_Scheduling::SegmentSchedulingParameterPolicy>::marshal (
- MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr p,
- TAO_OutputCDR & cdr
- )
-{
- return CORBA::Object::marshal (p, cdr);
-}
-
-MIF_Scheduling::SegmentSchedulingParameterPolicy::SegmentSchedulingParameterPolicy (void)
-{}
-
-MIF_Scheduling::SegmentSchedulingParameterPolicy::~SegmentSchedulingParameterPolicy (void)
-{}
-
-void
-MIF_Scheduling::SegmentSchedulingParameterPolicy::_tao_any_destructor (void *_tao_void_pointer)
-{
- SegmentSchedulingParameterPolicy *_tao_tmp_pointer =
- static_cast<SegmentSchedulingParameterPolicy *> (_tao_void_pointer);
- CORBA::release (_tao_tmp_pointer);
-}
-
-MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr
-MIF_Scheduling::SegmentSchedulingParameterPolicy::_narrow (
- CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (_tao_objref))
- {
- return SegmentSchedulingParameterPolicy::_nil ();
- }
-
- SegmentSchedulingParameterPolicy_ptr proxy =
- dynamic_cast<SegmentSchedulingParameterPolicy_ptr> (_tao_objref);
-
- return SegmentSchedulingParameterPolicy::_duplicate (proxy);
-}
-
-MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr
-MIF_Scheduling::SegmentSchedulingParameterPolicy::_unchecked_narrow (
- CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (_tao_objref))
- {
- return SegmentSchedulingParameterPolicy::_nil ();
- }
-
- SegmentSchedulingParameterPolicy_ptr proxy =
- dynamic_cast<SegmentSchedulingParameterPolicy_ptr> (_tao_objref);
-
- return SegmentSchedulingParameterPolicy::_duplicate (proxy);
-}
-
-MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr
-MIF_Scheduling::SegmentSchedulingParameterPolicy::_duplicate (SegmentSchedulingParameterPolicy_ptr obj)
-{
- if (! CORBA::is_nil (obj))
- {
- obj->_add_ref ();
- }
-
- return obj;
-}
-
-void
-MIF_Scheduling::SegmentSchedulingParameterPolicy::_tao_release (SegmentSchedulingParameterPolicy_ptr obj)
-{
- CORBA::release (obj);
-}
-
-CORBA::Boolean
-MIF_Scheduling::SegmentSchedulingParameterPolicy::_is_a (
- const char *value
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/Policy:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:MIF_Scheduling/SegmentSchedulingParameterPolicy:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/LocalObject:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/Object:1.0"
- )
- )
- {
- return true; // success using local knowledge
- }
- else
- {
- return false;
- }
-}
-
-const char* MIF_Scheduling::SegmentSchedulingParameterPolicy::_interface_repository_id (void) const
-{
- return "IDL:MIF_Scheduling/SegmentSchedulingParameterPolicy:1.0";
-}
-
-CORBA::Boolean
-MIF_Scheduling::SegmentSchedulingParameterPolicy::marshal (TAO_OutputCDR &)
-{
- return false;
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_typecode/objref_typecode.cpp:73
-
-static TAO::TypeCode::Objref<char const *,
- CORBA::tk_local_interface,
- TAO::Null_RefCount_Policy>
- _tao_tc_MIF_Scheduling_SegmentSchedulingParameterPolicy (
- "IDL:MIF_Scheduling/SegmentSchedulingParameterPolicy:1.0",
- "SegmentSchedulingParameterPolicy");
-
-namespace MIF_Scheduling
-{
- ::CORBA::TypeCode_ptr const _tc_SegmentSchedulingParameterPolicy =
- &_tao_tc_MIF_Scheduling_SegmentSchedulingParameterPolicy;
-}
-
-
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/interface_cs.cpp:60
-
-// Traits specializations for MIF_Scheduling::MIF_Scheduler.
-
-MIF_Scheduling::MIF_Scheduler_ptr
-TAO::Objref_Traits<MIF_Scheduling::MIF_Scheduler>::duplicate (
- MIF_Scheduling::MIF_Scheduler_ptr p
- )
-{
- return MIF_Scheduling::MIF_Scheduler::_duplicate (p);
-}
-
-void
-TAO::Objref_Traits<MIF_Scheduling::MIF_Scheduler>::release (
- MIF_Scheduling::MIF_Scheduler_ptr p
- )
-{
- CORBA::release (p);
-}
-
-MIF_Scheduling::MIF_Scheduler_ptr
-TAO::Objref_Traits<MIF_Scheduling::MIF_Scheduler>::nil (void)
-{
- return MIF_Scheduling::MIF_Scheduler::_nil ();
-}
-
-CORBA::Boolean
-TAO::Objref_Traits<MIF_Scheduling::MIF_Scheduler>::marshal (
- MIF_Scheduling::MIF_Scheduler_ptr p,
- TAO_OutputCDR & cdr
- )
-{
- return CORBA::Object::marshal (p, cdr);
-}
-
-MIF_Scheduling::MIF_Scheduler::MIF_Scheduler (void)
-{}
-
-MIF_Scheduling::MIF_Scheduler::~MIF_Scheduler (void)
-{}
-
-void
-MIF_Scheduling::MIF_Scheduler::_tao_any_destructor (void *_tao_void_pointer)
-{
- MIF_Scheduler *_tao_tmp_pointer =
- static_cast<MIF_Scheduler *> (_tao_void_pointer);
- CORBA::release (_tao_tmp_pointer);
-}
-
-MIF_Scheduling::MIF_Scheduler_ptr
-MIF_Scheduling::MIF_Scheduler::_narrow (
- CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (_tao_objref))
- {
- return MIF_Scheduler::_nil ();
- }
-
- MIF_Scheduler_ptr proxy =
- dynamic_cast<MIF_Scheduler_ptr> (_tao_objref);
-
- return MIF_Scheduler::_duplicate (proxy);
-}
-
-MIF_Scheduling::MIF_Scheduler_ptr
-MIF_Scheduling::MIF_Scheduler::_unchecked_narrow (
- CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (CORBA::is_nil (_tao_objref))
- {
- return MIF_Scheduler::_nil ();
- }
-
- MIF_Scheduler_ptr proxy =
- dynamic_cast<MIF_Scheduler_ptr> (_tao_objref);
-
- return MIF_Scheduler::_duplicate (proxy);
-}
-
-MIF_Scheduling::MIF_Scheduler_ptr
-MIF_Scheduling::MIF_Scheduler::_duplicate (MIF_Scheduler_ptr obj)
-{
- if (! CORBA::is_nil (obj))
- {
- obj->_add_ref ();
- }
-
- return obj;
-}
-
-void
-MIF_Scheduling::MIF_Scheduler::_tao_release (MIF_Scheduler_ptr obj)
-{
- CORBA::release (obj);
-}
-
-CORBA::Boolean
-MIF_Scheduling::MIF_Scheduler::_is_a (
- const char *value
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (
- !ACE_OS::strcmp (
- value,
- "IDL:RTScheduling/Scheduler:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:MIF_Scheduling/MIF_Scheduler:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/LocalObject:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/Object:1.0"
- )
- )
- {
- return true; // success using local knowledge
- }
- else
- {
- return false;
- }
-}
-
-const char* MIF_Scheduling::MIF_Scheduler::_interface_repository_id (void) const
-{
- return "IDL:MIF_Scheduling/MIF_Scheduler:1.0";
-}
-
-CORBA::Boolean
-MIF_Scheduling::MIF_Scheduler::marshal (TAO_OutputCDR &)
-{
- return false;
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_typecode/objref_typecode.cpp:73
-
-static TAO::TypeCode::Objref<char const *,
- CORBA::tk_local_interface,
- TAO::Null_RefCount_Policy>
- _tao_tc_MIF_Scheduling_MIF_Scheduler (
- "IDL:MIF_Scheduling/MIF_Scheduler:1.0",
- "MIF_Scheduler");
-
-namespace MIF_Scheduling
-{
- ::CORBA::TypeCode_ptr const _tc_MIF_Scheduler =
- &_tao_tc_MIF_Scheduling_MIF_Scheduler;
-}
-
-
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/any_op_cs.cpp:50
-
-namespace TAO
-{
- template<>
- CORBA::Boolean
- Any_Impl_T<MIF_Scheduling::SegmentSchedulingParameterPolicy>::to_object (
- CORBA::Object_ptr &_tao_elem
- ) const
- {
- _tao_elem = CORBA::Object::_duplicate (this->value_);
- return 1;
- }
-
- template<>
- CORBA::Boolean
- Any_Impl_T<MIF_Scheduling::SegmentSchedulingParameterPolicy>::marshal_value (TAO_OutputCDR &)
- {
- return false;
- }
-
- template<>
- CORBA::Boolean
- Any_Impl_T<MIF_Scheduling::SegmentSchedulingParameterPolicy>::demarshal_value (TAO_InputCDR &)
- {
- return false;
- }
-}
-
-// Copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr _tao_elem
- )
-{
- MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr _tao_objptr =
- MIF_Scheduling::SegmentSchedulingParameterPolicy::_duplicate (_tao_elem);
- _tao_any <<= &_tao_objptr;
-}
-
-// Non-copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr *_tao_elem
- )
-{
- TAO::Any_Impl_T<MIF_Scheduling::SegmentSchedulingParameterPolicy>::insert (
- _tao_any,
- MIF_Scheduling::SegmentSchedulingParameterPolicy::_tao_any_destructor,
- MIF_Scheduling::_tc_SegmentSchedulingParameterPolicy,
- *_tao_elem
- );
-}
-
-CORBA::Boolean
-operator>>= (
- const CORBA::Any &_tao_any,
- MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr &_tao_elem
- )
-{
- return
- TAO::Any_Impl_T<MIF_Scheduling::SegmentSchedulingParameterPolicy>::extract (
- _tao_any,
- MIF_Scheduling::SegmentSchedulingParameterPolicy::_tao_any_destructor,
- MIF_Scheduling::_tc_SegmentSchedulingParameterPolicy,
- _tao_elem
- );
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/any_op_cs.cpp:50
-
-namespace TAO
-{
- template<>
- CORBA::Boolean
- Any_Impl_T<MIF_Scheduling::MIF_Scheduler>::to_object (
- CORBA::Object_ptr &_tao_elem
- ) const
- {
- _tao_elem = CORBA::Object::_duplicate (this->value_);
- return 1;
- }
-
- template<>
- CORBA::Boolean
- Any_Impl_T<MIF_Scheduling::MIF_Scheduler>::marshal_value (TAO_OutputCDR &)
- {
- return false;
- }
-
- template<>
- CORBA::Boolean
- Any_Impl_T<MIF_Scheduling::MIF_Scheduler>::demarshal_value (TAO_InputCDR &)
- {
- return false;
- }
-}
-
-// Copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- MIF_Scheduling::MIF_Scheduler_ptr _tao_elem
- )
-{
- MIF_Scheduling::MIF_Scheduler_ptr _tao_objptr =
- MIF_Scheduling::MIF_Scheduler::_duplicate (_tao_elem);
- _tao_any <<= &_tao_objptr;
-}
-
-// Non-copying insertion.
-void
-operator<<= (
- CORBA::Any &_tao_any,
- MIF_Scheduling::MIF_Scheduler_ptr *_tao_elem
- )
-{
- TAO::Any_Impl_T<MIF_Scheduling::MIF_Scheduler>::insert (
- _tao_any,
- MIF_Scheduling::MIF_Scheduler::_tao_any_destructor,
- MIF_Scheduling::_tc_MIF_Scheduler,
- *_tao_elem
- );
-}
-
-CORBA::Boolean
-operator>>= (
- const CORBA::Any &_tao_any,
- MIF_Scheduling::MIF_Scheduler_ptr &_tao_elem
- )
-{
- return
- TAO::Any_Impl_T<MIF_Scheduling::MIF_Scheduler>::extract (
- _tao_any,
- MIF_Scheduling::MIF_Scheduler::_tao_any_destructor,
- MIF_Scheduling::_tc_MIF_Scheduler,
- _tao_elem
- );
-}
diff --git a/TAO/examples/RTScheduling/MIF_SchedulingC.h b/TAO/examples/RTScheduling/MIF_SchedulingC.h
deleted file mode 100644
index 1adc8bffc0e..00000000000
--- a/TAO/examples/RTScheduling/MIF_SchedulingC.h
+++ /dev/null
@@ -1,400 +0,0 @@
-// -*- 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/
-// and
-// Institute for Software Integrated Systems
-// Vanderbilt University
-// Nashville, TN
-// USA
-// http://www.isis.vanderbilt.edu/
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-// TAO_IDL - Generated from
-// be\be_codegen.cpp:153
-
-#ifndef _TAO_IDL_MIF_SCHEDULINGC_H_
-#define _TAO_IDL_MIF_SCHEDULINGC_H_
-
-
-#include "ace/config-all.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/ORB.h"
-#include "tao/SystemException.h"
-#include "tao/Environment.h"
-#include "tao/Object.h"
-#include "tao/Objref_VarOut_T.h"
-
-#include "tao/RTScheduling/RTScheduler_includeC.h"
-#include "tao/RTCORBA/RTCORBA_includeC.h"
-
-#if defined (TAO_EXPORT_MACRO)
-#undef TAO_EXPORT_MACRO
-#endif
-#define TAO_EXPORT_MACRO
-
-#if defined (TAO_EXPORT_NESTED_CLASSES)
-# if defined (TAO_EXPORT_NESTED_MACRO)
-# undef TAO_EXPORT_NESTED_MACRO
-# endif /* defined (TAO_EXPORT_NESTED_MACRO) */
-# define TAO_EXPORT_NESTED_MACRO
-#endif /* TAO_EXPORT_NESTED_CLASSES */
-
-#if defined(_MSC_VER)
-#pragma warning(push)
-#pragma warning(disable:4250)
-#endif /* _MSC_VER */
-
-#if defined (__BORLANDC__)
-#pragma option push -w-rvl -w-rch -w-ccc -w-inl
-#endif /* __BORLANDC__ */
-
-// TAO_IDL - Generated from
-// be\be_visitor_root/root_ch.cpp:62
-
-namespace TAO
-{
- class Collocation_Proxy_Broker;
-
- template<typename T> class Narrow_Utils;
- template<typename T> class AbstractBase_Narrow_Utils;
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_module/module_ch.cpp:48
-
-namespace MIF_Scheduling
-{
-
- // TAO_IDL - Generated from
- // be\be_interface.cpp:598
-
-#if !defined (_MIF_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY__VAR_OUT_CH_)
-#define _MIF_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY__VAR_OUT_CH_
-
- class SegmentSchedulingParameterPolicy;
- typedef SegmentSchedulingParameterPolicy *SegmentSchedulingParameterPolicy_ptr;
-
- typedef
- TAO_Objref_Var_T<
- SegmentSchedulingParameterPolicy
- >
- SegmentSchedulingParameterPolicy_var;
-
- typedef
- TAO_Objref_Out_T<
- SegmentSchedulingParameterPolicy
- >
- SegmentSchedulingParameterPolicy_out;
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:54
-
-#if !defined (_MIF_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY_CH_)
-#define _MIF_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY_CH_
-
- class SegmentSchedulingParameterPolicy
- : public virtual ::CORBA::Policy
- {
- public:
- typedef SegmentSchedulingParameterPolicy_ptr _ptr_type;
- typedef SegmentSchedulingParameterPolicy_var _var_type;
-
- // The static operations.
- static SegmentSchedulingParameterPolicy_ptr _duplicate (SegmentSchedulingParameterPolicy_ptr obj);
-
- static void _tao_release (SegmentSchedulingParameterPolicy_ptr obj);
-
- static SegmentSchedulingParameterPolicy_ptr _narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static SegmentSchedulingParameterPolicy_ptr _unchecked_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static SegmentSchedulingParameterPolicy_ptr _nil (void)
- {
- return static_cast<SegmentSchedulingParameterPolicy_ptr> (0);
- }
-
- static void _tao_any_destructor (void *);
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual CORBA::Short importance (
- ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual void importance (
- ::CORBA::Short importance
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual ::CORBA::Policy_ptr copy (
- ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual void destroy (
- ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:210
-
- virtual CORBA::Boolean _is_a (
- const char *type_id
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- virtual const char* _interface_repository_id (void) const;
- virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
- protected:
- // Abstract or local interface only.
- SegmentSchedulingParameterPolicy (void);
-
- virtual ~SegmentSchedulingParameterPolicy (void);
-
- private:
- // Private and unimplemented for concrete interfaces.
- SegmentSchedulingParameterPolicy (const SegmentSchedulingParameterPolicy &);
-
- void operator= (const SegmentSchedulingParameterPolicy &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr const _tc_SegmentSchedulingParameterPolicy;
-
- // TAO_IDL - Generated from
- // be\be_interface.cpp:598
-
-#if !defined (_MIF_SCHEDULING_MIF_SCHEDULER__VAR_OUT_CH_)
-#define _MIF_SCHEDULING_MIF_SCHEDULER__VAR_OUT_CH_
-
- class MIF_Scheduler;
- typedef MIF_Scheduler *MIF_Scheduler_ptr;
-
- typedef
- TAO_Objref_Var_T<
- MIF_Scheduler
- >
- MIF_Scheduler_var;
-
- typedef
- TAO_Objref_Out_T<
- MIF_Scheduler
- >
- MIF_Scheduler_out;
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:54
-
-#if !defined (_MIF_SCHEDULING_MIF_SCHEDULER_CH_)
-#define _MIF_SCHEDULING_MIF_SCHEDULER_CH_
-
- class MIF_Scheduler
- : public virtual ::RTScheduling::Scheduler
- {
- public:
- typedef MIF_Scheduler_ptr _ptr_type;
- typedef MIF_Scheduler_var _var_type;
-
- // The static operations.
- static MIF_Scheduler_ptr _duplicate (MIF_Scheduler_ptr obj);
-
- static void _tao_release (MIF_Scheduler_ptr obj);
-
- static MIF_Scheduler_ptr _narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static MIF_Scheduler_ptr _unchecked_narrow (
- CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- static MIF_Scheduler_ptr _nil (void)
- {
- return static_cast<MIF_Scheduler_ptr> (0);
- }
-
- static void _tao_any_destructor (void *);
-
- // TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
-
- virtual ::MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr create_segment_scheduling_parameter (
- ::CORBA::Short segment_importance
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- // TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:210
-
- virtual CORBA::Boolean _is_a (
- const char *type_id
- ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- virtual const char* _interface_repository_id (void) const;
- virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
-
- protected:
- // Abstract or local interface only.
- MIF_Scheduler (void);
-
- virtual ~MIF_Scheduler (void);
-
- private:
- // Private and unimplemented for concrete interfaces.
- MIF_Scheduler (const MIF_Scheduler &);
-
- void operator= (const MIF_Scheduler &);
- };
-
-#endif /* end #if !defined */
-
- // TAO_IDL - Generated from
- // be\be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr const _tc_MIF_Scheduler;
-
-// TAO_IDL - Generated from
-// be\be_visitor_module/module_ch.cpp:66
-
-} // module MIF_Scheduling
-
-// TAO_IDL - Generated from
-// be\be_visitor_traits.cpp:59
-
-// Traits specializations.
-namespace TAO
-{
-
-#if !defined (_MIF_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY__TRAITS_CH_)
-#define _MIF_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY__TRAITS_CH_
-
- template<>
- struct Objref_Traits< ::MIF_Scheduling::SegmentSchedulingParameterPolicy>
- {
- static ::MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr duplicate (
- ::MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr
- );
- static void release (
- ::MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr
- );
- static ::MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr nil (void);
- static CORBA::Boolean marshal (
- ::MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr p,
- TAO_OutputCDR & cdr
- );
- };
-
-#endif /* end #if !defined */
-
-#if !defined (_MIF_SCHEDULING_MIF_SCHEDULER__TRAITS_CH_)
-#define _MIF_SCHEDULING_MIF_SCHEDULER__TRAITS_CH_
-
- template<>
- struct Objref_Traits< ::MIF_Scheduling::MIF_Scheduler>
- {
- static ::MIF_Scheduling::MIF_Scheduler_ptr duplicate (
- ::MIF_Scheduling::MIF_Scheduler_ptr
- );
- static void release (
- ::MIF_Scheduling::MIF_Scheduler_ptr
- );
- static ::MIF_Scheduling::MIF_Scheduler_ptr nil (void);
- static CORBA::Boolean marshal (
- ::MIF_Scheduling::MIF_Scheduler_ptr p,
- TAO_OutputCDR & cdr
- );
- };
-
-#endif /* end #if !defined */
-}
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/any_op_ch.cpp:52
-
- void operator<<= (CORBA::Any &, MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr); // copying
- void operator<<= (CORBA::Any &, MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr *); // non-copying
- CORBA::Boolean operator>>= (const CORBA::Any &, MIF_Scheduling::SegmentSchedulingParameterPolicy_ptr &);
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/any_op_ch.cpp:52
-
- void operator<<= (CORBA::Any &, MIF_Scheduling::MIF_Scheduler_ptr); // copying
- void operator<<= (CORBA::Any &, MIF_Scheduling::MIF_Scheduler_ptr *); // non-copying
- CORBA::Boolean operator>>= (const CORBA::Any &, MIF_Scheduling::MIF_Scheduler_ptr &);
-
-// TAO_IDL - Generated from
-// be\be_codegen.cpp:969
-
-#if defined(_MSC_VER)
-#pragma warning(pop)
-#endif /* _MSC_VER */
-
-#if defined (__BORLANDC__)
-#pragma option pop
-#endif /* __BORLANDC__ */
-
-#endif /* ifndef */
-
-