Diff of /src/lib/model/BUGSModel.cc [01a998] .. [081fbe]  Maximize  Restore

Switch to unified view

a/src/lib/model/BUGSModel.cc b/src/lib/model/BUGSModel.cc
...
...
192
        msg = "Monitor already exists and cannot be duplicated";
192
        msg = "Monitor already exists and cannot be duplicated";
193
        return false; 
193
        return false; 
194
    }
194
    }
195
    }
195
    }
196
196
197
    msg.clear();
197
    Monitor *monitor = 0;
198
    Monitor *monitor = 0;
198
199
199
    list<pair<MonitorFactory*, bool> > const &faclist = monitorFactories();
200
    list<pair<MonitorFactory*, bool> > const &faclist = monitorFactories();
200
    for(list<pair<MonitorFactory*, bool> >::const_iterator j = faclist.begin();
201
    for(list<pair<MonitorFactory*, bool> >::const_iterator j = faclist.begin();
201
    j != faclist.end(); ++j)
202
    j != faclist.end(); ++j)
202
    {
203
    {
203
    if (j->second) {
204
    if (j->second) {
204
        monitor = j->first->getMonitor(name, range, this, type, msg);
205
        monitor = j->first->getMonitor(name, range, this, type, msg);
205
      if (monitor)
206
      if (monitor || !msg.empty())
206
        break;
207
        break;
207
    }
208
    }
208
    }
209
    }
209
210
210
    if (monitor) {
211
    if (monitor) {

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks