|
xrootd
|


Public Member Functions | |
| ProgressDisplay () | |
| Constructor. | |
| virtual void | BeginJob (uint16_t jobNum, uint16_t jobTotal, const XrdCl::URL *source, const XrdCl::URL *destination) |
| Begin job. | |
| virtual void | EndJob (const XrdCl::XRootDStatus &) |
| End job. | |
| virtual void | JobProgress (uint64_t bytesProcessed, uint64_t bytesTotal) |
| Job progress. | |
Private Attributes | |
| uint64_t | pBytesProcessed |
| uint64_t | pBytesTotal |
| time_t | pPrevious |
| ProgressDisplay::ProgressDisplay | ( | ) | [inline] |
Constructor.
| virtual void ProgressDisplay::BeginJob | ( | uint16_t | jobNum, |
| uint16_t | jobTotal, | ||
| const XrdCl::URL * | source, | ||
| const XrdCl::URL * | destination | ||
| ) | [inline, virtual] |
| virtual void ProgressDisplay::EndJob | ( | const XrdCl::XRootDStatus & | ) | [inline, virtual] |
End job.
Implements XrdCl::CopyProgressHandler.
References JobProgress(), pBytesProcessed, and pBytesTotal.
| virtual void ProgressDisplay::JobProgress | ( | uint64_t | bytesProcessed, |
| uint64_t | bytesTotal | ||
| ) | [inline, virtual] |
Job progress.
Implements XrdCl::CopyProgressHandler.
References XrdCl::Utils::BytesToString(), pBytesProcessed, pBytesTotal, and pPrevious.
Referenced by EndJob().
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().
1.7.6.1