ACE  6.3.3
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ACE_TSS_TPQ_Entry Class Reference

ACE_TSS_TPQ_Entry. More...

#include <Local_Tokens.h>

Inheritance diagram for ACE_TSS_TPQ_Entry:
Inheritance graph
[legend]
Collaboration diagram for ACE_TSS_TPQ_Entry:
Collaboration graph
[legend]

Public Member Functions

 ACE_TSS_TPQ_Entry (const ACE_Token_Proxy *proxy, const ACE_TCHAR *client_id)
 
virtual ~ACE_TSS_TPQ_Entry (void)
 Destructor. More...
 
virtual ACE_TPQ_Entrymake_TSS_TYPE (void) const
 Allows us to pass args to the construction of the TSS object. More...
 
 operator ACE_TPQ_Entry * (void)
 Operator overloading and inheritance don't mix. More...
 
void dump (void) const
 Dump the state of the class. More...
 
ACE_TPQ_Entryoperator-> (void)
 
- Public Member Functions inherited from ACE_TPQ_Entry
 ACE_TPQ_Entry (void)
 Null constructor. More...
 
 ACE_TPQ_Entry (const ACE_Token_Proxy *proxy, const ACE_TCHAR *client_id)
 Constructor. More...
 
 ACE_TPQ_Entry (const ACE_TPQ_Entry &rhs)
 Copy constructor. More...
 
 ~ACE_TPQ_Entry (void)
 Destructor. More...
 
void operator= (const ACE_TPQ_Entry &rhs)
 Copy operator use by the queue. More...
 
ACE_Token_Proxyproxy (void) const
 Get top of the queue. More...
 
void proxy (ACE_Token_Proxy *)
 Set top of the queue. More...
 
int nesting_level (void) const
 Get nesting level of the entry. More...
 
void nesting_level (int delta)
 Delta nesting level of the entry. More...
 
const ACE_TCHARclient_id (void) const
 Get client_id of the entry. More...
 
void client_id (const ACE_TCHAR *)
 Set client_id of the entry. More...
 
int equal_client_id (const ACE_TCHAR *id)
 Returns 1 if id == client id. Does not check for id == 0. More...
 
void set (void(*sleep_hook)(void *))
 One method for arg and sleep_hook. More...
 
void sleep_hook (void(*sh)(void *))
 Set sleep hook of the entry. More...
 
PTVF sleep_hook (void) const
 Get sleep hook of the entry. More...
 
void call_sleep_hook (void)
 Call the sleep hook function or method passing arg. More...
 
void dump (void) const
 Dump the state of the class. More...
 
int waiting (void) const
 Get whether this client is blocked waiting for a token. More...
 
void waiting (int w)
 Set whether this client is blocked waiting for a token. More...
 

Private Member Functions

 ACE_TSS_TPQ_Entry (const ACE_TSS_TPQ_Entry &)
 Private: should not be used. More...
 
void operator= (const ACE_TSS_TPQ_Entry &)
 

Private Attributes

const ACE_Token_Proxyproxy_
 Proxy. More...
 
const ACE_TCHARclient_id_
 Client_id. More...
 

Additional Inherited Members

- Public Types inherited from ACE_TPQ_Entry
typedef void(* PTVF) (void *)
 
- Public Attributes inherited from ACE_TPQ_Entry
ACE_TOKEN_CONST::COND_VAR cond_var_
 
ACE_TOKEN_CONST::MUTEX lock_
 
ACE_TPQ_Entrynext_
 Pointer to next in list. More...
 

Detailed Description

ACE_TSS_TPQ_Entry.

Not a public interface.

Constructor & Destructor Documentation

ACE_TSS_TPQ_Entry::ACE_TSS_TPQ_Entry ( const ACE_Token_Proxy proxy,
const ACE_TCHAR client_id 
)

These are passed to the constructor of ACE_TPQ_Entry in make_TSS_TYPE

ACE_TSS_TPQ_Entry::~ACE_TSS_TPQ_Entry ( void  )
virtual

Destructor.

ACE_TSS_TPQ_Entry::ACE_TSS_TPQ_Entry ( const ACE_TSS_TPQ_Entry )
private

Private: should not be used.

Member Function Documentation

void ACE_TSS_TPQ_Entry::dump ( void  ) const

Dump the state of the class.

ACE_TPQ_Entry * ACE_TSS_TPQ_Entry::make_TSS_TYPE ( void  ) const
virtual

Allows us to pass args to the construction of the TSS object.

ACE_TSS_TPQ_Entry::operator ACE_TPQ_Entry * ( void  )

Operator overloading and inheritance don't mix.

ACE_TPQ_Entry* ACE_TSS_TPQ_Entry::operator-> ( void  )
inline
void ACE_TSS_TPQ_Entry::operator= ( const ACE_TSS_TPQ_Entry )
private

Member Data Documentation

const ACE_TCHAR* ACE_TSS_TPQ_Entry::client_id_
private

Client_id.

const ACE_Token_Proxy* ACE_TSS_TPQ_Entry::proxy_
private

Proxy.


The documentation for this class was generated from the following files: