void DbObject::StaticInitialize(void)
{
+ /* triggered in ProcessCheckResult(), requires UpdateNextCheck() to be called before */
DynamicObject::OnStateChanged.connect(boost::bind(&DbObject::StateChangedHandler, _1));
}
// "% current: " + Convert::ToString(GetFlappingCurrent()) + "%.");
OnNewCheckResult(GetSelf(), cr, authority);
+
+ /* signal status updates to for example db_ido */
OnStateChanged(GetSelf());
if (hardChange)
result->SetExecutionEnd(after_check);
}
+ /* update next check before processing any result */
+ UpdateNextCheck();
+
if (result)
ProcessCheckResult(result);
- UpdateNextCheck();
-
{
ObjectLock olock(this);
m_CheckRunning = false;