2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 ACE_INLINE unsigned long
5 ACE_Dynamic_Message_Strategy::static_bit_field_mask () const
7 return static_bit_field_mask_;
9 // get static bit field mask
12 ACE_Dynamic_Message_Strategy::static_bit_field_mask (unsigned long ul)
14 static_bit_field_mask_ = ul;
16 // set static bit field mask
18 ACE_INLINE unsigned long
19 ACE_Dynamic_Message_Strategy::static_bit_field_shift () const
21 return static_bit_field_shift_;
23 // get left shift value to make room for static bit field
26 ACE_Dynamic_Message_Strategy::static_bit_field_shift (unsigned long ul)
28 static_bit_field_shift_ = ul;
30 // set left shift value to make room for static bit field
32 ACE_INLINE unsigned long
33 ACE_Dynamic_Message_Strategy::dynamic_priority_max () const
35 return dynamic_priority_max_;
37 // get maximum supported priority value
40 ACE_Dynamic_Message_Strategy::dynamic_priority_max (unsigned long ul)
42 // pending_shift_ depends on dynamic_priority_max_: for performance
43 // reasons, the value in pending_shift_ is (re)calculated only when
44 // dynamic_priority_max_ is initialized or changes, and is stored
45 // as a class member rather than being a derived value.
46 dynamic_priority_max_ = ul;
47 pending_shift_ = ACE_Time_Value (0, ul);
49 // set maximum supported priority value
51 ACE_INLINE unsigned long
52 ACE_Dynamic_Message_Strategy::dynamic_priority_offset () const
54 return dynamic_priority_offset_;
56 // get offset for boundary between signed range and unsigned range
59 ACE_Dynamic_Message_Strategy::dynamic_priority_offset (unsigned long ul)
61 // max_late_ and min_pending_ depend on dynamic_priority_offset_:
62 // for performance reasons, the values in max_late_ and min_pending_
63 // are (re)calculated only when dynamic_priority_offset_ is
64 // initialized or changes, and are stored as a class member rather
65 // than being derived each time one of their values is needed.
66 dynamic_priority_offset_ = ul;
67 max_late_ = ACE_Time_Value (0, ul - 1);
68 min_pending_ = ACE_Time_Value (0, ul);
70 // set offset for boundary between signed range and unsigned range
72 ACE_END_VERSIONED_NAMESPACE_DECL