OpendTect-6_4  6.4
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 ()
 
QNetworkReply * qNetworkReply ()
 
void setBytesUploaded (const od_int64 bytes)
 
void setTotalBytesToUpload (const od_int64 bytes)
 
od_int64 getBytesUploaded ()
 
od_int64 getTotalBytesToUpload ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Public Attributes

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

Protected Member Functions

bool errorOccurred (CallBacker *)
 
bool finish (CallBacker *)
 
bool dataAvailable (CallBacker *)
 
bool uploadStatus (CallBacker *)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

od_int64 bytesuploaded_
 
od_int64 totalbytestoupload_
 
QEventLoop * qeventloop_
 
QNetworkReplyConnqnetworkreplyconn_
 
QNetworkReply * qnetworkreply_
 

Friends

class QNetworkReplyConn
 

Detailed Description

Constructor & Destructor Documentation

ODNetworkReply::ODNetworkReply ( QNetworkReply *  ,
QEventLoop *   
)

QNetworkReply becomes mine.

ODNetworkReply::~ODNetworkReply ( )

Member Function Documentation

bool ODNetworkReply::dataAvailable ( CallBacker )
protected
bool ODNetworkReply::errorOccurred ( CallBacker )
protected
bool ODNetworkReply::finish ( CallBacker )
protected
od_int64 ODNetworkReply::getBytesUploaded ( )
inline
od_int64 ODNetworkReply::getTotalBytesToUpload ( )
inline
QNetworkReply* ODNetworkReply::qNetworkReply ( )
inline
void ODNetworkReply::setBytesUploaded ( const od_int64  bytes)
inline
void ODNetworkReply::setTotalBytesToUpload ( const od_int64  bytes)
inline
bool ODNetworkReply::uploadStatus ( CallBacker )
protected

Friends And Related Function Documentation

friend class QNetworkReplyConn
friend

Member Data Documentation

Notifier<ODNetworkReply> ODNetworkReply::aboutToClose
od_int64 ODNetworkReply::bytesuploaded_
protected
Notifier<ODNetworkReply> ODNetworkReply::bytesWritten
Notifier<ODNetworkReply> ODNetworkReply::downloadProgress
Notifier<ODNetworkReply> ODNetworkReply::error
Notifier<ODNetworkReply> ODNetworkReply::finished
Notifier<ODNetworkReply> ODNetworkReply::metaDataChanged
QEventLoop* ODNetworkReply::qeventloop_
protected
QNetworkReply* ODNetworkReply::qnetworkreply_
protected
QNetworkReplyConn* ODNetworkReply::qnetworkreplyconn_
protected
Notifier<ODNetworkReply> ODNetworkReply::readyRead
od_int64 ODNetworkReply::totalbytestoupload_
protected
Notifier<ODNetworkReply> ODNetworkReply::uploadProgress

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