Class Phase
Defined in File Phase.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Derived Type
public rmf_task::phases::RestoreBackup
(Class RestoreBackup)
Class Documentation
-
class Phase
Subclassed by rmf_task::phases::RestoreBackup
Public Types
-
class Active
Subclassed by rmf_task::Phase::Snapshot, rmf_task::phases::RestoreBackup::Active
Public Functions
-
virtual ConstTagPtr tag() const = 0
Tag of the phase.
-
virtual Event::ConstStatePtr final_event() const = 0
The Event that needs to finish for this phase to be complete.
-
virtual rmf_traffic::Duration estimate_remaining_time() const = 0
The estimated finish time for this phase.
-
virtual ~Active() = default
-
virtual ConstTagPtr tag() const = 0
-
class Completed
Information about a phase that has been completed.
Public Functions
-
Completed(ConstSnapshotPtr snapshot_, rmf_traffic::Time start_, rmf_traffic::Time finish_)
Constructor.
-
const ConstSnapshotPtr &snapshot() const
The final log of the phase.
-
rmf_traffic::Time start_time() const
The actual time that the phase started.
-
rmf_traffic::Time finish_time() const
The actual time that the phase finished.
-
Completed(ConstSnapshotPtr snapshot_, rmf_traffic::Time start_, rmf_traffic::Time finish_)
-
class Pending
Public Functions
-
Pending(ConstTagPtr tag)
Constructor.
-
const ConstTagPtr &tag() const
Tag of the phase.
-
bool will_be_skipped() const
Check if this phase is set to be skipped.
-
Pending(ConstTagPtr tag)
-
class Snapshot : public rmf_task::Phase::Active
Public Functions
-
virtual ConstTagPtr tag() const final
Tag of the phase.
-
virtual Event::ConstStatePtr final_event() const final
The Event that needs to finish for this phase to be complete.
-
virtual rmf_traffic::Duration estimate_remaining_time() const final
The estimated finish time for this phase.
Public Static Functions
-
static ConstSnapshotPtr make(const Active &active)
Make a snapshot of an Active phase.
-
virtual ConstTagPtr tag() const final
-
class Active