SPH
Public Member Functions | List of all members
RunPage Class Reference

Main frame of the application. More...

#include <RunPage.h>

Inheritance diagram for RunPage:

Public Member Functions

 RunPage (wxWindow *window, Controller *controller, GuiSettings &guiSettings)
 
 ~RunPage ()
 
void refresh ()
 
void showTimeLine (const bool show)
 
void runStarted (const Storage &storage, const Path &path)
 
void onTimeStep (const Storage &storage, const Statistics &stats)
 
void onRunEnd ()
 
bool close ()
 
void setProgress (const Statistics &stats)
 
void newPhase (const std::string &className, const std::string &instanceName)
 
void setColorizerList (Array< SharedPtr< IColorizer >> &&colorizers)
 
void setSelectedParticle (const Particle &particle, const Rgba color)
 
void deselectParticle ()
 
wxSize getCanvasSize () const
 

Detailed Description

Main frame of the application.

Run is coupled with the window; currently there can only be one window and one run at the same time. Run is ended when user closes the window.

Definition at line 44 of file RunPage.h.

Constructor & Destructor Documentation

◆ RunPage()

RunPage::RunPage ( wxWindow *  window,
Controller controller,
GuiSettings guiSettings 
)

Definition at line 73 of file RunPage.cpp.

◆ ~RunPage()

RunPage::~RunPage ( )

Definition at line 125 of file RunPage.cpp.

Member Function Documentation

◆ close()

bool RunPage::close ( )

Definition at line 963 of file RunPage.cpp.

◆ deselectParticle()

void RunPage::deselectParticle ( )

Definition at line 936 of file RunPage.cpp.

◆ getCanvasSize()

wxSize RunPage::getCanvasSize ( ) const

Definition at line 941 of file RunPage.cpp.

◆ newPhase()

void RunPage::newPhase ( const std::string &  className,
const std::string &  instanceName 
)

Definition at line 836 of file RunPage.cpp.

◆ onRunEnd()

void RunPage::onRunEnd ( )

Definition at line 912 of file RunPage.cpp.

◆ onTimeStep()

void RunPage::onTimeStep ( const Storage storage,
const Statistics stats 
)
Todo:
we should only touch colorizer from main thread!

Definition at line 876 of file RunPage.cpp.

◆ refresh()

void RunPage::refresh ( )

Definition at line 840 of file RunPage.cpp.

◆ runStarted()

void RunPage::runStarted ( const Storage storage,
const Path path 
)

Definition at line 857 of file RunPage.cpp.

◆ setColorizerList()

void RunPage::setColorizerList ( Array< SharedPtr< IColorizer >> &&  colorizers)

Definition at line 919 of file RunPage.cpp.

◆ setProgress()

void RunPage::setProgress ( const Statistics stats)
Todo:
check if IsShown works if hidden by AUI

Definition at line 826 of file RunPage.cpp.

◆ setSelectedParticle()

void RunPage::setSelectedParticle ( const Particle particle,
const Rgba  color 
)

Definition at line 931 of file RunPage.cpp.

◆ showTimeLine()

void RunPage::showTimeLine ( const bool  show)

Definition at line 844 of file RunPage.cpp.


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