1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#ifndef TUPEL_H #define TUPEL_H #include "../incl.h" #define mutexed_tupel tupel using namespace std; template<class obj_type> class tupel { private: pthread_mutex_t mut_tupel; obj_type t_obj; public: tupel(); tupel(obj_type t_obj); ~tupel(); inline obj_type get_elem(); inline void set_elem(obj_type t_obj); }; #include "tupel.tmpl" #endif