cmsdaq / DAQExpert

New expert system processing data model produced by DAQAggregator
1 stars 2 forks source link

Automatic ordering of LM #158

Open gladky opened 6 years ago

andreh12 commented 6 years ago

A typical body of an overriding method could look like this:

List<Class<? extends SimpleLogicModule>> result = new ArrayList<Class<? extends SimpleLogicModule>>();
result.add(Deadtime.class);
return result;

Alternatively, since we have only singleton logic modules, we could return a list of LogicModuleRegistry instances or even LogicModule objects themselves.