ACE
6.4.2
|
No op class for nonthreaded platform protocols. More...
#include <Local_Tokens.h>
Public Member Functions | |
virtual int | acquire (int=0, void(*)(void *)=0, ACE_Synch_Options &=ACE_Synch_Options::defaults) |
Acquire. More... | |
virtual int | renew (int=-1, ACE_Synch_Options &=ACE_Synch_Options::defaults) |
Renew. More... | |
virtual int | tryacquire (void(*)(void *)=0) |
Try acquire. More... | |
virtual int | release (ACE_Synch_Options &=ACE_Synch_Options::defaults) |
Release. More... | |
virtual int | remove (ACE_Synch_Options &=ACE_Synch_Options::defaults) |
Remove. More... | |
virtual ACE_Token_Proxy * | clone (void) const |
Return a dynamically allocated clone of the derived class. More... | |
void | dump (void) const |
Dump the state of the class. More... | |
virtual ACE_Tokens * | create_token (const ACE_TCHAR *) |
Do not allow the Token Manager to create us. More... | |
Public Member Functions inherited from ACE_Token_Proxy | |
ACE_Token_Proxy (void) | |
Construction. More... | |
virtual | ~ACE_Token_Proxy (void) |
Destructor. More... | |
virtual int | open (const ACE_TCHAR *name, int ignore_deadlock=0, int debug=0) |
virtual int | acquire_read (int notify=0, void(*sleep_hook)(void *)=0, ACE_Synch_Options &options=ACE_Synch_Options::defaults) |
virtual int | acquire_write (int notify=0, void(*sleep_hook)(void *)=0, ACE_Synch_Options &options=ACE_Synch_Options::defaults) |
virtual int | tryacquire_read (void(*sleep_hook)(void *)=0) |
virtual int | tryacquire_write (void(*sleep_hook)(void *)=0) |
virtual const ACE_TCHAR * | client_id (void) const |
virtual void | client_id (const ACE_TCHAR *client_id) |
virtual const ACE_TCHAR * | name (void) const |
virtual void | sleep_hook (void) |
virtual void | token_acquired (ACE_TPQ_Entry *) |
virtual const ACE_TCHAR * | owner_id (void) |
The client id of the current token holder. More... | |
void | dump (void) const |
Dump the state of the class. More... | |
virtual int | type (void) const |
Additional Inherited Members | |
Protected Member Functions inherited from ACE_Token_Proxy | |
ACE_Token_Proxy (const ACE_Token_Proxy &) | |
Duplication. More... | |
int | handle_options (ACE_Synch_Options &options, ACE_TOKEN_CONST::COND_VAR &cv) |
Handles cond_var waits. More... | |
Protected Attributes inherited from ACE_Token_Proxy | |
int | ignore_deadlock_ |
If this is set, we ignore deadlock. More... | |
int | debug_ |
Print a bunch of debug messages. More... | |
ACE_Tokens * | token_ |
ACE_TSS_TPQ_Entry | waiter_ |
Waiter info used for asynchronous transactions. More... | |
No op class for nonthreaded platform protocols.
|
inlinevirtual |
Acquire.
Reimplemented from ACE_Token_Proxy.
|
inlinevirtual |
Return a dynamically allocated clone of the derived class.
Implements ACE_Token_Proxy.
|
inlinevirtual |
Do not allow the Token Manager to create us.
Implements ACE_Token_Proxy.
void ACE_Null_Token::dump | ( | void | ) | const |
Dump the state of the class.
|
inlinevirtual |
Release.
Reimplemented from ACE_Token_Proxy.
|
inlinevirtual |
Remove.
Reimplemented from ACE_Token_Proxy.
|
inlinevirtual |
Renew.
Reimplemented from ACE_Token_Proxy.
|
inlinevirtual |
Try acquire.
Reimplemented from ACE_Token_Proxy.