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) |
Public Member Functions inherited from frepple::utils::TimeLine< type >::Event | |
| double | getCumulativeConsumed () const |
| double | getCumulativeProduced () const |
| const Date & | getDate () const |
| virtual double | getMin (bool inclusive=true) const |
| double | getOnhand () const |
| virtual double | getQuantity () const |
| virtual TimeLine< type > * | getTimeLine () const |
| bool | operator< (const Event &fl2) const |
| virtual | ~Event () |
Protected Attributes | |
| EventMaxQuantity * | prevMax |
Protected Attributes inherited from frepple::utils::TimeLine< type >::Event | |
| double | cum_prod |
| Date | dt |
| Event * | next |
| double | oh |
| Event * | prev |
Friends | |
| class | Event |
| class | TimeLine< type > |
Additional Inherited Members | |
Protected Member Functions inherited from frepple::utils::TimeLine< type >::Event | |
| Event () | |
A timeline event representing a change of the maximum target.
Definition at line 168 of file timeline.h.
|
inline |
Definition at line 177 of file timeline.h.
|
inlinevirtual |
This functions returns the maximum boundary valid at the time of this event.
Reimplemented from frepple::utils::TimeLine< type >::Event.
Definition at line 180 of file timeline.h.
|
inlinevirtual |
Implements frepple::utils::TimeLine< type >::Event.
Definition at line 185 of file timeline.h.
|
inline |
Definition at line 179 of file timeline.h.
|
friend |
Definition at line 170 of file timeline.h.
|
friend |
Definition at line 171 of file timeline.h.
|
protected |
Definition at line 175 of file timeline.h.