#include <coherence/lang/Volatile.hpp>
Note: In the rare case that a Volatile is declared via the mutable keyword, the Volatile must be informed of this fact by setting fMutable to true during construction.
Public Types | |
typedef T | Type |
A primitive data type that is wrapped by this Volatile<T>. | |
Public Member Functions | |
Volatile (Object &oGuardian) | |
Construct a new Volatile<T> with the default wrapped T value. | |
Volatile (Object &oGuardian, const Volatile &o) | |
Copy-construct a Volatile<T>. | |
Volatile (Object &oGuardian, const Volatile &o, bool fMutable) | |
Copy-construct a Volatile<T>. | |
Volatile (Object &oGuardian, const T &value) | |
Construct a new Volatile<T> with the specified wrapped T value. | |
Volatile (Object &oGuardian, const T &value, bool fMutable) | |
Construct a new Volatile<T> with the specified wrapped T value. | |
~Volatile () | |
Destruct this Volatile<T> object. | |
Volatile & | operator= (const Volatile &value) |
Assign this Volatile the value from another Volatile. | |
Volatile & | operator= (const T &value) |
Assign this Volatile a new value. | |
operator const T () const | |
Return the Volatile value. |
Construct a new Volatile<T> with the default wrapped T value.
oGuardian | the object which this data member is part of |
Copy-construct a Volatile<T>.
oGuardian | the object which this data member is part of |
Copy-construct a Volatile<T>.
oGuardian | the object which this data member is part of | |
fMutable | true if the member is declared as mutable, false if declared as const |
Construct a new Volatile<T> with the specified wrapped T value.
oGuardian | the object which this data member is part of |
Construct a new Volatile<T> with the specified wrapped T value.
oGuardian | the object which this data member is part of | |
fMutable | true if the member is declared as mutable, false if declared as const |