#include <Local_Tokens.h>
Collaboration diagram for ACE_TPQ_Iterator:
Public Member Functions | |
ACE_TPQ_Iterator (ACE_Token_Proxy_Queue &q) | |
Constructor. | |
~ACE_TPQ_Iterator (void) | |
Destructor. | |
int | next (ACE_TPQ_Entry *&next_item) |
Pass back the . | |
int | done (void) const |
Returns 1 when all items have been seen, else 0. | |
void | advance (void) |
Move forward by one element in the queue. | |
void | dump (void) const |
Dump the state of an object. | |
Private Attributes | |
ACE_TPQ_Entry * | current_ |
Not a public interface.
Definition at line 264 of file Local_Tokens.h.
|
Constructor.
Definition at line 239 of file Local_Tokens.cpp. References ACE_TRACE.
|
|
Destructor.
|
|
Move forward by one element in the queue.
Definition at line 264 of file Local_Tokens.cpp. References ACE_TRACE, and ACE_TPQ_Entry::next_. Referenced by ACE_RW_Token::is_owner(), ACE_RW_Token::is_waiting_for(), ACE_Mutex_Token::is_waiting_for(), ACE_RW_Token::notify_new_owner(), and ACE_RW_Token::owners().
|
|
Returns 1 when all items have been seen, else 0.
Definition at line 256 of file Local_Tokens.cpp. References ACE_TRACE.
|
|
Dump the state of an object.
Definition at line 273 of file Local_Tokens.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_TRACE, and LM_DEBUG.
00274 { 00275 #if defined (ACE_HAS_DUMP) 00276 ACE_TRACE ("ACE_TPQ_Iterator::dump"); 00277 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); 00278 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("ACE_TPQ_Iterator::dump:\n") 00279 ACE_LIB_TEXT (" current_ = %d\n"), 00280 (long) this->current_)); 00281 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("head_ and tail_\n"))); 00282 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); 00283 #endif /* ACE_HAS_DUMP */ 00284 } |
|
Pass back the .
Definition at line 246 of file Local_Tokens.cpp. References ACE_TRACE. Referenced by ACE_RW_Token::is_owner(), ACE_RW_Token::is_waiting_for(), ACE_Mutex_Token::is_waiting_for(), ACE_RW_Token::notify_new_owner(), and ACE_RW_Token::owners().
|
|
Definition at line 286 of file Local_Tokens.h. |