OpenM++ runtime library (libopenm)
openm::ModelRunState Class Reference

model run state: thread safe More...

Inheritance diagram for openm::ModelRunState:
Collaboration diagram for openm::ModelRunState:

Public Member Functions

 ModelRunState (void)
 initialize model run state
ModelStatus status (void) override
 get model status
bool isFinal (void) override
 return true if status is one of exiting: ie done, exit, error
bool isError (void) override
 return true if status is an error
bool isShutdownOrFinal (void) override
 return true if model in shutdown state: modeling completed or one of exiting
RunState get (void) override
 return model run state data
ModelStatus updateStatus (ModelStatus i_status) override
 set model status if not already set as one of final status values
void updateProgress (int i_count, double i_value=0.0) override
 set modeling progress count and value

Detailed Description

model run state: thread safe

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