#include <Thread_Exit.h>
Collaboration diagram for ACE_Thread_Exit_Maybe:

Public Methods | |
| ACE_Thread_Exit_Maybe (int flag=0) | |
| Don't create an ACE_Thread_Exit instance by default. More... | |
| ~ACE_Thread_Exit_Maybe (void) | |
| Destroys the underlying ACE_Thread_Exit instance if it exists. More... | |
| ACE_Thread_Exit * | operator-> (void) const |
| Delegates to underlying instance. More... | |
| ACE_Thread_Exit * | instance (void) const |
| Returns the underlying instance. More... | |
Private Attributes | |
| ACE_Thread_Exit * | instance_ |
| Holds the underlying instance. More... | |
Allows the appearance of a "smart pointer", but is not always created.
Definition at line 84 of file Thread_Exit.h.
|
|
Don't create an ACE_Thread_Exit instance by default.
Definition at line 92 of file Thread_Exit.cpp. References ACE_NEW, and instance_.
00093 : instance_ (0) 00094 { 00095 if (flag) 00096 { 00097 ACE_NEW (instance_, ACE_Thread_Exit); 00098 } 00099 } |
|
|
Destroys the underlying ACE_Thread_Exit instance if it exists.
Definition at line 101 of file Thread_Exit.cpp. References instance_.
00102 {
00103 delete this->instance_;
00104 }
|
|
|
Returns the underlying instance.
Definition at line 113 of file Thread_Exit.cpp. References instance_. Referenced by ACE_Thread_Adapter::invoke.
00114 {
00115 return this->instance_;
00116 }
|
|
|
Delegates to underlying instance.
Definition at line 107 of file Thread_Exit.cpp. References instance_.
00108 {
00109 return this->instance_;
00110 }
|
|
|
Holds the underlying instance.
Definition at line 102 of file Thread_Exit.h. Referenced by ACE_Thread_Exit_Maybe, instance, operator->, and ~ACE_Thread_Exit_Maybe. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002