36 [[nodiscard]]
static Event makeEvent(
37 const DurationSize time,
66 const DurationSize time,
106 const DurationSize time,
142 [[nodiscard]]
constexpr DurationSize
time()
const
180 constexpr Event(
const DurationSize time,
183 const DurationSize time_at_location)
A specific Event scheduled in a specific Scenario.
Definition Event.h:19
static Event makeFireSpread(const DurationSize time, const Cell &cell)
Make fire spread event.
Definition Event.h:105
constexpr DurationSize timeAtLocation() const
Duration that Event Cell has been burning (decimal days)
Definition Event.h:158
constexpr DurationSize time() const
Time of Event (decimal days)
Definition Event.h:142
Event(const Event &rhs)=delete
Copy constructor.
constexpr Event(const DurationSize time, const Cell &cell, const Type type, const DurationSize time_at_location)
Constructor.
Definition Event.h:180
constexpr const Cell & cell() const
Cell Event takes place in.
Definition Event.h:166
constexpr Type type() const
Type of Event.
Definition Event.h:150
Type
Type of Event.
Definition Event.h:30
DurationSize time_
Time to schedule for.
Definition Event.h:193
Cell cell_
Cell to spread in.
Definition Event.h:201
Event & operator=(Event &&rhs) noexcept=default
Move assignment.
static Event makeNewFire(const DurationSize time, const Cell &cell)
Make new fire event.
Definition Event.h:65
Type type_
Type of Event.
Definition Event.h:205
Event & operator=(const Event &rhs)=delete
Copy assignment.
Event(Event &&rhs) noexcept=default
Move constructor.
static constexpr Cell NoLocation
Cell representing no location.
Definition Event.h:24
static Event makeSave(const DurationSize time)
Make simulation save event.
Definition Event.h:79
static Event makeFireSpread(const DurationSize time)
Make fire spread event.
Definition Event.h:91
static Event makeEnd(const DurationSize time)
Make simulation end event.
Definition Event.h:52
DurationSize time_at_location_
Duration that Event Cell has been burning (decimal days)
Definition Event.h:197
A Position with a Slope, Aspect, and Fuel.
Definition Cell.h:20
Direction with access to degrees or radians.
Definition Weather.h:64