X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker.git;a=blobdiff_plain;f=traceanalysis.h;h=d363150ab3c72e2c3efcd46a2b8dd7d88dd970a8;hp=df3356ad50d422c08a3a2ba7d09234ccec394f5f;hb=HEAD;hpb=f817fff71c1cc97fe1bd55fa791f0d68af88ed1a diff --git a/traceanalysis.h b/traceanalysis.h index df3356a..d363150 100644 --- a/traceanalysis.h +++ b/traceanalysis.h @@ -2,6 +2,7 @@ #define TRACE_ANALYSIS_H #include "model.h" + class TraceAnalysis { public: /** setExecution is called once after installation with a reference to @@ -30,6 +31,20 @@ class TraceAnalysis { virtual void finish() = 0; + /** This method is used to inspect the normal/abnormal model + * action. */ + virtual void inspectModelAction(ModelAction *act) {} + + /** This method will be called by when a plugin is installed by the + * model checker. */ + virtual void actionAtInstallation() {} + + /** This method will be called when the model checker finishes the + * executions; With this method, the model checker can alter the + * state of the plugin and then the plugin can choose whether or not + * restart the model checker. */ + virtual void actionAtModelCheckingFinish() {} + SNAPSHOTALLOC }; #endif