Subversion Repositories tpanel

Rev

Rev 193 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 193 Rev 225
Line 316... Line 316...
316
            size_t pos = iter->i.find_last_of(".");
316
            size_t pos = iter->i.find_last_of(".");
317
 
317
 
318
            if (pos != string::npos)
318
            if (pos != string::npos)
319
            {
319
            {
320
                string left = iter->i.substr(0, pos);
320
                string left = iter->i.substr(0, pos);
321
                MSG_DEBUG("Found candidate: " << iter->i << " (" << left << ")");
-
 
-
 
321
 
322
                if (left == name)
322
                if (left == name)
323
                    return iter->i;
323
                    return iter->i;
324
            }
324
            }
325
        }
325
        }
326
 
326
 
327
        cnt++;
327
        cnt++;
328
    }
328
    }
329
 
329
 
330
    MSG_WARNING("No image with name " << name << " in table found!");
330
    MSG_WARNING("No image with name " << name << " in table found!");
331
    MSG_DEBUG("Searched " << cnt << " entries for image " << name);
-
 
332
    return string();
331
    return string();
333
}
332
}
334
 
333
 
335
vector<TMap::MAP_T> TMap::findBargraphs(int port, vector<int>& channels)
334
vector<TMap::MAP_T> TMap::findBargraphs(int port, vector<int>& channels)
336
{
335
{