OpenM++ runtime library (libopenm)
openm::IModelRunState Struct Referenceabstract

model run state public interface: thread safe More...

Inheritance diagram for openm::IModelRunState:
Collaboration diagram for openm::IModelRunState:

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
 retrun 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
 

Detailed Description

model run state public interface: thread safe


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