Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Private Attributes
jafar::rtslam::display::ThreadSafeGarbageCollector< T > Class Template Reference

release and garbageCollect are thread safe but garbageCollect is not thread safe with itself, but it is not useful (would need another mutex) More...


Detailed Description

template<typename T>
class jafar::rtslam::display::ThreadSafeGarbageCollector< T >

release and garbageCollect are thread safe but garbageCollect is not thread safe with itself, but it is not useful (would need another mutex)

Definition at line 234 of file display.hpp.

#include <display.hpp>

List of all members.

Classes

struct  Destroy

Public Member Functions

template<typename U >
void release (U *item)
void garbageCollect ()

Private Attributes

int gcn
std::vector< T > gc [2]
boost::mutex m

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:46 for Jafar by doxygen 1.7.6.1
LAAS-CNRS