#include <cbdata.h>

Collaboration diagram for generic_cbdata:

Public Member Functions

void * operator new (size_t size)
 
void operator delete (void *address)
 
void * toCbdata () noexcept
 
 generic_cbdata (void *aData)
 
template<typename wrapped_type >
void unwrap (wrapped_type **output)
 

Private Attributes

void * data
 

Static Private Attributes

static cbdata_type CBDATA_generic_cbdata = CBDATA_UNKNOWN
 

Detailed Description

A generic wrapper for passing object pointers through cbdata. Use this when you need to pass callback data to a blocking operation, but you don't want to/cannot have that pointer be cbdata itself.

Definition at line 358 of file cbdata.h.

Constructor & Destructor Documentation

generic_cbdata::generic_cbdata ( void *  aData)
inline

Definition at line 363 of file cbdata.h.

Member Function Documentation

void generic_cbdata::operator delete ( void *  address)
inline

Definition at line 360 of file cbdata.h.

void* generic_cbdata::operator new ( size_t  size)
inline

Definition at line 360 of file cbdata.h.

void* generic_cbdata::toCbdata ( )
inlinenoexcept

Definition at line 360 of file cbdata.h.

template<typename wrapped_type >
void generic_cbdata::unwrap ( wrapped_type **  output)
inline

Definition at line 365 of file cbdata.h.

References data.

Member Data Documentation

cbdata_type generic_cbdata::CBDATA_generic_cbdata = CBDATA_UNKNOWN
staticprivate

Definition at line 360 of file cbdata.h.

void* generic_cbdata::data
private

Definition at line 371 of file cbdata.h.

Referenced by unwrap().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors