#include <SPassiveMachinesMod.h>
Inherits SModifier.
Inherited by SMachinesMod.
Inheritance diagram for SPassiveMachinesMod:
Public Methods | |
SPassiveMachinesMod (SPassiveMachines &passMach) | |
virtual bool | load (std::istream &in) |
virtual void | save (std::ostream &out) const |
void | setNumOfMachines (int num) |
void | setTaskSys (STaskSystem &ts) |
void | setTopology (STopology &top) |
virtual void | sample () |
Protected Methods | |
SFlexLexer & | getLexer (std::istream &in) |
|
Constructor |
|
Get a reference to the global lexical-analyzer, in order to parse an input stream. There is only one lexer for all modifiers in the tasksystem to avoid wasting space. When the input stream is switched, the current line number is set to 1.
|
|
Load passive machines from stream
Implements SModifier. Reimplemented in SMachinesMod. |
|
|
Save to stream Implements SModifier. Reimplemented in SMachinesMod. |
|
Set the number of machines |
|
Set the tasksystem |
|
Set the topology |