#include <Token_Invariants.h>
Public Methods | |
| ACE_Mutex_Invariants (void) | |
| Default construction. More... | |
| int | acquired (void) |
| Returns 1 on success, 0 when an invariant has been violated and -1 on error. More... | |
| void | releasing (void) |
| Updates internal database. More... | |
| ACE_Mutex_Invariants (const ACE_Mutex_Invariants &rhs) | |
| Copy construction. More... | |
| void | operator= (const ACE_Mutex_Invariants &rhs) |
| Copy. More... | |
| void | dump (void) const |
| Dump the state of the class. More... | |
Private Attributes | |
| int | owners_ |
| Number of owners. This had better be 0 >= owners_ <= 1;. More... | |
Definition at line 41 of file Token_Invariants.h.
|
|
Default construction.
Definition at line 226 of file Token_Invariants.cpp.
00227 : owners_ (0) 00228 { 00229 } |
|
|
Copy construction.
Definition at line 250 of file Token_Invariants.cpp.
|
|
|
Returns 1 on success, 0 when an invariant has been violated and -1 on error.
Definition at line 232 of file Token_Invariants.cpp. References owners_. Referenced by ACE_Token_Invariant_Manager::mutex_acquired.
|
|
|
Dump the state of the class.
Definition at line 262 of file Token_Invariants.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_TRACE, LM_DEBUG, and owners_.
00263 {
00264 ACE_TRACE ("ACE_Mutex_Invariants::dump");
00265 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00266 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("owners_ = %d\n"), owners_));
00267 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00268 }
|
|
|
Copy.
Definition at line 256 of file Token_Invariants.cpp. References owners_.
|
|
|
Updates internal database.
Definition at line 244 of file Token_Invariants.cpp. References owners_. Referenced by ACE_Token_Invariant_Manager::mutex_releasing.
|
|
|
Number of owners. This had better be 0 >= owners_ <= 1;.
Definition at line 67 of file Token_Invariants.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002