VTK
Classes | Public Member Functions | List of all members
vtkSMPThreadLocalObject< T > Class Template Reference

Thread local storage for VTK objects. More...

#include <vtkSMPThreadLocalObject.h>

Inheritance diagram for vtkSMPThreadLocalObject< T >:
[legend]

Classes

class  iterator
 

Public Member Functions

virtual ~vtkSMPThreadLocalObject ()
 
 vtkSMPThreadLocalObject ()
 
T *& Local ()
 
iterator begin ()
 
iterator end ()
 

Detailed Description

template<typename T>
class vtkSMPThreadLocalObject< T >

Thread local storage for VTK objects.

This class essentially does the same thing as vtkSMPThreadLocal with 2 additional functions:

Definition at line 82 of file vtkSMPThreadLocalObject.h.

Constructor & Destructor Documentation

template<typename T>
vtkSMPThreadLocalObject< T >::vtkSMPThreadLocalObject ( )
inline

Default constructor.

Definition at line 95 of file vtkSMPThreadLocalObject.h.

template<typename T>
virtual vtkSMPThreadLocalObject< T >::~vtkSMPThreadLocalObject ( )
inlinevirtual

Definition at line 100 of file vtkSMPThreadLocalObject.h.

Member Function Documentation

template<typename T>
T*& vtkSMPThreadLocalObject< T >::Local ( )
inline

Returns an object local to the current thread. This object is allocated with ::New() and will be deleted in the destructor of vtkSMPThreadLocalObject.

Definition at line 117 of file vtkSMPThreadLocalObject.h.

template<typename T>
iterator vtkSMPThreadLocalObject< T >::begin ( )
inline

Definition at line 158 of file vtkSMPThreadLocalObject.h.

template<typename T>
iterator vtkSMPThreadLocalObject< T >::end ( )
inline

Definition at line 165 of file vtkSMPThreadLocalObject.h.


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