#include <Pending.h>
Inheritance diagram for zypp::solver::detail::Pending:

Public Member Functions | |
| Pending (const char *description) | |
| virtual | ~Pending () |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
| Overload to realize std::ostream & operator<<. | |
| std::string | asString (void) const |
| const char * | description (void) const |
| void | setDescription (const char *description) |
| int | id (void) const |
| PendingStatus | status (void) const |
| double | percentComplete (void) const |
| size_t | completedSize (void) const |
| size_t | totalSize (void) const |
| time_t | startTime (void) const |
| time_t | lastTime (void) const |
| time_t | pollTime (void) const |
| int | elapsedSecs (void) const |
| int | expectedSecs (void) const |
| int | remainingSecs (void) const |
| std::list< const char * > | messages (void) const |
| const char * | latestMessage (void) const |
| Pending_Ptr | lookupById (int id) |
| std::list< Pending_Ptr > | getAllActiveIds (void) |
| void | begin (void) |
| void | update (double percent_complete) |
| void | updateBySize (size_t size, size_t total_size) |
| void | finished (int retval) |
| void | abort (int retval) |
| void | fail (int retval, const char *error_msg) |
| bool | isActive (void) |
| const char * | errorMsg (void) |
| void | addMessage (const char *message) |
Static Public Member Functions | |
| static std::string | toString (const Pending §ion) |
Private Types | |
| enum | PendingStatus { PENDING_STATUS_INVALID = 0, PENDING_STATUS_PRE_BEGIN, PENDING_STATUS_RUNNING, PENDING_STATUS_BLOCKING, PENDING_STATUS_ABORTED, PENDING_STATUS_FAILED, PENDING_STATUS_FINISHED } |
Private Member Functions | |
| const char * | pendingStatusToString (PendingStatus status) |
Private Attributes | |
| char * | _description |
| int | _id |
| PendingStatus | _status |
| double | _percent_complete |
| size_t | _completed_size |
| size_t | _total_size |
| time_t | _start_time |
| time_t | _last_time |
| time_t | _poll_time |
| int | _retval |
| char * | _error_msg |
| std::list< const char * > | _messages |
| void(* | _update )(Pending_Ptr) |
| void(* | _complete )(Pending_Ptr) |
| void(* | _message )(Pending_Ptr) |
Friends | |
| std::ostream & | operator<< (std::ostream &, const Pending §ion) |
Definition at line 52 of file Pending.h.
|
|
|
|
|
Definition at line 73 of file Pending.cc. |
|
|
Definition at line 78 of file Pending.cc. |
|
|
|
|
|
Definition at line 51 of file Pending.cc. Referenced by asString(). |
|
|
Overload to realize std::ostream & operator<<.
Reimplemented from zypp::base::ReferenceCounted. |
|
|
Definition at line 44 of file Pending.cc. References toString(). Referenced by zypp::solver::detail::operator<<(). |
|
|
Definition at line 112 of file Pending.h. References _description. |
|
|
Definition at line 113 of file Pending.h. References _description. |
|
|
Definition at line 114 of file Pending.h. References _id. |
|
|
Definition at line 115 of file Pending.h. References _status. |
|
|
Definition at line 116 of file Pending.h. References _percent_complete. |
|
|
Definition at line 117 of file Pending.h. References _completed_size. |
|
|
Definition at line 118 of file Pending.h. References _total_size. |
|
|
Definition at line 119 of file Pending.h. References _start_time. |
|
|
Definition at line 120 of file Pending.h. References _last_time. |
|
|
Definition at line 121 of file Pending.h. References _poll_time. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 127 of file Pending.h. References _messages. |
|
|
Definition at line 128 of file Pending.h. References _error_msg. |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Definition at line 72 of file Pending.h. Referenced by description(), and setDescription(). |
|
|
Definition at line 73 of file Pending.h. Referenced by id(). |
|
|
Definition at line 75 of file Pending.h. Referenced by status(). |
|
|
Definition at line 77 of file Pending.h. Referenced by percentComplete(). |
|
|
Definition at line 79 of file Pending.h. Referenced by completedSize(). |
|
|
Definition at line 80 of file Pending.h. Referenced by totalSize(). |
|
|
Definition at line 82 of file Pending.h. Referenced by startTime(). |
|
|
Definition at line 83 of file Pending.h. Referenced by lastTime(). |
|
|
Definition at line 84 of file Pending.h. Referenced by pollTime(). |
|
|
|
|
|
Definition at line 87 of file Pending.h. Referenced by latestMessage(). |
|
|
Definition at line 89 of file Pending.h. Referenced by messages(). |
|
|
|
|
|
|
|
|
|
1.4.6