summaryrefslogtreecommitdiff
path: root/TAO/examples/RTScheduling/FP_SchedulingC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/RTScheduling/FP_SchedulingC.cpp')
-rw-r--r--TAO/examples/RTScheduling/FP_SchedulingC.cpp524
1 files changed, 0 insertions, 524 deletions
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
- );
-}