Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QCFSocketNotifier Class Reference

#include <qcfsocketnotifier_p.h>

+ Collaboration diagram for QCFSocketNotifier:

Public Member Functions

 QCFSocketNotifier ()
 
 ~QCFSocketNotifier ()
 
void setHostEventDispatcher (QAbstractEventDispatcher *hostEventDispacher)
 
void setMaybeCancelWaitForMoreEventsCallback (MaybeCancelWaitForMoreEventsFn callBack)
 
void registerSocketNotifier (QSocketNotifier *notifier)
 
void unregisterSocketNotifier (QSocketNotifier *notifier)
 
void removeSocketNotifiers ()
 

Friends

void qt_mac_socket_callback (CFSocketRef, CFSocketCallBackType, CFDataRef, const void *, void *)
 

Detailed Description

Definition at line 49 of file qcfsocketnotifier_p.h.

Constructor & Destructor Documentation

◆ QCFSocketNotifier()

QCFSocketNotifier::QCFSocketNotifier ( )

Definition at line 76 of file qcfsocketnotifier.cpp.

◆ ~QCFSocketNotifier()

QCFSocketNotifier::~QCFSocketNotifier ( )

Definition at line 84 of file qcfsocketnotifier.cpp.

Member Function Documentation

◆ registerSocketNotifier()

void QCFSocketNotifier::registerSocketNotifier ( QSocketNotifier * notifier)

Definition at line 99 of file qcfsocketnotifier.cpp.

References context, QThread::currentThread(), QSocketNotifier::Exception, QHash< Key, T >::insert(), notifier, Q_ASSERT, qt_mac_socket_callback, qWarning, QSocketNotifier::Read, QObject::thread(), QHash< Key, T >::value(), and QSocketNotifier::Write.

+ Here is the call graph for this function:

◆ removeSocketNotifiers()

void QCFSocketNotifier::removeSocketNotifiers ( )

Definition at line 213 of file qcfsocketnotifier.cpp.

References QHash< Key, T >::clear().

+ Here is the call graph for this function:

◆ setHostEventDispatcher()

void QCFSocketNotifier::setHostEventDispatcher ( QAbstractEventDispatcher * hostEventDispacher)

Definition at line 89 of file qcfsocketnotifier.cpp.

◆ setMaybeCancelWaitForMoreEventsCallback()

void QCFSocketNotifier::setMaybeCancelWaitForMoreEventsCallback ( MaybeCancelWaitForMoreEventsFn callBack)

Definition at line 94 of file qcfsocketnotifier.cpp.

◆ unregisterSocketNotifier()

void QCFSocketNotifier::unregisterSocketNotifier ( QSocketNotifier * notifier)

Definition at line 167 of file qcfsocketnotifier.cpp.

References QThread::currentThread(), QSocketNotifier::Exception, notifier, Q_ASSERT, qWarning, QSocketNotifier::Read, QHash< Key, T >::remove(), QObject::thread(), QHash< Key, T >::value(), and QSocketNotifier::Write.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ qt_mac_socket_callback

void qt_mac_socket_callback ( CFSocketRef s,
CFSocketCallBackType callbackType,
CFDataRef ,
const void * data,
void * info )
friend

Definition at line 14 of file qcfsocketnotifier.cpp.

Referenced by registerSocketNotifier().


The documentation for this class was generated from the following files: