Class Viewer::View¶
Defined in File Viewer.hpp
Nested Relationships¶
This class is a nested type of Class Viewer.
Nested Types¶
Class Documentation¶
-
class
rmf_traffic::schedule::Viewer
::
View
A read-only view of some Trajectories in a Database or Mirror.
It is undefined behavior to modify a Database or patch a Mirror while reading Trajectories from this view. The user of this class is responsible for managing access to reads vs access to writes.
Public Types
-
using
base_iterator
= rmf_traffic::detail::bidirectional_iterator<E, I, F>
-
using
const_iterator
= base_iterator<const Element, IterImpl, View>
-
using
iterator
= const_iterator
Public Functions
-
const_iterator
begin
() const Returns an iterator to the first element of the View.
-
const_iterator
end
() const Returns an iterator to the element following the last element of the View.
-
std::size_t
size
() const Returns the number of elements in this View.
-
struct
Element
Public Members
-
const ParticipantId
participant
-
const PlanId
plan_id
-
const RouteId
route_id
-
const std::shared_ptr<const Route>
route
-
const ParticipantDescription &
description
-
const ParticipantId
-
using