📄 mif_schedulingc.cpp
字号:
CORBA::Boolean
MIF_Scheduling::MIF_Scheduler::_is_a (
const char *value
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (
!ACE_OS::strcmp (
(char *)value,
"IDL:RTScheduling/Scheduler:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:MIF_Scheduling/MIF_Scheduler:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/LocalObject:1.0"
) ||
!ACE_OS::strcmp (
(char *)value,
"IDL:omg.org/CORBA/Object:1.0"
)
)
{
return 1; // success using local knowledge
}
else
{
return 0;
}
}
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 0;
}
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_MIF_Scheduling_MIF_Scheduler[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
37,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x4d49465f),
ACE_NTOHL (0x53636865),
ACE_NTOHL (0x64756c69),
ACE_NTOHL (0x6e672f4d),
ACE_NTOHL (0x49465f53),
ACE_NTOHL (0x63686564),
ACE_NTOHL (0x756c6572),
ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:MIF_Scheduling/MIF_Scheduler:1.0
14,
ACE_NTOHL (0x4d49465f),
ACE_NTOHL (0x53636865),
ACE_NTOHL (0x64756c65),
ACE_NTOHL (0x72000000), // name = MIF_Scheduler
};
static CORBA::TypeCode _tc_TAO_tc_MIF_Scheduling_MIF_Scheduler (
CORBA::tk_objref,
sizeof (_oc_MIF_Scheduling_MIF_Scheduler),
(char *) &_oc_MIF_Scheduling_MIF_Scheduler,
0,
sizeof (MIF_Scheduling::MIF_Scheduler)
);
namespace MIF_Scheduling
{
::CORBA::TypeCode_ptr _tc_MIF_Scheduler =
&_tc_TAO_tc_MIF_Scheduling_MIF_Scheduler;
}
// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50
ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<MIF_Scheduling::SegmentSchedulingParameterPolicy>::to_object (
CORBA::Object_ptr &_tao_elem
) const
{
_tao_elem = CORBA::Object::_duplicate (this->value_);
return 1;
}
ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<MIF_Scheduling::SegmentSchedulingParameterPolicy>::marshal_value (TAO_OutputCDR &)
{
return 0;
}
ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<MIF_Scheduling::SegmentSchedulingParameterPolicy>::demarshal_value (TAO_InputCDR &)
{
return 0;
}
// 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
ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<MIF_Scheduling::MIF_Scheduler>::to_object (
CORBA::Object_ptr &_tao_elem
) const
{
_tao_elem = CORBA::Object::_duplicate (this->value_);
return 1;
}
ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<MIF_Scheduling::MIF_Scheduler>::marshal_value (TAO_OutputCDR &)
{
return 0;
}
ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<MIF_Scheduling::MIF_Scheduler>::demarshal_value (TAO_InputCDR &)
{
return 0;
}
// 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
);
}
// TAO_IDL - Generated from
// be/be_visitor_root/root.cpp:1702
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
template class
TAO::Objref_Traits<
MIF_Scheduling::SegmentSchedulingParameterPolicy
>;
template class
TAO_Objref_Var_T<
MIF_Scheduling::SegmentSchedulingParameterPolicy
>;
template class
TAO_Objref_Out_T<
MIF_Scheduling::SegmentSchedulingParameterPolicy
>;
template class
TAO::Any_Impl_T<
MIF_Scheduling::SegmentSchedulingParameterPolicy
>;
template class
TAO::Objref_Traits<
MIF_Scheduling::MIF_Scheduler
>;
template class
TAO_Objref_Var_T<
MIF_Scheduling::MIF_Scheduler
>;
template class
TAO_Objref_Out_T<
MIF_Scheduling::MIF_Scheduler
>;
template class
TAO::Any_Impl_T<
MIF_Scheduling::MIF_Scheduler
>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
# pragma instantiate \
TAO::Objref_Traits< \
MIF_Scheduling::SegmentSchedulingParameterPolicy \
>
# pragma instantiate \
TAO_Objref_Var_T< \
MIF_Scheduling::SegmentSchedulingParameterPolicy
>
# pragma instantiate \
TAO_Objref_Out_T< \
MIF_Scheduling::SegmentSchedulingParameterPolicy
>
# pragma instantiate \
TAO::Any_Impl_T< \
MIF_Scheduling::SegmentSchedulingParameterPolicy \
>
# pragma instantiate \
TAO::Objref_Traits< \
MIF_Scheduling::MIF_Scheduler \
>
# pragma instantiate \
TAO_Objref_Var_T< \
MIF_Scheduling::MIF_Scheduler
>
# pragma instantiate \
TAO_Objref_Out_T< \
MIF_Scheduling::MIF_Scheduler
>
# pragma instantiate \
TAO::Any_Impl_T< \
MIF_Scheduling::MIF_Scheduler \
>
#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -