diff options
Diffstat (limited to 'TAO/examples/Kokyu_dsrt_schedulers/FP_SchedulingC.i')
-rw-r--r-- | TAO/examples/Kokyu_dsrt_schedulers/FP_SchedulingC.i | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/TAO/examples/Kokyu_dsrt_schedulers/FP_SchedulingC.i b/TAO/examples/Kokyu_dsrt_schedulers/FP_SchedulingC.i new file mode 100644 index 00000000000..9ca1ba7b10f --- /dev/null +++ b/TAO/examples/Kokyu_dsrt_schedulers/FP_SchedulingC.i @@ -0,0 +1,121 @@ +// -*- 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_visitor_interface/interface_ci.cpp:63 + +#if !defined (_FP_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY___CI_) +#define _FP_SCHEDULING_SEGMENTSCHEDULINGPARAMETERPOLICY___CI_ + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<FP_Scheduling::SegmentSchedulingParameterPolicy>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<FP_Scheduling::SegmentSchedulingParameterPolicy>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<FP_Scheduling::SegmentSchedulingParameterPolicy>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +#endif /* end #if !defined */ + +// TAO_IDL - Generated from +// be/be_visitor_interface/interface_ci.cpp:63 + +#if !defined (_FP_SCHEDULING_FP_SCHEDULER___CI_) +#define _FP_SCHEDULING_FP_SCHEDULER___CI_ + +template<> +ACE_INLINE +CORBA::Boolean +TAO::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<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<FP_Scheduling::FP_Scheduler>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<FP_Scheduling::FP_Scheduler>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +#endif /* end #if !defined */ + +// TAO_IDL - Generated from +// be/be_visitor_structure/cdr_op_ci.cpp:70 + +ACE_INLINE +CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const FP_Scheduling::SegmentSchedulingParameter &_tao_aggregate + ) +{ + return + (strm << _tao_aggregate.base_priority); +} + +ACE_INLINE +CORBA::Boolean operator>> ( + TAO_InputCDR &strm, + FP_Scheduling::SegmentSchedulingParameter &_tao_aggregate + ) +{ + return + (strm >> _tao_aggregate.base_priority); +} + |