summaryrefslogtreecommitdiff
path: root/ace/Timer_Wheel_T.cpp
diff options
context:
space:
mode:
authordoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-27 07:50:10 +0000
committerdoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-03-27 07:50:10 +0000
commit4da1a649f5d4ac7821d6b818ec3f4670f03e29dc (patch)
tree504a17114894e5e0b997cfbb021b3a77c823a4dd /ace/Timer_Wheel_T.cpp
parentee369a313236dd95dab05a276621d719f37df439 (diff)
downloadATCD-4da1a649f5d4ac7821d6b818ec3f4670f03e29dc.tar.gz
ChangeLogTag: Tue Mar 12 09:45:45 2001 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Timer_Wheel_T.cpp')
-rw-r--r--ace/Timer_Wheel_T.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ace/Timer_Wheel_T.cpp b/ace/Timer_Wheel_T.cpp
index 0b80a5994b8..fdbe32c705c 100644
--- a/ace/Timer_Wheel_T.cpp
+++ b/ace/Timer_Wheel_T.cpp
@@ -16,14 +16,14 @@ ACE_RCSID(ace, Timer_Wheel_T, "$Id$")
/**
- * Just initializes the iterator with a ACE_Timer_Wheel_T and then calls
+ * Just initializes the iterator with a ACE_Timer_Wheel_T and then calls
* first() to initialize the rest of itself.
- *
+ *
* @param wheel A reference for a timer queue to iterate over
*/
template <class TYPE, class FUNCTOR, class ACE_LOCK>
-ACE_Timer_Wheel_Iterator_T<TYPE,
- FUNCTOR,
+ACE_Timer_Wheel_Iterator_T<TYPE,
+ FUNCTOR,
ACE_LOCK>::ACE_Timer_Wheel_Iterator_T (
ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK> &wheel
)
@@ -37,8 +37,8 @@ ACE_Timer_Wheel_Iterator_T<TYPE,
* Destructor, at this level does nothing.
*/
template <class TYPE, class FUNCTOR, class ACE_LOCK>
-ACE_Timer_Wheel_Iterator_T<TYPE,
- FUNCTOR,
+ACE_Timer_Wheel_Iterator_T<TYPE,
+ FUNCTOR,
ACE_LOCK>::~ACE_Timer_Wheel_Iterator_T (void)
{
}
@@ -48,7 +48,7 @@ ACE_Timer_Wheel_Iterator_T<TYPE,
* Positions the iterator at the first position in the timing wheel
* that contains something. pos_ will be set to the position of this entry
* and list_item_ will point to the first entry in that position. Since
- * this is an iterator,
+ * this is an iterator,
*
* If the wheel is empty, pos_ will be equal timer_wheel_.wheel_size_ and
* list_item_ would be 0.
@@ -61,7 +61,7 @@ ACE_Timer_Wheel_Iterator_T<TYPE, FUNCTOR, ACE_LOCK>::first (void)
this->pos_++)
{
// Skip over empty entries
- if (this->timer_wheel_.wheel_[this->pos_]->get_next ()
+ if (this->timer_wheel_.wheel_[this->pos_]->get_next ()
!= this->timer_wheel_.wheel_[this->pos_])
{
this->list_item_ =
@@ -96,7 +96,7 @@ ACE_Timer_Wheel_Iterator_T<TYPE, FUNCTOR, ACE_LOCK>::next (void)
this->pos_++)
{
// Check for an empty entry
- if (this->timer_wheel_.wheel_[this->pos_]->get_next ()
+ if (this->timer_wheel_.wheel_[this->pos_]->get_next ()
!= this->timer_wheel_.wheel_[this->pos_])
{
this->list_item_ =
@@ -114,7 +114,7 @@ ACE_Timer_Wheel_Iterator_T<TYPE, FUNCTOR, ACE_LOCK>::next (void)
* @return True when we there isn't anymore items (when list_item_ == 0)
*/
template <class TYPE, class FUNCTOR, class ACE_LOCK> int
-ACE_Timer_Wheel_Iterator_T<TYPE, FUNCTOR, ACE_LOCK>::isdone (void)
+ACE_Timer_Wheel_Iterator_T<TYPE, FUNCTOR, ACE_LOCK>::isdone (void) const
{
return this->list_item_ == 0;
}