BIE::RunSimulation Class Reference

An abstract class that defines properties for run different simulation sub classes. More...

#include <RunSimulation.h>

Inheritance diagram for BIE::RunSimulation:
Collaboration diagram for BIE::RunSimulation:

List of all members.

Public Member Functions

 RunSimulation ()
 Constructor.
virtual ~RunSimulation ()
 Destructor.
virtual void Run ()
 Run the simulation.
virtual void Resume ()
 Restart the simulation after stopping or restoring from a persistent archive.
void RunThread ()
 Run in a control thread.
void ResumeThread ()
 Resume the thread after a requested user stop.
virtual void run ()
 A general run method.
void final ()
 exit the simulation
void SetControlFlags (bool finish)
 Arguments:.
bool finish (void)
 Request that the simulation stop.
void printFrontier (vector< int > frontier_value)
 Print out the current frontier.
void inputNodes (vector< int > *input_vector)
 Install a new frontier.
void SetThreshold (double v)
 Pass invalid bin data threshold to simulation class.
virtual void SetTessTool (TessToolSender *tt)
 Attach a TessTool to this run.
virtual void SampleNext ()
 Request a new TessTool sample.
virtual void SwitchOnCLI ()
 Restore control to CLI.
virtual void SuspendSimulation ()
 Signal a suspension of the running simulation.
virtual void ResumeSimulation ()
 Signal the simulation to resume.

Protected Attributes

double threshval
 Threshold value for rendering tiles.
TessToolSendertesstool
 The tesstool communication class.
int tesstoolfreq
 Iteration frequency for updating the TessTool display.

Friends

class boost::serialization::access


Detailed Description

An abstract class that defines properties for run different simulation sub classes.

Member Function Documentation

void BIE::RunSimulation::SetControlFlags ( bool  finish  ) 

Arguments:.

  1. true = stop the simulation and exit
Control can also be set non-interactively by writing the file ".control" in the working directory. A single value is read from this file containing an integer used as a binary flag whose bits are the same as the arguments above


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:13 2010 by doxygen