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

Classes

struct  CbData
 The Callback user data. More...
 

Public Member Functions

 CallBacks ()
 CallBacks - default Constructor. More...
 
 CallBacks (const CallBacks *Other)
 CallBacks - copy Constructor. More...
 
virtual ~CallBacks ()
 callBacks - Destructor. More...
 
virtual InstanceCount_t decInstance () const
 Decrement the instance. More...
 
PollFunc_t GetFunc (const unsigned short event) const
 
virtual InstanceCount_t getInstance () const
 
virtual InstanceCount_t incInstance () const
 Increment the instance. More...
 
void operator delete (void *ToFree)
 

Public Attributes

PollFunc_t AcceptCb
 The Transport callbacks are always called first, then if there is any user callback, they are called. More...
 
unsigned short Events
 Enabled events. More...
 
FileFilePtr
 The IO buffered File pointer. More...
 
CbDataPollErr
 The POLLERR callback. More...
 
CbDataPollHup
 The POLLHUP callback. More...
 
CbDataPollIn
 The POLLIN callback. More...
 
CbDataPollNVal
 The POLLNVAL callback. More...
 
CbDataPollOut
 The POLLOUT callback. More...
 
CbDataPollPri
 The POLLPRI callback. More...
 
PollPollPtr
 Pointer to the Poll object. More...
 
CbDataPollRdBand
 The POLLRDBAND callback. More...
 
CbDataPollWrBand
 The POLLWRBAND callback. More...
 

Detailed Description

Definition at line 652 of file Poll.hpp.

Constructor & Destructor Documentation

◆ CallBacks() [1/2]

SoftwareAndServices::Library::Common::Poll::CallBacks::CallBacks ( )

CallBacks - default Constructor.

◆ CallBacks() [2/2]

SoftwareAndServices::Library::Common::Poll::CallBacks::CallBacks ( const CallBacks Other)

CallBacks - copy Constructor.

Parameters
OtherThe callBacks to copy from.

◆ ~CallBacks()

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

callBacks - Destructor.

Member Function Documentation

◆ decInstance()

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

Decrement the instance.

Returns
The instance count, after decrementing it.

Definition at line 129 of file instance.hpp.

◆ GetFunc()

PollFunc_t SoftwareAndServices::Library::Common::Poll::CallBacks::GetFunc ( const unsigned short  event) const
Returns
The callback for the named events, or nullptr if none, or if events list have more then one callback.

◆ getInstance()

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

Definition at line 118 of file instance.hpp.

◆ incInstance()

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

Increment the instance.

Returns
The instance value, after incrementing it.

Definition at line 109 of file instance.hpp.

Member Data Documentation

◆ AcceptCb

PollFunc_t SoftwareAndServices::Library::Common::Poll::CallBacks::AcceptCb

The Transport callbacks are always called first, then if there is any user callback, they are called.

The ACCEPT callback.

Definition at line 727 of file Poll.hpp.

◆ Events

unsigned short SoftwareAndServices::Library::Common::Poll::CallBacks::Events

Enabled events.

Definition at line 717 of file Poll.hpp.

◆ FilePtr

File* SoftwareAndServices::Library::Common::Poll::CallBacks::FilePtr

The IO buffered File pointer.

Definition at line 772 of file Poll.hpp.

◆ PollErr

CbData* SoftwareAndServices::Library::Common::Poll::CallBacks::PollErr

The POLLERR callback.

Definition at line 757 of file Poll.hpp.

◆ PollHup

CbData* SoftwareAndServices::Library::Common::Poll::CallBacks::PollHup

The POLLHUP callback.

Definition at line 762 of file Poll.hpp.

◆ PollIn

CbData* SoftwareAndServices::Library::Common::Poll::CallBacks::PollIn

The POLLIN callback.

Definition at line 732 of file Poll.hpp.

◆ PollNVal

CbData* SoftwareAndServices::Library::Common::Poll::CallBacks::PollNVal

The POLLNVAL callback.

Definition at line 767 of file Poll.hpp.

◆ PollOut

CbData* SoftwareAndServices::Library::Common::Poll::CallBacks::PollOut

The POLLOUT callback.

Definition at line 747 of file Poll.hpp.

◆ PollPri

CbData* SoftwareAndServices::Library::Common::Poll::CallBacks::PollPri

The POLLPRI callback.

Definition at line 742 of file Poll.hpp.

◆ PollPtr

Poll* SoftwareAndServices::Library::Common::Poll::CallBacks::PollPtr

Pointer to the Poll object.

Definition at line 777 of file Poll.hpp.

◆ PollRdBand

CbData* SoftwareAndServices::Library::Common::Poll::CallBacks::PollRdBand

The POLLRDBAND callback.

Definition at line 737 of file Poll.hpp.

◆ PollWrBand

CbData* SoftwareAndServices::Library::Common::Poll::CallBacks::PollWrBand

The POLLWRBAND callback.

Definition at line 752 of file Poll.hpp.


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