EgtMachKernel 1.6x10 :
- aggiunta GetAllHeadsNames - aggiunto nome asse a SimGetAxisInfoPos.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user