OpenM++ runtime library (libopenm)
|
model run state public interface: thread safe More...
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 | |
![]() | |
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