Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SPassiveMachinesMod Class Reference

#include <SPassiveMachinesMod.h>

Inherits SModifier.

Inherited by SMachinesMod.

Inheritance diagram for SPassiveMachinesMod:

Inheritance graph
[legend]
List of all members.

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

SFlexLexergetLexer (std::istream &in)

Detailed Description

Modifier for passive machines.
See also:
SPassiveMachines


Constructor & Destructor Documentation

SPassiveMachinesMod::SPassiveMachinesMod SPassiveMachines   passMach [inline]
 

Constructor


Member Function Documentation

SFlexLexer & SModifier::getLexer std::istream &    in [protected, inherited]
 

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.

Parameters:
in  input stream

bool SPassiveMachinesMod::load std::istream &    in [virtual]
 

Load passive machines from stream

Parameters:
in  input stream
Returns:
true if successfull, otherwise false

Implements SModifier.

Reimplemented in SMachinesMod.

virtual void SModifier::sample   [inline, virtual, inherited]
 

Reimplemented in SBroadcastMod, SIdenticalMod, SOpenShopMod, SUniformMod, SUnrelatedMod, SAtomarJobMod, SBroadcastRequMod, SMalleableJobMod, SParallelJobMod, SShopJobMod, SPrecBrokerMod, SPrecDAGMod, STaskSystemMod, SDimArrayMod, SHypercubeMod, SLineTopologyMod, SMeshNMod, SMeshTopologyMod, SSetTopologyMod, and SSingleTopologyMod.

void SPassiveMachinesMod::save std::ostream &    out const [virtual]
 

Save to stream

Implements SModifier.

Reimplemented in SMachinesMod.

void SPassiveMachinesMod::setNumOfMachines int    num
 

Set the number of machines

void SPassiveMachinesMod::setTaskSys STaskSystem   ts
 

Set the tasksystem

void SPassiveMachinesMod::setTopology STopology   top
 

Set the topology


The documentation for this class was generated from the following files:
Generated on Thu May 22 16:50:51 2003 for Sketch-it! by doxygen1.2.18