00001 // -*- C++ -*- 00002 // 00003 // $Id: Policy.inl 73791 2006-07-27 20:54:56Z wotte $ 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 //-------------------------------------------------- 00008 // TAO_AV_Policy 00009 //-------------------------------------------------- 00010 00011 ACE_INLINE CORBA::ULong 00012 TAO_AV_Policy::type (void) 00013 { 00014 return this->type_; 00015 } 00016 00017 //-------------------------------------------------- 00018 // TAO_AV_SSRC_Policy 00019 //-------------------------------------------------- 00020 00021 ACE_INLINE CORBA::ULong 00022 TAO_AV_SSRC_Policy::value (void) 00023 { 00024 return this->ssrc_; 00025 } 00026 00027 00028 ACE_INLINE void 00029 TAO_AV_SSRC_Policy::value (CORBA::ULong ssrc) 00030 { 00031 this->ssrc_ = ssrc; 00032 } 00033 00034 //-------------------------------------------------- 00035 // TAO_AV_Payload_Type_Policy 00036 //-------------------------------------------------- 00037 ACE_INLINE void 00038 TAO_AV_Payload_Type_Policy::value (int pt) 00039 { 00040 this->payload_type_ = pt; 00041 } 00042 00043 ACE_INLINE int 00044 TAO_AV_Payload_Type_Policy::value (void) 00045 { 00046 return this->payload_type_; 00047 } 00048 00049 00050 // TAO_AV_RTCP_Sdes_Policy 00051 ACE_INLINE TAO_AV_RTCP_Sdes & 00052 TAO_AV_RTCP_Sdes_Policy::value (void) 00053 { 00054 return this->sdes_; 00055 } 00056 00057 ACE_INLINE void 00058 TAO_AV_RTCP_Sdes_Policy::value (const TAO_AV_RTCP_Sdes &sdes_val) 00059 { 00060 this->sdes_ = sdes_val; 00061 } 00062 00063 //---------------------------------------------------------------------- 00064 // TAO_AV_SFP_Credit_Policy 00065 //---------------------------------------------------------------------- 00066 00067 ACE_INLINE 00068 void 00069 TAO_AV_SFP_Credit_Policy::value (int credit) 00070 { 00071 this->value_ = credit; 00072 } 00073 00074 ACE_INLINE 00075 int 00076 TAO_AV_SFP_Credit_Policy::value (void) 00077 { 00078 return this->value_; 00079 } 00080 00081 TAO_END_VERSIONED_NAMESPACE_DECL