summaryrefslogtreecommitdiff
path: root/ace/Future.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2002-04-23 06:03:30 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2002-04-23 06:03:30 +0000
commit5571051365ffae85c3da76db1c7e32c546e72dbf (patch)
tree06656e7520c6923c4f61e1ae9622fa4d30c63c10 /ace/Future.h
parentee9a20ecfaa1438fe4b64468825d4711d6711002 (diff)
downloadATCD-5571051365ffae85c3da76db1c7e32c546e72dbf.tar.gz
ChangeLogTag: Tue Apr 23 07:50:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Future.h')
-rw-r--r--ace/Future.h36
1 files changed, 16 insertions, 20 deletions
diff --git a/ace/Future.h b/ace/Future.h
index 5f4920e1abd..e5c5545fbf0 100644
--- a/ace/Future.h
+++ b/ace/Future.h
@@ -116,10 +116,9 @@ private:
ACE_Time_Value *tv) const;
/**
- * Attaches the specified observer to a subject (i.e. the
- * <ACE_Future_Rep>). The update method of the specified subject will
- * be invoked with a copy of the written-to <ACE_Future> as input when
- * the result gets set.
+ * Attaches the specified observer to a subject (i.e. the <ACE_Future_Rep>).
+ * The update method of the specified subject will be invoked with a copy of
+ * the written-to <ACE_Future> as input when the result gets set.
*
* Returns 0 if the observer is successfully attached, 1 if the
* observer is already attached, and -1 if failures occur.
@@ -128,11 +127,10 @@ private:
ACE_Future<T> &caller);
/**
- * Detaches the specified observer from a subject (i.e. the
- * <ACE_Future_Rep>). The update method of the specified subject will
- * not be invoked when the <ACE_Future_Rep>s result gets set. Returns
- * 1 if the specified observer was actually attached to the subject
- * prior to this call and 0 if was not.
+ * Detaches the specified observer from a subject (i.e. the <ACE_Future_Rep>).
+ * The update method of the specified subject will not be invoked when the
+ * <ACE_Future_Rep>s result gets set. Returns 1 if the specified observer was
+ * actually attached to the subject prior to this call and 0 if was not.
*
* Returns 0 if the observer was successfully detached, and -1 if the
* observer was not attached in the first place.
@@ -305,12 +303,11 @@ public:
int ready (void) const;
/**
- * Attaches the specified observer to a subject (i.e. the
- * <ACE_Future>). The update method of the specified subject will be
- * invoked with a copy of the associated <ACE_Future> as input when
- * the result gets set. If the result is already set when this
- * method gets invoked, then the update method of the specified
- * subject will be invoked immediately.
+ * Attaches the specified observer to a subject (i.e. the <ACE_Future>).
+ * The update method of the specified subject will be invoked with a copy of
+ * the associated <ACE_Future> as input when the result gets set. If the
+ * result is already set when this method gets invoked, then the update
+ * method of the specified subject will be invoked immediately.
*
* Returns 0 if the observer is successfully attached, 1 if the
* observer is already attached, and -1 if failures occur.
@@ -318,11 +315,10 @@ public:
int attach (ACE_Future_Observer<T> *observer);
/**
- * Detaches the specified observer from a subject (i.e. the
- * <ACE_Future_Rep>). The update method of the specified subject will
- * not be invoked when the <ACE_Future_Reps> result gets set. Returns
- * 1 if the specified observer was actually attached to the subject
- * prior to this call and 0 if was not.
+ * Detaches the specified observer from a subject (i.e. the <ACE_Future_Rep>).
+ * The update method of the specified subject will not be invoked when the
+ * <ACE_Future_Reps> result gets set. Returns 1 if the specified observer
+ * was actually attached to the subject prior to this call and 0 if was not.
*
* Returns 0 if the observer was successfully detached, and -1 if the
* observer was not attached in the first place.