EgtMachKernel 2.1c4 :
- modifiche per gestire lo stato delle operazioni (ok, da ricalcolare, ....).
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user