#include <Local_Tokens.h>
Inheritance diagram for ACE_TPQ_Entry:


Public Types | |
| typedef void(* | PTVF )(void *) | 
Public Member Functions | |
| ACE_TPQ_Entry (void) | |
| Null constructor.   | |
| ACE_TPQ_Entry (const ACE_Token_Proxy *proxy, const ACE_TCHAR *client_id) | |
| Constructor.   | |
| ACE_TPQ_Entry (const ACE_TPQ_Entry &rhs) | |
| Copy constructor.   | |
| ~ACE_TPQ_Entry (void) | |
| Destructor.   | |
| void | operator= (const ACE_TPQ_Entry &rhs) | 
| Copy operator use by the queue.   | |
| ACE_Token_Proxy * | proxy (void) const | 
| Get top of the queue.   | |
| void | proxy (ACE_Token_Proxy *) | 
| Set top of the queue.   | |
| int | nesting_level (void) const | 
| Get nesting level of the entry.   | |
| void | nesting_level (int delta) | 
| Delta nesting level of the entry.   | |
| const ACE_TCHAR * | client_id (void) const | 
| Get client_id of the entry.   | |
| void | client_id (const ACE_TCHAR *) | 
| Set client_id of the entry.   | |
| int | equal_client_id (const ACE_TCHAR *id) | 
| Returns 1 if id == client id. Does not check for id == 0.   | |
| void | set (void(*sleep_hook)(void *)) | 
| One method for arg and sleep_hook.   | |
| void | sleep_hook (void(*sh)(void *)) | 
| Set sleep hook of the entry.   | |
| PTVF | sleep_hook (void) const | 
| Get sleep hook of the entry.   | |
| void | call_sleep_hook (void) | 
| Call the sleep hook function or method passing arg.   | |
| void | dump (void) const | 
| Dump the state of the class.   | |
| int | waiting (void) const | 
| Get whether this client is blocked waiting for a token.   | |
| void | waiting (int w) | 
| Set whether this client is blocked waiting for a token.   | |
Public Attributes | |
| ACE_TOKEN_CONST::COND_VAR | cond_var_ | 
| ACE_TOKEN_CONST::MUTEX | lock_ | 
| ACE_TPQ_Entry * | next_ | 
| Pointer to next in list.   | |
Private Attributes | |
| int | waiting_ | 
| This client is waiting for a token.   | |
| ACE_Token_Proxy * | proxy_ | 
| Proxy.   | |
| int | nesting_level_ | 
| Nesting level.   | |
| void * | arg_ | 
| Arg.   | |
| ACE_TCHAR | client_id_ [ACE_MAXCLIENTIDLEN] | 
| Client id.   | |
| void(* | sleep_hook_ )(void *) | 
| Sleep hook.   | |
Friends | |
| class | ACE_Token_Manager | 
Not a public interface.
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 Null constructor. 
  | 
  
      
  | 
  ||||||||||||
| 
 Constructor. 
  | 
  
      
  | 
  
| 
 Copy constructor. 
  | 
  
      
  | 
  
| 
 Destructor. 
  | 
  
      
  | 
  
| 
 Call the sleep hook function or method passing arg. 
  | 
  
      
  | 
  
| 
 Set client_id of the entry. 
  | 
  
      
  | 
  
| 
 Get client_id of the entry. 
  | 
  
      
  | 
  
| 
 Dump the state of the class. 
 Reimplemented in ACE_TSS_TPQ_Entry.  | 
  
      
  | 
  
| 
 Returns 1 if id == client id. Does not check for id == 0. 
  | 
  
      
  | 
  
| 
 Delta nesting level of the entry. 
  | 
  
      
  | 
  
| 
 Get nesting level of the entry. 
  | 
  
      
  | 
  
| 
 Copy operator use by the queue. 
  | 
  
      
  | 
  
| 
 Set top of the queue. 
  | 
  
      
  | 
  
| 
 Get top of the queue. 
  | 
  
      
  | 
  
| 
 One method for arg and sleep_hook. 
  | 
  
      
  | 
  
| 
 Get sleep hook of the entry. 
  | 
  
      
  | 
  
| 
 Set sleep hook of the entry. 
  | 
  
      
  | 
  
| 
 Set whether this client is blocked waiting for a token. 
  | 
  
      
  | 
  
| 
 Get whether this client is blocked waiting for a token. 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 Arg. 
  | 
  
      
  | 
  
| 
 Client id. 
 Reimplemented in ACE_TSS_TPQ_Entry.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 Nesting level. 
  | 
  
      
  | 
  
| 
 Pointer to next in list. 
  | 
  
      
  | 
  
| 
 Proxy. 
 Reimplemented in ACE_TSS_TPQ_Entry.  | 
  
      
  | 
  
| 
 Sleep hook. 
  | 
  
      
  | 
  
| 
 This client is waiting for a token. 
  | 
  
 1.3.9.1