func ControlStop(object clonk, int control) { if (GetEffect("ElevatorControl", this)) if (control == CON_Up || control == CON_Down) { var effect = GetEffect("ElevatorControl", this); effect.controlled = nil; return effect.case->ControlStop(clonk, control); }
void freettcn::TM::CTestManagement::Abort() { try { if (_status != NOT_RUNNING) { if (_tc) TestCaseStop(); else ControlStop(); } } catch(EOperationFailed &) { std::cout << "ERROR: " << __FUNCTION__ << " problem!!!" << std::endl; } }