summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2002-11-12 13:15:52 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2002-11-12 13:15:52 +0000
commitfc6d6ad81ba672bfa7e6bf77426ce236d9affabc (patch)
treeae84285d3716cf33c6a04bbe40d5082788c09353
parented9e0df84c24bfc64047e2af74e79d4e2c4a3711 (diff)
downloadATCD-fc6d6ad81ba672bfa7e6bf77426ce236d9affabc.tar.gz
ChangeLogTag: Tue Nov 12 13:14:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLogs/ChangeLog-03a5
-rw-r--r--ace/Message_Queue_T.h56
3 files changed, 39 insertions, 27 deletions
diff --git a/ChangeLog b/ChangeLog
index d73d90007bd..ba17a6a8d93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Nov 12 14:15:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * ace/Message_Queue_T.h:
+ Doxygen documentation improvements.
+
Mon Nov 11 20:37:18 2002 Ossama Othman <ossama@uci.edu>
* bin/auto_run_tests.lst:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index d73d90007bd..ba17a6a8d93 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,8 @@
+Tue Nov 12 14:15:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * ace/Message_Queue_T.h:
+ Doxygen documentation improvements.
+
Mon Nov 11 20:37:18 2002 Ossama Othman <ossama@uci.edu>
* bin/auto_run_tests.lst:
diff --git a/ace/Message_Queue_T.h b/ace/Message_Queue_T.h
index f0e0d34a0f7..140f03d6064 100644
--- a/ace/Message_Queue_T.h
+++ b/ace/Message_Queue_T.h
@@ -105,7 +105,7 @@ public:
/**
* This method holds the queue lock during this operation.
*
- * @retval The number of messages flushed.
+ * @return The number of messages flushed.
*/
virtual int flush (void);
@@ -115,7 +115,7 @@ public:
* The caller must be holding the queue lock before calling this
* method.
*
- * @retval The number of messages flushed.
+ * @return The number of messages flushed.
*/
virtual int flush_i (void);
@@ -129,7 +129,7 @@ public:
// elapses, (in which case errno = EWOULDBLOCK).
/**
- * Retrieve a poiner to the first ACE_Message_Block in the queue
+ * Retrieve a pointer to the first ACE_Message_Block in the queue
* without removing it.
*
* @param first_item Reference to an ACE_Message_Block * that will
@@ -139,10 +139,10 @@ public:
* @param timeout The absolute time the caller will wait until
* for a block to be queued.
*
- * @retval The number of ACE_Message_Blocks on the queue.
- * @return -1 on failure. errno holds the reason. If EWOULDBLOCK,
- * the timeout elapsed. If ESHUTDOWN, the queue was
- * deactivated or pulsed.
+ * @retval >0 The number of ACE_Message_Blocks on the queue.
+ * @retval -1 On failure. errno holds the reason. If EWOULDBLOCK,
+ * the timeout elapsed. If ESHUTDOWN, the queue was
+ * deactivated or pulsed.
*/
virtual int peek_dequeue_head (ACE_Message_Block *&first_item,
ACE_Time_Value *timeout = 0);
@@ -159,11 +159,11 @@ public:
* @param timeout The absolute time the caller will wait until
* for the block to be queued.
*
- * @retval The number of ACE_Message_Blocks on the queue after adding
- * the specified block.
- * @return -1 on failure. errno holds the reason. If EWOULDBLOCK,
- * the timeout elapsed. If ESHUTDOWN, the queue was
- * deactivated or pulsed.
+ * @retval >0 The number of ACE_Message_Blocks on the queue after adding
+ * the specified block.
+ * @retval -1 On failure. errno holds the reason. If EWOULDBLOCK,
+ * the timeout elapsed. If ESHUTDOWN, the queue was
+ * deactivated or pulsed.
*/
virtual int enqueue_prio (ACE_Message_Block *new_item,
ACE_Time_Value *timeout = 0);
@@ -348,7 +348,7 @@ public:
* queue state to PULSED; future enqueue/dequeue operations proceed
* as in ACTIVATED state.
*
- * @retval The queue's state before this call.
+ * @return The queue's state before this call.
*/
virtual int pulse (void);
@@ -374,8 +374,10 @@ public:
*/
virtual int notify (void);
- // = Get/set the notification strategy for the <Message_Queue>
+ /// Get the notification strategy for the <Message_Queue>
virtual ACE_Notification_Strategy *notification_strategy (void);
+
+ /// Set the notification strategy for the <Message_Queue>
virtual void notification_strategy (ACE_Notification_Strategy *s);
/// Returns a reference to the lock used by the <ACE_Message_Queue>.
@@ -451,7 +453,7 @@ protected:
* If not zero, only the waiting threads are notified and
* the queue's state changes to PULSED.
*
- * @retval The state of the queue before the call.
+ * @return The state of the queue before the call.
*/
virtual int deactivate_i (int pulse = 0);
@@ -700,7 +702,7 @@ public:
virtual void dump (void) const;
/**
- * just call priority enqueue method: tail enqueue semantics for dynamic
+ * Just call priority enqueue method: tail enqueue semantics for dynamic
* message queues are unstable: the message may or may not be where
* it was placed after the queue is refreshed prior to the next
* enqueue or dequeue operation.
@@ -709,7 +711,7 @@ public:
ACE_Time_Value *timeout = 0);
/**
- * just call priority enqueue method: head enqueue semantics for dynamic
+ * Just call priority enqueue method: head enqueue semantics for dynamic
* message queues are unstable: the message may or may not be where
* it was placed after the queue is refreshed prior to the next
* enqueue or dequeue operation.
@@ -732,7 +734,7 @@ protected:
*/
virtual int enqueue_i (ACE_Message_Block *new_item);
- /// enqueue a message in priority order within a given priority status sublist
+ /// Enqueue a message in priority order within a given priority status sublist
virtual int sublist_enqueue_i (ACE_Message_Block *new_item,
const ACE_Time_Value &current_time,
ACE_Message_Block *&sublist_head,
@@ -790,7 +792,7 @@ private:
// provide definitions for these (just call base class method),
// but make them private so they're not accessible outside the class
- /// private method to hide public base class method: just calls base class method
+ /// Private method to hide public base class method: just calls base class method
virtual int peek_dequeue_head (ACE_Message_Block *&first_item,
ACE_Time_Value *timeout = 0);
@@ -814,13 +816,13 @@ template <ACE_SYNCH_DECL>
class ACE_Message_Queue_Factory
{
public:
- /// factory method for a statically prioritized ACE_Message_Queue
+ /// Factory method for a statically prioritized ACE_Message_Queue
static ACE_Message_Queue<ACE_SYNCH_USE> *
create_static_message_queue (size_t hwm = ACE_Message_Queue_Base::DEFAULT_HWM,
size_t lwm = ACE_Message_Queue_Base::DEFAULT_LWM,
ACE_Notification_Strategy * = 0);
- /// factory method for a dynamically prioritized (by time to deadline) ACE_Dynamic_Message_Queue
+ /// Factory method for a dynamically prioritized (by time to deadline) ACE_Dynamic_Message_Queue
static ACE_Dynamic_Message_Queue<ACE_SYNCH_USE> *
create_deadline_message_queue (size_t hwm = ACE_Message_Queue_Base::DEFAULT_HWM,
size_t lwm = ACE_Message_Queue_Base::DEFAULT_LWM,
@@ -830,7 +832,7 @@ public:
u_long dynamic_priority_max = 0x3FFFFFUL, // 2^(22)-1
u_long dynamic_priority_offset = 0x200000UL); // 2^(22-1)
- /// factory method for a dynamically prioritized (by laxity) ACE_Dynamic_Message_Queue
+ /// Factory method for a dynamically prioritized (by laxity) ACE_Dynamic_Message_Queue
static ACE_Dynamic_Message_Queue<ACE_SYNCH_USE> *
create_laxity_message_queue (size_t hwm = ACE_Message_Queue_Base::DEFAULT_HWM,
size_t lwm = ACE_Message_Queue_Base::DEFAULT_LWM,
@@ -843,7 +845,7 @@ public:
#if defined (VXWORKS)
- /// factory method for a wrapped VxWorks message queue
+ /// Factory method for a wrapped VxWorks message queue
static ACE_Message_Queue_Vx *
create_Vx_message_queue (size_t max_messages, size_t max_message_length,
ACE_Notification_Strategy *ns = 0);
@@ -852,7 +854,7 @@ public:
#if defined (ACE_WIN32) && (ACE_HAS_WINNT4 != 0)
- /// factory method for a NT message queue.
+ /// Factory method for a NT message queue.
static ACE_Message_Queue_NT *
create_NT_message_queue (size_t max_threads);
@@ -941,12 +943,12 @@ public:
/// Close down the message queue and release all resources.
virtual ~ACE_Message_Queue_Ex (void);
- /// Release all resources from the message queue but do not mark it as deactivated.
- /// This method holds the queue lock during this operation. Returns the number of
+ /// Release all resources from the message queue but do not mark it as deactivated.
+ /// This method holds the queue lock during this operation. Returns the number of
/// messages flushed.
virtual int flush (void);
- /// Release all resources from the message queue but do not mark it as deactivated.
+ /// Release all resources from the message queue but do not mark it as deactivated.
/// This method does not hold the queue lock during this operation, i.e., it assume
/// the lock is held externally. Returns the number of messages flushed.
virtual int flush_i (void);