#include <Remote_Tokens.h>
Inheritance diagram for ACE_Remote_WLock:
Public Member Functions | |
ACE_Remote_WLock (void) | |
ACE_Remote_WLock (const ACE_TCHAR *token_name, int ignore_deadlock=0, int debug=0) | |
ACE_Remote_WLock (const ACE_Remote_WLock &mutex) | |
void | dump (void) const |
Dump the state of the class. | |
virtual int | type (void) const |
Returns ACE_RW_Token::WLOCK;. | |
virtual ACE_Token_Proxy * | clone (void) const |
Return deep copy. | |
Protected Member Functions | |
virtual ACE_Tokens * | create_token (const ACE_TCHAR *name) |
Shields applications from details of interacting with the ACE_Token_Server. The token_name_ is just the string that the Token Server uses to identify the token. The client_id_ (also used by the Token Server,) identifies the owner of the token and is used for deadlock detection.
Definition at line 243 of file Remote_Tokens.h.
|
|
|
|
|
|
|
Return deep copy.
Definition at line 501 of file Remote_Tokens.cpp. References ACE_NEW_RETURN.
00502 { 00503 ACE_Token_Proxy *temp = 0; 00504 ACE_NEW_RETURN (temp, 00505 ACE_Remote_WLock (this->name (), 00506 ignore_deadlock_, 00507 debug_), 00508 0); 00509 return temp; 00510 } |
|
Make the correct type of ACE_Tokens. This is called by the Token Manager. Definition at line 485 of file Remote_Tokens.cpp. References ACE_NEW_RETURN, and ACE_TCHAR.
00486 { 00487 ACE_Tokens *temp = 0; 00488 ACE_NEW_RETURN (temp, 00489 ACE_RW_Token (name), 00490 0); 00491 return temp; 00492 } |
|
Dump the state of the class.
Reimplemented from ACE_Remote_Token_Proxy. Definition at line 513 of file Remote_Tokens.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_TEXT, ACE_TRACE, ACE_Remote_Token_Proxy::dump(), and LM_DEBUG.
00514 { 00515 #if defined (ACE_HAS_DUMP) 00516 ACE_TRACE ("ACE_Remote_WLock::dump"); 00517 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); 00518 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("ACE_Remote_WLock::dump:\n"))); 00519 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("base:\n"))); 00520 ACE_Remote_Token_Proxy::dump (); 00521 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); 00522 #endif /* ACE_HAS_DUMP */ 00523 } |
|
Returns ACE_RW_Token::WLOCK;.
Definition at line 495 of file Remote_Tokens.cpp.
00496 {
00497 return ACE_RW_Token::WRITER;
00498 }
|