Fix some null warnings
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / internal / tmf / core / statesystem / mipmap / ITmfMipmapFeature.java
CommitLineData
8e364f8e 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2013, 2014 Ericsson
8e364f8e
PT
3 *
4 * All rights reserved. This program and the accompanying materials are made
5 * 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
8 *
9 * Contributors:
10 * Jean-Christian Kouamé - Initial API and implementation
11 * Patrick Tasse - Updates to mipmap feature
12 *******************************************************************************/
2bdf0193 13package org.eclipse.tracecompass.internal.tmf.core.statesystem.mipmap;
8e364f8e 14
aa353506 15import org.eclipse.jdt.annotation.NonNull;
e894a508 16import org.eclipse.tracecompass.statesystem.core.statevalue.ITmfStateValue;
8e364f8e
PT
17
18/**
19 * Interface to allow additional types of mipmaps to be added. Two functions
20 * need to be implemented: {@link ITmfMipmapFeature#updateMipmap} and
21 * {@link ITmfMipmapFeature#updateAndCloseMipmap}.
22 *
23 * @author Jean-Christian Kouamé
24 *
25 */
26public interface ITmfMipmapFeature {
27
28 /**
29 * Update the mipmap with a new state value.
30 *
31 * @param value
32 * The new state value
33 * @param ts
34 * The timestamp of the event
35 */
aa353506 36 public void updateMipmap(@NonNull ITmfStateValue value, long ts);
8e364f8e
PT
37
38 /**
39 * Update the mipmap values at all levels before closing.
40 */
41 public void updateAndCloseMipmap();
42}
This page took 0.070143 seconds and 5 git commands to generate.