ACE  6.3.3
Public Member Functions | List of all members
ACE_Null_Token Class Reference

No op class for nonthreaded platform protocols. More...

#include <Local_Tokens.h>

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

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_Proxyclone (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_Tokenscreate_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_TCHARclient_id (void) const
 
virtual void client_id (const ACE_TCHAR *client_id)
 
virtual const ACE_TCHARname (void) const
 
virtual void sleep_hook (void)
 
virtual void token_acquired (ACE_TPQ_Entry *)
 
virtual const ACE_TCHARowner_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_Tokenstoken_
 
ACE_TSS_TPQ_Entry waiter_
 Waiter info used for asynchronous transactions. More...
 

Detailed Description

No op class for nonthreaded platform protocols.

Member Function Documentation

virtual int ACE_Null_Token::acquire ( int  = 0,
void(*)(void *)  = 0,
ACE_Synch_Options = ACE_Synch_Options::defaults 
)
inlinevirtual

Acquire.

Reimplemented from ACE_Token_Proxy.

virtual ACE_Token_Proxy* ACE_Null_Token::clone ( void  ) const
inlinevirtual

Return a dynamically allocated clone of the derived class.

Implements ACE_Token_Proxy.

virtual ACE_Tokens* ACE_Null_Token::create_token ( const ACE_TCHAR )
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.

virtual int ACE_Null_Token::release ( ACE_Synch_Options = ACE_Synch_Options::defaults)
inlinevirtual

Release.

Reimplemented from ACE_Token_Proxy.

virtual int ACE_Null_Token::remove ( ACE_Synch_Options = ACE_Synch_Options::defaults)
inlinevirtual

Remove.

Reimplemented from ACE_Token_Proxy.

virtual int ACE_Null_Token::renew ( int  = -1,
ACE_Synch_Options = ACE_Synch_Options::defaults 
)
inlinevirtual

Renew.

Reimplemented from ACE_Token_Proxy.

virtual int ACE_Null_Token::tryacquire ( void(*)(void *)  = 0)
inlinevirtual

Try acquire.

Reimplemented from ACE_Token_Proxy.


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