Commit | Line | Data |
---|---|---|
9e0640dc FC |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 Ericsson | |
9b749023 | 3 | * |
9e0640dc FC |
4 | * All rights reserved. This program and the accompanying materials are |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
9b749023 | 8 | * |
9e0640dc FC |
9 | * Contributors: |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.tests.stubs.trace; | |
14 | ||
15 | import org.eclipse.linuxtools.tmf.core.event.ITmfEvent; | |
16 | import org.eclipse.linuxtools.tmf.core.event.TmfEvent; | |
17 | import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace; | |
18 | import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment; | |
19 | ||
20 | /** | |
21 | * <b><u>TmfExperimentStub</u></b> | |
22 | * <p> | |
23 | * Implement me. Please. | |
24 | * <p> | |
25 | */ | |
54a7a54c | 26 | @SuppressWarnings("javadoc") |
9b749023 | 27 | public class TmfExperimentStub<T extends ITmfEvent> extends TmfExperiment<TmfEvent> { |
9e0640dc FC |
28 | |
29 | public TmfExperimentStub(String name, ITmfTrace<TmfEvent>[] traces, int blockSize) { | |
30 | super(TmfEvent.class, name, traces, blockSize); | |
31 | setIndexer(new TmfIndexerStub(this, blockSize)); | |
32 | } | |
33 | ||
34 | @Override | |
35 | public TmfIndexerStub getIndexer() { | |
36 | return (TmfIndexerStub) super.getIndexer(); | |
37 | } | |
38 | } |