Make Progressive as option

This commit is contained in:
Artur Meski
2018-10-13 21:00:06 +01:00
parent 96b0278136
commit e4ab5999aa
7 changed files with 69 additions and 38 deletions

11
rs.cc
View File

@@ -9,6 +9,7 @@ RctSys::RctSys(void)
: current_process_defined(false)
{
ctx_aut = nullptr;
gen_ctxaut_progressive_closure = false;
}
bool RctSys::hasEntity(std::string name)
@@ -306,6 +307,11 @@ void RctSys::ctxAutEnable(void)
ctx_aut = new CtxAut(opts, this);
}
void RctSys::ctxAutEnableProgressiveClosure(void)
{
gen_ctxaut_progressive_closure = true;
}
void RctSys::ctxAutAddState(std::string stateName)
{
assert(ctx_aut != nullptr);
@@ -355,4 +361,9 @@ void RctSys::ctxAutSaveCurrentContextSet(std::string processName)
ctx_aut->saveCurrentContextSet(processID);
}
void RctSys::ctxAutFinalise(void)
{
ctx_aut->makeProgressive();
}
/** EOF **/