Atomic Class Reference

#include <tqdbusatomic.h>

List of all members.

Public Member Functions

 Atomic (int value)
void ref ()
bool deref ()

Private Attributes

int m_value

Detailed Description

Definition at line 27 of file tqdbusatomic.h.


Constructor & Destructor Documentation

Atomic::Atomic ( int  value  ) 

Definition at line 34 of file tqdbusintegrator.cpp.

00034                         : m_value(value)
00035 {
00036 }


Member Function Documentation

bool Atomic::deref (  ) 

Definition at line 43 of file tqdbusintegrator.cpp.

References m_value.

00044 {
00045     m_value--;
00046     return m_value > 0;
00047 }

Here is the caller graph for this function:

void Atomic::ref (  ) 

Definition at line 38 of file tqdbusintegrator.cpp.

References m_value.

00039 {
00040     m_value++;
00041 }

Here is the caller graph for this function:


Member Data Documentation

int Atomic::m_value [private]

Definition at line 37 of file tqdbusatomic.h.


The documentation for this class was generated from the following files:
Generated on Fri Apr 26 16:30:20 2019 for DBus-1-TQt by  doxygen 1.6.3