A timeline event representing a change of the maximum target. More...
#include <timeline.h>
Public Member Functions | |
EventMaxQuantity (Date d, double f=0.0) | |
virtual double | getMax (bool inclusive=true) const |
virtual unsigned short | getType () const |
void | setMax (double f) |
Protected Attributes | |
EventMaxQuantity * | prevMax |
Friends | |
class | Event |
class | TimeLine< type > |
A timeline event representing a change of the maximum target.
Definition at line 173 of file timeline.h.
frepple::utils::TimeLine< type >::EventMaxQuantity::EventMaxQuantity | ( | Date | d, | |
double | f = 0.0 | |||
) | [inline] |
Definition at line 182 of file timeline.h.
virtual double frepple::utils::TimeLine< type >::EventMaxQuantity::getMax | ( | bool | inclusive = true |
) | const [inline, virtual] |
This functions returns the maximum boundary valid at the time of this event.
Reimplemented from frepple::utils::TimeLine< type >::Event.
Definition at line 185 of file timeline.h.
virtual unsigned short frepple::utils::TimeLine< type >::EventMaxQuantity::getType | ( | ) | const [inline, virtual] |
Implements frepple::utils::TimeLine< type >::Event.
Definition at line 190 of file timeline.h.
void frepple::utils::TimeLine< type >::EventMaxQuantity::setMax | ( | double | f | ) | [inline] |
Definition at line 184 of file timeline.h.
friend class Event [friend] |
Definition at line 175 of file timeline.h.
friend class TimeLine< type > [friend] |
Reimplemented from frepple::utils::TimeLine< type >::Event.
Definition at line 176 of file timeline.h.
EventMaxQuantity* frepple::utils::TimeLine< type >::EventMaxQuantity::prevMax [protected] |
Definition at line 180 of file timeline.h.