ACE_Atomic_Op< ACE_LOCK, TYPE > Class Template ReferenceTransparently parameterizes synchronization into basic arithmetic operations. More...
Collaboration diagram for ACE_Atomic_Op< ACE_LOCK, TYPE >:
![]()
Detailed Descriptiontemplate<class ACE_LOCK, typename TYPE>
Transparently parameterizes synchronization into basic arithmetic operations.
|
typedef ACE_Type_Traits<TYPE>::parameter_type ACE_Atomic_Op< ACE_LOCK, TYPE >::arg_type |
ACE_Atomic_Op< ACE_LOCK, TYPE >::ACE_Atomic_Op | ( | void | ) | [inline] |
Initialize value_
to 0.
ACE_Atomic_Op< ACE_LOCK, TYPE >::ACE_Atomic_Op | ( | arg_type | c | ) |
Initialize value_
to c.
ACE_INLINE ACE_Atomic_Op< ACE_LOCK, TYPE >::ACE_Atomic_Op | ( | ACE_Atomic_Op< ACE_LOCK, TYPE > const & | c | ) | [inline] |
Manage copying...
ACE_Atomic_Op<ACE_LOCK, TYPE>& ACE_Atomic_Op< ACE_LOCK, TYPE >::operator= | ( | arg_type | rhs | ) |
Atomically assign rhs to value_
.
ACE_INLINE ACE_Atomic_Op< ACE_LOCK, TYPE > & ACE_Atomic_Op< ACE_LOCK, TYPE >::operator= | ( | ACE_Atomic_Op< ACE_LOCK, TYPE > const & | rhs | ) | [inline] |
Atomically assign <rhs> to value_
.
ACE_INLINE TYPE ACE_Atomic_Op< ACE_LOCK, TYPE >::operator++ | ( | void | ) | [inline] |
Atomically pre-increment value_
.
ACE_INLINE TYPE ACE_Atomic_Op< ACE_LOCK, TYPE >::operator++ | ( | int | ) | [inline] |
Atomically post-increment value_
.
TYPE ACE_Atomic_Op< ACE_LOCK, TYPE >::operator+= | ( | arg_type | rhs | ) |
Atomically increment value_
by rhs.
ACE_INLINE TYPE ACE_Atomic_Op< ACE_LOCK, TYPE >::operator-- | ( | void | ) | [inline] |
Atomically pre-decrement value_
.
ACE_INLINE TYPE ACE_Atomic_Op< ACE_LOCK, TYPE >::operator-- | ( | int | ) | [inline] |
Atomically post-decrement value_
.
TYPE ACE_Atomic_Op< ACE_LOCK, TYPE >::operator-= | ( | arg_type | rhs | ) |
Atomically decrement value_
by rhs.
bool ACE_Atomic_Op< ACE_LOCK, TYPE >::operator== | ( | arg_type | rhs | ) | const |
Atomically compare value_
with rhs.
bool ACE_Atomic_Op< ACE_LOCK, TYPE >::operator!= | ( | arg_type | rhs | ) | const |
Atomically compare value_
with rhs.
bool ACE_Atomic_Op< ACE_LOCK, TYPE >::operator>= | ( | arg_type | rhs | ) | const |
Atomically check if value_
greater than or equal to rhs.
bool ACE_Atomic_Op< ACE_LOCK, TYPE >::operator> | ( | arg_type | rhs | ) | const |
Atomically check if value_
greater than rhs.
bool ACE_Atomic_Op< ACE_LOCK, TYPE >::operator<= | ( | arg_type | rhs | ) | const |
Atomically check if value_
less than or equal to rhs.
bool ACE_Atomic_Op< ACE_LOCK, TYPE >::operator< | ( | arg_type | rhs | ) | const |
Atomically check if value_
less than rhs.
ACE_INLINE TYPE ACE_Atomic_Op< ACE_LOCK, TYPE >::value | ( | void | ) | const [inline] |
Explicitly return value_
.
ACE_INLINE void ACE_Atomic_Op< ACE_LOCK, TYPE >::dump | ( | void | ) | const [inline] |
Dump the state of an object.
ACE_INLINE ACE_LOCK & ACE_Atomic_Op< ACE_LOCK, TYPE >::mutex | ( | void | ) | [inline] |
Returns a reference to the underlying <ACE_LOCK>. This makes it possible to acquire the lock explicitly, which can be useful in some cases if you instantiate the ACE_Atomic_Op with an ACE_Recursive_Mutex or ACE_Process_Mutex.
ACE_INLINE TYPE & ACE_Atomic_Op< ACE_LOCK, TYPE >::value_i | ( | void | ) | [inline] |
Explicitly return value_
(by reference). This gives the user full, unrestricted access to the underlying value. This method will usually be used in conjunction with explicit access to the lock. Use with care ;-)
ACE_LOCK ACE_Atomic_Op< ACE_LOCK, TYPE >::own_mutex_ [private] |
Type of synchronization mechanism.
ACE_Atomic_Op_Ex<ACE_LOCK, TYPE> ACE_Atomic_Op< ACE_LOCK, TYPE >::impl_ [private] |
Underlying atomic op implementation.