//----------------------------------------------------------------
bool TModuleClientLogic::WorkInherit()
{
  InputFromSynchroPoint();
  bool res = WorkClient();
  res &= !NeedExit();
  return res;
}
Exemplo n.º 2
0
//-----------------------------------------------------------------
bool TModuleTimer::WorkInherit()
{
  InputFromSynchroPoint();
  WorkTimer();
  OutputToSynchroPoint();
  return true;
}
Exemplo n.º 3
0
//---------------------------------------------------------------------------------
bool TModulePhysicEngine::WorkInherit()
{
  InputFromSynchroPoint();
  mPE->Work();
  OutputToSynchroPoint();
  return true;
}
Exemplo n.º 4
0
//--------------------------------------------------------------
bool TModuleAloneGUI::WorkInherit()
{
  InputFromSynchroPoint();
  OutputToSynchroPoint();

  // что бы разгрузить поток
  ht_msleep(eSleep);
  return true;
}
Exemplo n.º 5
0
//----------------------------------------------------------------
bool TModuleServerLogic::WorkInherit()
{
  InputFromSynchroPoint();
  bool res = WorkServer();
  CalcAndWaitRestTime();

  EndWork();
  res &= !NeedExit();

  mStartTime = ht_GetMSCount();
  return res;
}