EgtMachKernel :

- aggiunta gestione prima disposizione in lista operazioni
- migliorato controllo dati macchina al caricamento
- ora macchina deve essere disegnata e definita cinematicamente con tutti gli assi a 0,
  si definisce la posizione home e dopo il carico viene posta in questa posizione.
This commit is contained in:
Dario Sassi
2015-05-31 14:10:00 +00:00
parent 4f150f773c
commit b373807375
27 changed files with 1306 additions and 327 deletions
+12 -3
View File
@@ -40,6 +40,7 @@ Exit::Clone( void) const
// eseguo copia dei dati
if ( pExit != nullptr) {
try { pExit->m_nOwnerId = GDB_ID_NULL ;
pExit->m_pGeomDB = nullptr ;
pExit->m_sName = m_sName ;
pExit->m_ptPos = m_ptPos ;
pExit->m_vtTDir = m_vtTDir ;
@@ -69,10 +70,11 @@ Exit::Dump( string& sOut, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
Exit::SetOwner( int nId)
Exit::SetOwner( int nId, IGeomDB* pGDB)
{
m_nOwnerId = nId ;
return true ;
m_pGeomDB = pGDB ;
return ( m_nOwnerId != GDB_ID_NULL && m_pGeomDB != nullptr) ;
}
//----------------------------------------------------------------------------
@@ -82,10 +84,17 @@ Exit::GetOwner( void) const
return m_nOwnerId ;
}
//----------------------------------------------------------------------------
IGeomDB*
Exit::GetGeomDB( void) const
{
return m_pGeomDB ;
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
Exit::Exit( void)
: m_nOwnerId( GDB_ID_NULL)
: m_nOwnerId( GDB_ID_NULL), m_pGeomDB( nullptr)
{
}