| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Attributes | List of all members
image Class Reference

## Public Member Functions
| image ()
| image (int content)
| image (const image &src)
bool | operator< (const image &l) const

## Protected Attributes
int | m_content

## Detailed Description

Definition at line 55 of file mergesort.cpp.

## Constructor & Destructor Documentation

image::image | ( |  | ) |
| inline

Definition at line 58 of file mergesort.cpp.

58 : m_content(0) {}
image::m_content
int m_content
Definition: mergesort.cpp:80

image::image | ( | int | content | ) |
| inline

Definition at line 59 of file mergesort.cpp.

59 : m_content(content) {}
image::m_content
int m_content
Definition: mergesort.cpp:80

image::image | ( | const image & | src | ) |
| inline

Definition at line 61 of file mergesort.cpp.

62 {
63 m_content = src.m_content;
64 }
image::m_content
int m_content
Definition: mergesort.cpp:80

## Member Function Documentation

bool image::operator< | ( | const image & | l | ) | const
| inline

Definition at line 66 of file mergesort.cpp.

67 {
68 { // simulate time needed for image comparision
69 boost::xtime xt;
70 boost::xtime_get(&xt, boost::TIME_UTC);
71 int duration = 1+(m_content % 4);
72 xt.nsec += 250 * 1000 * duration;
73 boost::thread::sleep(xt);
74 print(".");
75 }
76 return m_content < l.m_content;
77 }
image::m_content
int m_content
Definition: mergesort.cpp:80
print
void print(string text)
Definition: mergesort.cpp:33

## Member Data Documentation

int image::m_content
| protected

Definition at line 80 of file mergesort.cpp.

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

- GaudiMTTools/src/threadpool/libs/threadpool/example/mergesort/mergesort.cpp