EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.simulation.abstractsimengine.ssj]

COVERAGE SUMMARY FOR SOURCE FILE [SSJSimEngineFactory.java]

nameclass, %method, %block, %line, %
SSJSimEngineFactory.java0%   (0/1)0%   (0/6)0%   (0/40)0%   (0/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SSJSimEngineFactory0%   (0/1)0%   (0/6)0%   (0/40)0%   (0/9)
SSJSimEngineFactory (): void 0%   (0/1)0%   (0/3)0%   (0/1)
createEntity (AbstractSimEntityDelegator, String): IEntity 0%   (0/1)0%   (0/6)0%   (0/1)
createSimEvent (AbstractSimEventDelegator, String): ISimEvent 0%   (0/1)0%   (0/6)0%   (0/1)
createSimProcess (AbstractSimProcessDelegator, String): ISimProcess 0%   (0/1)0%   (0/6)0%   (0/1)
createSimulationControl (): ISimulationControl 0%   (0/1)0%   (0/12)0%   (0/3)
setModel (ISimulationModel): void 0%   (0/1)0%   (0/7)0%   (0/2)

1package de.uka.ipd.sdq.simulation.abstractsimengine.ssj;
2 
3import de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator;
4import de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator;
5import de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimProcessDelegator;
6import de.uka.ipd.sdq.simulation.abstractsimengine.IEntity;
7import de.uka.ipd.sdq.simulation.abstractsimengine.ISimEngineFactory;
8import de.uka.ipd.sdq.simulation.abstractsimengine.ISimEvent;
9import de.uka.ipd.sdq.simulation.abstractsimengine.ISimProcess;
10import de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationControl;
11import de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationModel;
12 
13/**
14 * @author Steffen Becker
15 * @author Philipp Merkle
16 */
17public class SSJSimEngineFactory implements ISimEngineFactory {
18 
19    private SSJModel model;
20 
21    @Override
22    public void setModel(ISimulationModel model) {
23        this.model = new SSJModel(model);
24    }
25 
26    @Override
27    public ISimulationControl createSimulationControl() {
28        ISimulationControl delegate = new SSJExperiment(model);
29        model.setSimulationControl(delegate);
30        // model.setSimulationEngineFactory(this);
31        return delegate;
32    }
33 
34    @Override
35    public ISimProcess createSimProcess(AbstractSimProcessDelegator myProcess, String name) {
36        return new SSJSimProcess(myProcess, name);
37    }
38 
39    @Override
40    public <E extends IEntity> ISimEvent<E> createSimEvent(AbstractSimEventDelegator<E> myEvent, String name) {
41        return new SSJSimEvent<E>(myEvent, name);
42    }
43 
44    @Override
45    public IEntity createEntity(AbstractSimEntityDelegator e, String name) {
46        return new SSJEntity(e, name);
47    }
48 
49}

[all classes][de.uka.ipd.sdq.simulation.abstractsimengine.ssj]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov