| The Gaudi Framework v29r0 (ff2e7097)

- 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 52 of file mergesort.cpp.

## Constructor & Destructor Documentation

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

Definition at line 55 of file mergesort.cpp.

55 : m_content( 0 ) {}
image::m_content
int m_content
Definition: mergesort.cpp:74

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

Definition at line 56 of file mergesort.cpp.

56 : m_content( content ) {}
image::m_content
int m_content
Definition: mergesort.cpp:74

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

Definition at line 58 of file mergesort.cpp.

58 { m_content = src.m_content; }
image::m_content
int m_content
Definition: mergesort.cpp:74

## Member Function Documentation

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

Definition at line 60 of file mergesort.cpp.

61 {
62 { // simulate time needed for image comparision
63 boost::xtime xt;
64 boost::xtime_get( &xt, boost::TIME_UTC );
65 int duration = 1 + ( m_content % 4 );
66 xt.nsec += 250 * 1000 * duration;
67 boost::thread::sleep( xt );
68 print( "." );
69 }
70 return m_content < l.m_content;
71 }
image::m_content
int m_content
Definition: mergesort.cpp:74
print
void print(string text)
Definition: mergesort.cpp:30

## Member Data Documentation

int image::m_content
| protected

Definition at line 74 of file mergesort.cpp.

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

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