CPPMyth
Library to interoperate with MythTV server
Myth::LockedNumber< T > Class Template Reference
Inheritance diagram for Myth::LockedNumber< T >:
Collaboration diagram for Myth::LockedNumber< T >:

Public Member Functions

 LockedNumber (T val)
 
Add (T amount)
 
operator+= (T amount)
 
Sub (T amount)
 
operator-= (T amount)
 
- Public Member Functions inherited from Myth::Locked< T >
 Locked (const T &val)
 
Load ()
 
const T & Store (const T &newval)
 
value Get ()
 

Additional Inherited Members

- Protected Member Functions inherited from Myth::Locked< T >
 Locked (const Locked< T > &other)
 
Locked< T > & operator= (const Locked< T > &other)
 
- Protected Attributes inherited from Myth::Locked< T >
m_val
 
LockGuard::Lockablem_lock
 

Detailed Description

template<typename T>
class Myth::LockedNumber< T >

Definition at line 124 of file mythlocked.h.


The documentation for this class was generated from the following file: