EgtMachKernel 1.6x10 :

- aggiunta GetAllHeadsNames
- aggiunto nome asse a SimGetAxisInfoPos.
This commit is contained in:
Dario Sassi
2017-01-30 08:06:33 +00:00
parent 0bafc660b5
commit 9d1b2d8d60
8 changed files with 45 additions and 11 deletions
+16
View File
@@ -23,6 +23,22 @@
using namespace std ;
//----------------------------------------------------------------------------
bool
Machine::GetAllHeadsNames( STRVECTOR& vNames) const
{
// reset lista nomi
vNames.clear() ;
// ricerca delle teste
for each ( const auto& snGro in m_mapGroups) {
if ( IsHeadGroup( snGro.second))
vNames.push_back( snGro.first) ;
}
// ordino alfabeticamente
std::sort( vNames.begin(), vNames.end()) ;
return true ;
}
//----------------------------------------------------------------------------
int
Machine::GetHeadExitCount( const string& sHead) const