Doxygen changes
[ACE_TAO.git] / ACE / tests / Refcounted_Auto_Ptr_Test.h
blobbc723826f6841ed916974975fe61b605b58ec6aa
2 //=============================================================================
3 /**
4 * @file Refcounted_Auto_Ptr_Test.h
6 * Define class needed for generating templates. IBM C++ requires this to
7 * be in its own file for auto template instantiation.
9 * @author Steve Huston <shuston@riverace.com>
11 //=============================================================================
14 #ifndef ACE_TESTS_REFCOUNTED_AUTO_PTR_TEST_H
15 #define ACE_TESTS_REFCOUNTED_AUTO_PTR_TEST_H
17 #include "ace/Atomic_Op.h"
18 #include "ace/Synch.h"
20 struct Printer
22 Printer (const char *message);
23 ~Printer (void) ;
25 void print (void);
27 const char *message_;
28 unsigned int which_;
29 static ACE_Atomic_Op<ACE_SYNCH_MUTEX, unsigned int> current_instance_;
30 static ACE_Atomic_Op<ACE_SYNCH_MUTEX, long> instance_count_;
33 #endif /* ACE_TESTS_REFCOUNTED_AUTO_PTR_TEST_H */