glibmm: Glib::Private Class Reference

glibmm 2.33.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Static Public Member Functions
Glib::Private Class Reference

Thread-local data pointer. More...

`#include <glibmm/thread.h>`

List of all members.

## Public Types
typedef void(* | DestructorFunc )(void*)
## Public Member Functions
| Private (DestructorFunc destructor_func=&Private< T >::delete_ptr)
T* | get ()
void | set (T* data)
GPrivate* | gobj ()
## Static Public Member Functions
static void | delete_ptr (void* data)

## Detailed Description

Thread-local data pointer.

Deprecated:
  Use Glib::Threads::Private instead.

## Member Typedef Documentation

typedef void(* Glib::Private::DestructorFunc)(void*)

## Constructor & Destructor Documentation

Glib::Private::Private | ( | DestructorFunc | destructor_func = `&Private< T >::delete_ptr` | ) | `[inline, explicit]`

## Member Function Documentation

static void Glib::Private::delete_ptr | ( | void * | data | ) | `[static]`

T* Glib::Private::get | ( |  | ) | `[inline]`

GPrivate* Glib::Private::gobj | ( |  | ) | `[inline]`

void Glib::Private::set | ( | T * | data | ) | `[inline]`