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:


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...
 The IO buffered File pointer. More...
 The POLLERR callback. More...
 The POLLHUP callback. More...
 The POLLIN callback. More...
 The POLLNVAL callback. More...
 The POLLOUT callback. More...
 The POLLPRI callback. More...
 Pointer to the Poll object. More...
 The POLLRDBAND callback. More...
 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.

OtherThe callBacks to copy from.

◆ ~CallBacks()

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

callBacks - Destructor.

Member Function Documentation

◆ decInstance()

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

Decrement the instance.

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
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
The current instance count.

Definition at line 118 of file instance.hpp.

◆ incInstance()

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

Increment the instance.

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: