EgtMachKernel 2.1c4 :

- modifiche per gestire lo stato delle operazioni (ok, da ricalcolare, ....).
This commit is contained in:
Dario Sassi
2019-03-18 18:52:08 +00:00
parent 4c0ad599ed
commit 39bf1700d9
25 changed files with 1229 additions and 373 deletions
+17
View File
@@ -83,6 +83,23 @@ Operation::Operation( void)
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
bool
Operation::UpdateFollowingOperationsStatus(int nModif)
{
if ( m_pMchMgr == nullptr || m_pGeomDB == nullptr)
return false ;
// modifico lo stato delle operazioni attive successive
int nOpeId = m_pMchMgr->GetNextActiveOperation( m_nOwnerId) ;
while ( nOpeId != GDB_ID_NULL) {
Operation* pOpe = GetOperation( m_pGeomDB->GetUserObj( nOpeId)) ;
if ( pOpe != nullptr)
pOpe->UpdateStatus( nModif) ;
nOpeId = m_pMchMgr->GetNextActiveOperation( nOpeId) ;
}
return true ;
}
//----------------------------------------------------------------------------
bool
Operation::GetElevation( int nPhase, const Point3d& ptP,