Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
Simulator Class Referenceabstract

#include <simulator.h>

Inheritance diagram for Simulator:
Inheritance graph
Collaboration diagram for Simulator:
Collaboration graph

Public Member Functions

virtual ~Simulator ()
void set_process_count (int i)
void set_listener (SimulationListener *listener)
virtual void start (const MscPtr &msc)=0
 Start simulation and measurement calculation. More...
virtual void next ()=0
 Continue simulation. More...
virtual void stop ()=0
 Stop simulation. More...
virtual bool is_running () const =0
- Public Member Functions inherited from ConfigReader
 ConfigReader ()
 ConfigReader (ConfigProvider *config_provider)
virtual ~ConfigReader ()
void set_config_provider (ConfigProvider *config_provider)
ConfigProviderget_config_provider () const
long get_config_long (const std::wstring &section, const std::wstring &parameter, long def=0) const
float get_config_float (const std::wstring &section, const std::wstring &parameter, float def=0.0f) const
std::wstring get_config_string (const std::wstring &section, const std::wstring &parameter, std::wstring def=L"") const
- Public Member Functions inherited from Reporter
 Reporter ()
 Reporter (ReportPrinter *printer)
virtual ~Reporter ()
void set_printer (ReportPrinter *printer)
int print_report (TReportSeverity severity, const std::wstring &message)

Protected Attributes

int m_process_count

Detailed Description

Definition at line 44 of file simulator.h.

Constructor & Destructor Documentation

virtual Simulator::~Simulator ( )

Definition at line 47 of file simulator.h.

Member Function Documentation

virtual bool Simulator::is_running ( ) const
pure virtual

Implemented in MonteCarlo.

virtual void Simulator::next ( )
pure virtual

Continue simulation.

Implemented in MonteCarlo.

void Simulator::set_listener ( SimulationListener listener)

Definition at line 52 of file simulator.h.

References m_listener.

void Simulator::set_process_count ( int  i)

Definition at line 49 of file simulator.h.

References m_process_count.

virtual void Simulator::start ( const MscPtr msc)
pure virtual

Start simulation and measurement calculation.

Implemented in MonteCarlo.

virtual void Simulator::stop ( )
pure virtual

Stop simulation.

Implemented in MonteCarlo.

Member Data Documentation

SimulationListener* Simulator::m_listener

Definition at line 66 of file simulator.h.

Referenced by set_listener(), and MonteCarlo::thread_main().

int Simulator::m_process_count

Definition at line 65 of file simulator.h.

Referenced by MonteCarlo::MonteCarlo(), set_process_count(), and MonteCarlo::start().

The documentation for this class was generated from the following file: Logo
Generated on Fri Jan 15 2016 16:26:59 for Sequence Chart Studio by  doxygen