VIPRA Documentation
Loading...
Searching...
No Matches
VIPRA::Behaviors::Event Class Reference

An Event is something that occurs during a simulation, when an event starts it notifies it's subscribing functions and same when it ends. More...

#include <event.hpp>

Public Member Functions

 Event (std::string name)
 
void evaluate (auto pack)
 
void set_start_condition (Condition const &condition)
 
void set_end_condition (Condition const &condition)
 
auto is_occurring () const -> bool
 
auto has_occurred () const -> bool
 
auto is_starting () const -> bool
 
auto is_ending () const -> bool
 
void set_status (EventStatus status)
 
auto get_status () const -> EventStatus const &
 
auto get_name () const -> std::string const &
 

Detailed Description

An Event is something that occurs during a simulation, when an event starts it notifies it's subscribing functions and same when it ends.


The documentation for this class was generated from the following file: