#include <Synch_T.h>
Collaboration diagram for ACE_TSS_Type_Adapter:

Public Methods | |
| ACE_TSS_Type_Adapter (const TYPE value=0) | |
| Constructor. Inlined here so that it should _always_ be inlined. More... | |
| operator TYPE () const | |
| TYPE conversion. Inlined here so that it should _always_ be inlined. More... | |
| operator TYPE & () | |
| TYPE & conversion. Inlined here so that it should _always_ be inlined. More... | |
Private Attributes | |
| TYPE | value_ |
| The wrapped value. More... | |
Wraps a value of a built-in type, providing conversions to and from the type. Example use with ACE_TSS: ACE_TSS<ACE_TSS_Type_Adapter<int> > i; *i = 37; ACE_OS::fprintf (stderr, "d
", *i); Unfortunately, though, some compilers have trouble with the implicit type conversions. This seems to work better: ACE_TSS<ACE_TSS_Type_Adapter<int> > i; i->operator int &() = 37; ACE_OS::fprintf (stderr, "d
", i->operator int());
Definition at line 319 of file Synch_T.h.
|
||||||||||
|
Constructor. Inlined here so that it should _always_ be inlined.
Definition at line 323 of file Synch_T.h. References value_.
00323 : value_ (value) {} |
|
|||||||||
|
TYPE conversion. Inlined here so that it should _always_ be inlined.
Definition at line 327 of file Synch_T.h. References value_.
00327 { return value_; };
|
|
|||||||||
|
TYPE & conversion. Inlined here so that it should _always_ be inlined.
Definition at line 331 of file Synch_T.h. References value_.
00331 { return value_; };
|
|
|||||
|
The wrapped value.
Definition at line 335 of file Synch_T.h. Referenced by ACE_TSS_Type_Adapter, operator TYPE, and operator TYPE &. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002