Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / examples / ASX / UPIPE_Event_Server / Options.inl
blob8d9e9b5c663e83cc5aa43d3a8c51067ef13dc6d8
1 /* -*- C++ -*- */
2 // Option manager for ustreams.
4 // Since this is only included in Options.h these should stay
5 // inline, not ACE_INLINE.
6 // FUZZ: disable check_for_inline
9 inline void
10 Options::supplier_port (const ACE_TCHAR *port)
12   this->supplier_port_ = port;
15 inline const ACE_TCHAR *
16 Options::supplier_port ()
18   return this->supplier_port_;
21 inline void
22 Options::supplier_file (const ACE_TCHAR *file)
24   this->supplier_file_ = file;
27 inline const ACE_TCHAR *
28 Options::supplier_file ()
30   return this->supplier_file_;
33 inline void
34 Options::consumer_file (const ACE_TCHAR *file)
36   this->consumer_file_ = file;
39 inline const ACE_TCHAR *
40 Options::consumer_file ()
42   return this->consumer_file_;
45 inline void
46 Options::consumer_port (const ACE_TCHAR *port)
48   this->consumer_port_ = port;
51 inline const ACE_TCHAR *
52 Options::consumer_port ()
54   return this->consumer_port_;
57 inline void
58 Options::start_timer ()
60   this->itimer_.start ();
63 inline void
64 Options::stop_timer ()
66   this->itimer_.stop ();
69 inline void
70 Options::thr_count (size_t count)
72   this->thr_count_ = count;
75 inline size_t
76 Options::thr_count ()
78   return this->thr_count_;
81 inline void
82 Options::initial_queue_length (size_t length)
84   this->initial_queue_length_ = length;
87 inline size_t
88 Options::initial_queue_length ()
90   return this->initial_queue_length_;
93 inline void
94 Options::high_water_mark (size_t size)
96   this->high_water_mark_ = size;
99 inline size_t
100 Options::high_water_mark ()
102   return this->high_water_mark_;
105 inline void
106 Options::low_water_mark (size_t size)
108   this->low_water_mark_ = size;
111 inline size_t
112 Options::low_water_mark ()
114   return this->low_water_mark_;
117 inline void
118 Options::message_size (size_t size)
120   this->message_size_ = size;
123 inline size_t
124 Options::message_size ()
126   return this->message_size_;
129 inline void
130 Options::iterations (size_t n)
132   this->iterations_ = n;
135 inline size_t
136 Options::iterations ()
138   return this->iterations_;
141 inline void
142 Options::t_flags (long flag)
144   this->t_flags_ |= flag;
147 inline long
148 Options::t_flags ()
150   return this->t_flags_;
153 inline int
154 Options::debug ()
156   return this->debugging_;
159 inline int
160 Options::verbose ()
162   return this->verbosity_;