ACE 8.0.1
Loading...
Searching...
No Matches
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 ()=default
 Destructor.
 
virtual ACE_TPQ_Entrymake_TSS_TYPE () const
 Allows us to pass args to the construction of the TSS object.
 
 operator ACE_TPQ_Entry * ()
 Operator overloading and inheritance don't mix.
 
void dump () const
 Dump the state of the class.
 
ACE_TPQ_Entryoperator-> ()
 
- Public Member Functions inherited from ACE_TPQ_Entry
 ACE_TPQ_Entry ()
 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 ()
 Destructor.
 
void operator= (const ACE_TPQ_Entry &rhs)
 Copy operator use by the queue.
 
ACE_Token_Proxyproxy () const
 Get top of the queue.
 
void proxy (ACE_Token_Proxy *)
 Set top of the queue.
 
int nesting_level () const
 Get nesting level of the entry.
 
void nesting_level (int delta)
 Delta nesting level of the entry.
 
const ACE_TCHARclient_id () 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 () const
 Get sleep hook of the entry.
 
void call_sleep_hook ()
 Call the sleep hook function or method passing arg.
 
void dump () const
 Dump the state of the class.
 
int waiting () 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.
 

Private Member Functions

 ACE_TSS_TPQ_Entry (const ACE_TSS_TPQ_Entry &)=delete
 
void operator= (const ACE_TSS_TPQ_Entry &)=delete
 

Private Attributes

const ACE_Token_Proxyproxy_
 Proxy.
 
const ACE_TCHARclient_id_
 Client_id.
 

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.
 

Detailed Description

ACE_TSS_TPQ_Entry.

Not a public interface.

Constructor & Destructor Documentation

◆ ACE_TSS_TPQ_Entry() [1/2]

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()

virtual ACE_TSS_TPQ_Entry::~ACE_TSS_TPQ_Entry ( )
virtualdefault

Destructor.

◆ ACE_TSS_TPQ_Entry() [2/2]

ACE_TSS_TPQ_Entry::ACE_TSS_TPQ_Entry ( const ACE_TSS_TPQ_Entry & )
privatedelete

Member Function Documentation

◆ dump()

void ACE_TSS_TPQ_Entry::dump ( ) const

Dump the state of the class.

◆ make_TSS_TYPE()

ACE_TPQ_Entry * ACE_TSS_TPQ_Entry::make_TSS_TYPE ( ) const
virtual

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

◆ operator ACE_TPQ_Entry *()

ACE_TSS_TPQ_Entry::operator ACE_TPQ_Entry * ( )

Operator overloading and inheritance don't mix.

◆ operator->()

ACE_TPQ_Entry * ACE_TSS_TPQ_Entry::operator-> ( )
inline

◆ operator=()

void ACE_TSS_TPQ_Entry::operator= ( const ACE_TSS_TPQ_Entry & )
privatedelete

Member Data Documentation

◆ client_id_

const ACE_TCHAR* ACE_TSS_TPQ_Entry::client_id_
private

Client_id.

◆ proxy_

const ACE_Token_Proxy* ACE_TSS_TPQ_Entry::proxy_
private

Proxy.


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