|
OpenM++ runtime library (libopenm)
|
model run state public interface: thread safe More...
#include <omModelRunState.h>


Public Member Functions | |
| virtual ModelStatus | status (void)=0 |
| get model status | |
| virtual bool | isShutdownOrFinal (void)=0 |
| return true if model in shutdown state: modeling completed or one of exiting | |
| virtual RunState | get (void)=0 |
| return model run state data | |
| virtual ModelStatus | updateStatus (ModelStatus i_status)=0 |
| set model status if not already set as one of final status values | |
| virtual void | updateProgress (int i_count, double i_value=0.0)=0 |
| set modeling progress count and value | |
Public Member Functions inherited from openm::IFinalState | |
| virtual bool | isFinal (void)=0 |
| return true if status is one of exiting: done, exit, error | |
| virtual bool | isError (void)=0 |
| return true if status is an error | |
model run state public interface: thread safe
|
pure virtual |
return model run state data
Implemented in openm::ModelRunState.
|
pure virtual |
return true if model in shutdown state: modeling completed or one of exiting
Implemented in openm::ModelRunState.
|
pure virtual |
get model status
Implemented in openm::ModelRunState.
|
pure virtual |
set modeling progress count and value
Implemented in openm::ModelRunState.
|
pure virtual |
set model status if not already set as one of final status values
Implemented in openm::ModelRunState.