Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
SoftwareAndServices::Library::Common::Poll::CallBacks::CbData Struct Reference

The Callback user data. More...

#include </home/doug/src/SoftwareAndServices/libSaSCommon/Poll.hpp>

+ Inheritance diagram for SoftwareAndServices::Library::Common::Poll::CallBacks::CbData:
+ Collaboration diagram for SoftwareAndServices::Library::Common::Poll::CallBacks::CbData:

Public Member Functions

 CbData (const PollFunc_t func)
 CbData - Constructor. More...
 
virtual ~CbData ()
 CbData - Destructor. More...
 
virtual InstanceCount_t decInstance () const
 Decrement the instance. More...
 
virtual InstanceCount_t getInstance () const
 
virtual InstanceCount_t incInstance () const
 Increment the instance. More...
 
void operator delete (void *ToFree)
 

Public Attributes

char * Buf
 the buffer. More...
 
PollFunc_t Cb
 The callback function. More...
 
bool IsMMapped
 Number of queue elements. More...
 
unsigned int Size
 Size of buf. More...
 

Detailed Description

The Callback user data.

Definition at line 677 of file Poll.hpp.

Constructor & Destructor Documentation

◆ CbData()

SoftwareAndServices::Library::Common::Poll::CallBacks::CbData::CbData ( const PollFunc_t  func)

CbData - Constructor.

Parameters
funcThe PollFunc_t that uses this data.

◆ ~CbData()

virtual SoftwareAndServices::Library::Common::Poll::CallBacks::CbData::~CbData ( )
virtual

CbData - Destructor.

Member Function Documentation

◆ decInstance()

virtual InstanceCount_t SoftwareAndServices::Library::Common::instance< CbData >::decInstance ( ) const
inlinevirtualinherited

Decrement the instance.

Returns
The instance count, after decrementing it.

Definition at line 129 of file instance.hpp.

◆ getInstance()

virtual InstanceCount_t SoftwareAndServices::Library::Common::instance< CbData >::getInstance ( ) const
inlinevirtualinherited
Returns
The current instance count.

Definition at line 118 of file instance.hpp.

◆ incInstance()

virtual InstanceCount_t SoftwareAndServices::Library::Common::instance< CbData >::incInstance ( ) const
inlinevirtualinherited

Increment the instance.

Returns
The instance value, after incrementing it.

Definition at line 109 of file instance.hpp.

Member Data Documentation

◆ Buf

char* SoftwareAndServices::Library::Common::Poll::CallBacks::CbData::Buf

the buffer.

Definition at line 706 of file Poll.hpp.

◆ Cb

PollFunc_t SoftwareAndServices::Library::Common::Poll::CallBacks::CbData::Cb

The callback function.

Definition at line 696 of file Poll.hpp.

◆ IsMMapped

bool SoftwareAndServices::Library::Common::Poll::CallBacks::CbData::IsMMapped

Number of queue elements.

(defaults to 1)

Definition at line 711 of file Poll.hpp.

◆ Size

unsigned int SoftwareAndServices::Library::Common::Poll::CallBacks::CbData::Size

Size of buf.

Definition at line 701 of file Poll.hpp.


The documentation for this struct was generated from the following file: