 |
Shiokaze Framework
A research-oriented fluid solver for computer graphics
|
|
Go to the documentation of this file.
25 #ifndef SHKZ_RUNNABLE_H
26 #define SHKZ_RUNNABLE_H
73 virtual void set_running(
bool running ) { m_running = running; }
virtual bool is_running() const
Get if the simulation is running.
Definition: runnable.h:68
Class that performs a task.
Definition: runnable.h:35
virtual void idle()
idling function that is called while is_running() returns true.
Definition: runnable.h:58
#define SHKZ_BEGIN_NAMESPACE
Name space beggining definition for shiokaze.
Definition: common.h:39
virtual bool should_quit() const
Function that if return true, the program will exit.
Definition: runnable.h:63
virtual ~runnable()
Destructor for runnable.
Definition: runnable.h:48
#define LONG_NAME(long_name)
Macro that defines the full name.
Definition: credit.h:37
std::map< std::string, const void * > environment_map
Type for environment_map.
Definition: configurable.h:46
virtual void initialize(const environment_map &environment) override
Initialize the program. Used to get things ready for actual use.
Definition: runnable.h:78
virtual void run_onetime()
Function that is called only one time on start.
Definition: runnable.h:53
#define SHKZ_END_NAMESPACE
Name space end definition for shiokaze.
Definition: common.h:44
recursive_configurable class that also inherits module.
Definition: recursive_configurable_module.h:49
virtual void set_running(bool running)
Set if the simulation is running.
Definition: runnable.h:73