Class Event

Class Documentation

class Event

Public Functions

inline Event(double time, std::function<void(double)> func, double freq = std::numeric_limits<double>::infinity())
inline bool operator<(const Event &e) const
inline std::function<void(double)> GetAction() const
inline double GetTime() const
inline double GetFrequency() const
inline void SetFrequency(double freq)
inline void SetTime(double time)

Public Members

double time_
double frequency_
double priority_ = 0.0
std::function<void(double)> action