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

SMachinesMod Class Reference

#include <SMachinesMod.h>

Inherits SPassiveMachinesMod.

Inheritance diagram for SMachinesMod:

Inheritance graph
[legend]
List of all members.

Public Methods

 SMachinesMod (SMachines &machines)
virtual bool load (std::istream &in)
virtual void save (std::ostream &out) const
void setEnv (SEnvironment *pEnv)
void setNumOfMachines (int num)
void setTaskSys (STaskSystem &ts)
void setTopology (STopology &top)
virtual void sample ()

Protected Methods

SFlexLexer & getLexer (std::istream &in)

Detailed Description

Modifier of machines.
See also:
SMachines


Constructor & Destructor Documentation

SMachinesMod::SMachinesMod (  SMachines &    machines )  [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 SMachinesMod::load (  std::istream &    in )  [virtual]
 

Load machines from stream

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

Reimplemented from SPassiveMachinesMod.

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 SMachinesMod::save (  std::ostream &    out )  const [virtual]
 

Save machines to stream

Reimplemented from SPassiveMachinesMod.

void SMachinesMod::setEnv (  SEnvironment *    pEnv ) 
 

Set environment of the machines. After the assignment the environment is owned by the machines

void SPassiveMachinesMod::setNumOfMachines (  int    num )  [inherited]
 

Set the number of machines

void SPassiveMachinesMod::setTaskSys (  STaskSystem &    ts )  [inherited]
 

Set the tasksystem

void SPassiveMachinesMod::setTopology (  STopology &    top )  [inherited]
 

Set the topology


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