generic_cbdata Class Reference
#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.
Constructor & Destructor Documentation
◆ generic_cbdata()
Member Function Documentation
◆ operator delete()
|
inline |
◆ operator new()
◆ toCbdata()
◆ unwrap()
template<typename wrapped_type >
|
inline |
Member Data Documentation
◆ CBDATA_generic_cbdata
|
staticprivate |
◆ data
The documentation for this class was generated from the following files: