This class defines a material flow to/from a buffer, linked with an operation. This subclass represents a flow that is at the start date of the operation. More...
#include <model.h>
Public Member Functions | |
FlowStart () | |
FlowStart (Operation *o, Buffer *b, double q) | |
virtual size_t | getSize () const |
virtual const MetaClass & | getType () const |
virtual void | solve (Solver &s, void *v=NULL) 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 the start date of the operation.
Definition at line 3443 of file model.h.
frepple::FlowStart::FlowStart | ( | ) | [inline, explicit] |
virtual size_t frepple::FlowStart::getSize | ( | ) | const [inline, virtual] |
Return the memory size of the object in bytes.
Reimplemented from frepple::Flow.
virtual const MetaClass& frepple::FlowStart::getType | ( | ) | const [inline, virtual] |
This returns the type information on the object, a bit similar to the standard type_info information.
Reimplemented from frepple::Flow.
virtual void frepple::FlowStart::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.
const MetaClass * frepple::FlowStart::metadata [static] |
Reimplemented from frepple::Flow.