diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-09-26 04:01:35 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-09-26 04:01:35 +0000 |
commit | 284a25eb61ad4b06ebb75e97de2e131504b2f418 (patch) | |
tree | f5893b860741c5f7fc49a4729a41c9c669da93e6 /ace/Message_Queue.h | |
parent | 4238b90c28171e47d8f9a5a462635b748befb3f7 (diff) | |
download | ATCD-284a25eb61ad4b06ebb75e97de2e131504b2f418.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Message_Queue.h')
-rw-r--r-- | ace/Message_Queue.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ace/Message_Queue.h b/ace/Message_Queue.h index 2a814b2fbb0..150798a1363 100644 --- a/ace/Message_Queue.h +++ b/ace/Message_Queue.h @@ -181,18 +181,19 @@ public: protected: // = Routines that actually do the enqueueing and dequeueing. // These routines assume that locks are held by the corresponding - // public methods. + // public methods. Since they are virtual, you can change the + // queueing mechanism by subclassing from <ACE_Message_Queue>. - int enqueue_i (ACE_Message_Block *new_item); + virtual int enqueue_i (ACE_Message_Block *new_item); // Enqueue an <ACE_Message_Block *> in accordance with its priority. - int enqueue_tail_i (ACE_Message_Block *new_item); + virtual int enqueue_tail_i (ACE_Message_Block *new_item); // Enqueue an <ACE_Message_Block *> at the end of the queue. - int enqueue_head_i (ACE_Message_Block *new_item); + virtual int enqueue_head_i (ACE_Message_Block *new_item); // Enqueue an <ACE_Message_Block *> at the head of the queue. - int dequeue_head_i (ACE_Message_Block *&first_item); + virtual int dequeue_head_i (ACE_Message_Block *&first_item); // Dequeue and return the <ACE_Message_Block *> at the head of the // queue. |