xrootd
Public Member Functions | Private Attributes | List of all members
ProgressDisplay Class Reference
Inheritance diagram for ProgressDisplay:
Inheritance graph
[legend]
Collaboration diagram for ProgressDisplay:
Collaboration graph
[legend]

Public Member Functions

 ProgressDisplay ()
 Constructor. More...
 
virtual void BeginJob (uint16_t jobNum, uint16_t jobTotal, const XrdCl::URL *source, const XrdCl::URL *destination)
 Begin job. More...
 
virtual void EndJob (const XrdCl::XRootDStatus &)
 End job. More...
 
virtual void JobProgress (uint64_t bytesProcessed, uint64_t bytesTotal)
 Job progress. More...
 
- Public Member Functions inherited from XrdCl::CopyProgressHandler
virtual ~CopyProgressHandler ()
 

Private Attributes

uint64_t pBytesProcessed
 
uint64_t pBytesTotal
 
time_t pPrevious
 

Constructor & Destructor Documentation

ProgressDisplay::ProgressDisplay ( )
inline

Constructor.

Member Function Documentation

virtual void ProgressDisplay::BeginJob ( uint16_t  jobNum,
uint16_t  jobTotal,
const XrdCl::URL source,
const XrdCl::URL destination 
)
inlinevirtual

Begin job.

Implements XrdCl::CopyProgressHandler.

References XrdCl::URL::GetURL(), and pPrevious.

virtual void ProgressDisplay::EndJob ( const XrdCl::XRootDStatus )
inlinevirtual

End job.

Implements XrdCl::CopyProgressHandler.

References JobProgress(), pBytesProcessed, and pBytesTotal.

virtual void ProgressDisplay::JobProgress ( uint64_t  bytesProcessed,
uint64_t  bytesTotal 
)
inlinevirtual

Job progress.

Implements XrdCl::CopyProgressHandler.

References XrdCl::Utils::BytesToString(), pBytesProcessed, pBytesTotal, and pPrevious.

Referenced by EndJob().

Member Data Documentation

uint64_t ProgressDisplay::pBytesProcessed
private

Referenced by EndJob(), and JobProgress().

uint64_t ProgressDisplay::pBytesTotal
private

Referenced by EndJob(), and JobProgress().

time_t ProgressDisplay::pPrevious
private

Referenced by BeginJob(), and JobProgress().


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