summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/AV/Policy.i
blob: fb652bad800ee5b1add87b3b7fed530fd6e07d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/* -*- C++ -*- */
// $Id$
//--------------------------------------------------
// TAO_AV_Policy
//--------------------------------------------------

ACE_INLINE TAO_AV_Policy::PolicyType
TAO_AV_Policy::type (void)
{
  return this->type_;
}

//--------------------------------------------------
// TAO_AV_SSRC_Policy
//--------------------------------------------------

ACE_INLINE CORBA::ULong
TAO_AV_SSRC_Policy::value (void)
{
  return this->ssrc_;
}


ACE_INLINE void
TAO_AV_SSRC_Policy::value (CORBA::ULong ssrc)
{
  this->ssrc_ = ssrc;
}

//--------------------------------------------------
// TAO_AV_Payload_Type_Policy
//--------------------------------------------------
ACE_INLINE void
TAO_AV_Payload_Type_Policy::value (int pt)
{
  this->payload_type_ = pt;
}

ACE_INLINE int
TAO_AV_Payload_Type_Policy::value (void)
{
  return this->payload_type_;
}

// TAO_AV_Timestamp_Policy
ACE_INLINE void
TAO_AV_Timestamp_Policy::value (ACE_UINT32 timestamp)
{
  this->timestamp_ = timestamp;
}

ACE_INLINE ACE_UINT32
TAO_AV_Timestamp_Policy::value (void)
{
  return this->timestamp_;
}

//--------------------------------------------------
// TAO_AV_Protocol_Object
//--------------------------------------------------

ACE_INLINE TAO_AV_Transport*
TAO_AV_Protocol_Object::transport (void)
{
  return this->transport_;
}

ACE_INLINE void
TAO_AV_Protocol_Object::transport (TAO_AV_Transport *transport)
{
  this->transport_ = transport;
}

// TAO_AV_RTCP_Sdes_Policy
ACE_INLINE TAO_AV_Policy::sdes &
TAO_AV_RTCP_Sdes_Policy::value (void)
{
  return this->sdes_;
}

ACE_INLINE void
TAO_AV_RTCP_Sdes_Policy::value (const TAO_AV_Policy::sdes &sdes_val)
{
  this->sdes_ = sdes_val;
}