This class defines a material flow to/from a buffer, linked with an operation. This subclass represents a flow that is at end date of the operation. More...
#include <model.h>
Public Member Functions | |
FlowEnd (Operation *o, Buffer *b, double q) | |
FlowEnd () | |
virtual Date | getFlowplanDate (const FlowPlan *fl) const |
virtual size_t | getSize () const |
virtual const MetaClass & | getType () const |
virtual void | solve (Solver &s, void *v=NULL) const |
virtual void | writeElement (XMLOutput *, const Keyword &, mode=DEFAULT) const |
Static Public Attributes | |
static const MetaClass * | metadata |
This class defines a material flow to/from a buffer, linked with an operation. This subclass represents a flow that is at end date of the operation.
Definition at line 3463 of file model.h.
frepple::FlowEnd::FlowEnd | ( | ) | [inline, explicit] |
This method holds the logic the compute the date of a flowplan.
Reimplemented from frepple::Flow.
virtual size_t frepple::FlowEnd::getSize | ( | ) | const [inline, virtual] |
Reimplemented from frepple::Flow.
virtual const MetaClass& frepple::FlowEnd::getType | ( | ) | const [inline, virtual] |
Reimplemented from frepple::Flow.
virtual void frepple::FlowEnd::solve | ( | Solver & | s, | |
void * | v = NULL | |||
) | const [inline, virtual] |
This method is called by solver classes. The implementation of this class simply calls the solve method on the solver class. Using the polymorphism the solver can implement seperate methods for different plannable subclasses.
Reimplemented from frepple::Flow.
void frepple::FlowEnd::writeElement | ( | XMLOutput * | o, | |
const Keyword & | tag, | |||
mode | m = DEFAULT | |||
) | const [virtual] |
Reimplemented from frepple::Flow.
const MetaClass * frepple::FlowEnd::metadata [static] |
Reimplemented from frepple::Flow.