glibmm: Glib::StaticPrivate< T > Struct Template Reference
Thread-local data pointer. More...
#include </home/kjell/checkout/gnome/glibmm-2.4/glib/glibmm/thread.h>
Public Types | |
| using | DestroyNotifyFunc = void(*)(void*) |
Public Member Functions | |
| T* | get () |
| void | set (T* data, DestroyNotifyFunc notify_func=&StaticPrivate< T >::delete_ptr) |
| GStaticPrivate* | gobj () |
Static Public Member Functions | |
| static void | delete_ptr (void* data) |
Related Functions | |
(Note that these are not member functions.) | |
| #define | GLIBMM_STATIC_PRIVATE_INIT { G_STATIC_PRIVATE_INIT } |
| Initializer macro for Glib::StaticPrivate. More... | |
Detailed Description
template<class T>
struct Glib::StaticPrivate< T >
Thread-local data pointer.
- Deprecated:
- Use Glib::Threads::Private instead, which can be used statically.
Member Typedef Documentation
template <class T >
| using Glib::StaticPrivate< T >::DestroyNotifyFunc = void (*) (void*) |
Member Function Documentation
template <class T >
|
static |
template <class T >
|
inline |
template <class T >
|
inline |
template <class T >
|
inline |
Friends And Related Function Documentation
template <class T >
|
related |
Initializer macro for Glib::StaticPrivate.
- Deprecated:
- Glib::StaticPrivate is deprecated in favour of Glib::Threads::Private, which can be used statically.
