OpendTect  6.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
ODNetworkReply Class Reference
Inheritance diagram for ODNetworkReply:
[legend]

Public Member Functions

 ODNetworkReply (QNetworkReply *, QEventLoop *)
 QNetworkReply becomes mine. More...
 
 ~ODNetworkReply ()
 
od_int64 getBytesUploaded ()
 
od_int64 getTotalBytesToUpload ()
 
QNetworkReply * qNetworkReply ()
 
void setBytesUploaded (const od_int64 bytes)
 
void setTotalBytesToUpload (const od_int64 bytes)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Public Attributes

Notifier< ODNetworkReplyaboutToClose
 
Notifier< ODNetworkReplybytesWritten
 
Notifier< ODNetworkReplydownloadProgress
 
Notifier< ODNetworkReplyerror
 
Notifier< ODNetworkReplyfinished
 
Notifier< ODNetworkReplymetaDataChanged
 
Notifier< ODNetworkReplyreadyRead
 
Notifier< ODNetworkReplyuploadProgress
 

Protected Member Functions

void dataAvailable (CallBacker *)
 
void errorOccurred (CallBacker *)
 
void finish (CallBacker *)
 
void uploadStatus (CallBacker *)
 

Protected Attributes

od_int64 bytesuploaded_
 
QEventLoop * qeventloop_
 
QNetworkReply * qnetworkreply_
 
QNetworkReplyConnqnetworkreplyconn_
 
od_int64 totalbytestoupload_
 

Friends

class QNetworkReplyConn
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ ODNetworkReply()

ODNetworkReply::ODNetworkReply ( QNetworkReply *  ,
QEventLoop *   
)

QNetworkReply becomes mine.

◆ ~ODNetworkReply()

ODNetworkReply::~ODNetworkReply ( )

Member Function Documentation

◆ dataAvailable()

void ODNetworkReply::dataAvailable ( CallBacker )
protected

◆ errorOccurred()

void ODNetworkReply::errorOccurred ( CallBacker )
protected

◆ finish()

void ODNetworkReply::finish ( CallBacker )
protected

◆ getBytesUploaded()

od_int64 ODNetworkReply::getBytesUploaded ( )
inline

◆ getTotalBytesToUpload()

od_int64 ODNetworkReply::getTotalBytesToUpload ( )
inline

◆ qNetworkReply()

QNetworkReply* ODNetworkReply::qNetworkReply ( )
inline

◆ setBytesUploaded()

void ODNetworkReply::setBytesUploaded ( const od_int64  bytes)
inline

◆ setTotalBytesToUpload()

void ODNetworkReply::setTotalBytesToUpload ( const od_int64  bytes)
inline

◆ uploadStatus()

void ODNetworkReply::uploadStatus ( CallBacker )
protected

Friends And Related Function Documentation

◆ QNetworkReplyConn

friend class QNetworkReplyConn
friend

Member Data Documentation

◆ aboutToClose

Notifier<ODNetworkReply> ODNetworkReply::aboutToClose

◆ bytesuploaded_

od_int64 ODNetworkReply::bytesuploaded_
protected

◆ bytesWritten

Notifier<ODNetworkReply> ODNetworkReply::bytesWritten

◆ downloadProgress

Notifier<ODNetworkReply> ODNetworkReply::downloadProgress

◆ error

Notifier<ODNetworkReply> ODNetworkReply::error

◆ finished

Notifier<ODNetworkReply> ODNetworkReply::finished

◆ metaDataChanged

Notifier<ODNetworkReply> ODNetworkReply::metaDataChanged

◆ qeventloop_

QEventLoop* ODNetworkReply::qeventloop_
protected

◆ qnetworkreply_

QNetworkReply* ODNetworkReply::qnetworkreply_
protected

◆ qnetworkreplyconn_

QNetworkReplyConn* ODNetworkReply::qnetworkreplyconn_
protected

◆ readyRead

Notifier<ODNetworkReply> ODNetworkReply::readyRead

◆ totalbytestoupload_

od_int64 ODNetworkReply::totalbytestoupload_
protected

◆ uploadProgress

Notifier<ODNetworkReply> ODNetworkReply::uploadProgress

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022