Class InstrumentorWrapper<S,M,C extends ProbeConfiguration>
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.injection.InstrumentorWrapper<S,M,C>
-
- Type Parameters:
S
- type of the simulation elements (actual implementation; part of the simulation engine)M
- type of the model elements (part of the instrumentation description)C
- type of theProbeConfiguration
- All Implemented Interfaces:
Instrumentor<S,C>
public class InstrumentorWrapper<S,M,C extends ProbeConfiguration> extends Object implements Instrumentor<S,C>
Wraps an instrumentor which is dealing with elements of the instrumentation description and represents an instrumentor dealing with elements of the simulation engine.
-
-
Constructor Summary
Constructors Constructor Description InstrumentorWrapper(SimulationElementMapping<? super S,M> mapping, Instrumentor<? super M,C> modelInstrumentor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
instrument(S element)
void
instrumentAll()
Instruments all elements of typeE
based on the held instrumentation description if possible.
-
-
-
Constructor Detail
-
InstrumentorWrapper
public InstrumentorWrapper(SimulationElementMapping<? super S,M> mapping, Instrumentor<? super M,C> modelInstrumentor)
-
-
Method Detail
-
instrument
public void instrument(S element)
- Specified by:
instrument
in interfaceInstrumentor<S,M>
-
instrumentAll
public void instrumentAll()
Description copied from interface:Instrumentor
Instruments all elements of typeE
based on the held instrumentation description if possible. Note that some instrumentors might not implement this method since they do not know any elements.- Specified by:
instrumentAll
in interfaceInstrumentor<S,M>
-
-