[18a63e]: src / modules / dic / dic.cc  Maximize  Restore  History

Download this file

39 lines (27 with data), 639 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <module/Module.h>
#include "DevianceMonitorFactory.h"
#include "PDMonitorFactory.h"
#include "PDTraceFactory.h"
using std::vector;
namespace jags {
namespace dic {
class DICModule: public Module {
public:
DICModule();
~DICModule();
};
DICModule::DICModule()
: Module("dic")
{
insert(new DevianceMonitorFactory);
insert(new PDMonitorFactory);
insert(new PDTraceFactory);
}
DICModule::~DICModule() {
vector<MonitorFactory*> const &mvec = monitorFactories();
for (unsigned int i = 0; i < mvec.size(); ++i) {
delete mvec[i];
}
}
}}
jags::dic::DICModule _dic_module;

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

Sign up for the SourceForge newsletter:





No, thanks