ACE  6.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes
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]

List of all members.

Public Member Functions

 ACE_TSS_TPQ_Entry (const ACE_Token_Proxy *proxy, const ACE_TCHAR *client_id)
virtual ~ACE_TSS_TPQ_Entry (void)
 Destructor.
virtual ACE_TPQ_Entrymake_TSS_TYPE (void) const
 Allows us to pass args to the construction of the TSS object.
 operator ACE_TPQ_Entry * (void)
 Operator overloading and inheritance don't mix.
void dump (void) const
 Dump the state of the class.
ACE_TPQ_Entryoperator-> (void)
- Public Member Functions inherited from ACE_TPQ_Entry
 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_Proxyproxy (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_TCHARclient_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.
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.

Private Member Functions

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

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::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.

Reimplemented from ACE_TPQ_Entry.

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.

Reimplemented from ACE_TPQ_Entry.

const ACE_Token_Proxy* ACE_TSS_TPQ_Entry::proxy_
private

Proxy.

Reimplemented from ACE_TPQ_Entry.


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