#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 360 of file cbdata.h.

Constructor & Destructor Documentation

◆ generic_cbdata()

generic_cbdata::generic_cbdata ( void *  aData)
inline

Definition at line 365 of file cbdata.h.

Member Function Documentation

◆ operator delete()

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

Definition at line 362 of file cbdata.h.

◆ operator new()

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

Definition at line 362 of file cbdata.h.

◆ toCbdata()

void * generic_cbdata::toCbdata ( )
inlinenoexcept

Definition at line 362 of file cbdata.h.

◆ unwrap()

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

Definition at line 367 of file cbdata.h.

References data.

Member Data Documentation

◆ CBDATA_generic_cbdata

cbdata_type generic_cbdata::CBDATA_generic_cbdata = CBDATA_UNKNOWN
staticprivate

Definition at line 362 of file cbdata.h.

◆ data

void* generic_cbdata::data
private

Definition at line 373 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