Merge branch 'master' into lttng-kepler
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / component / ITmfComponent.java
CommitLineData
8c8bf09f 1/*******************************************************************************
e31e01e8 2 * Copyright (c) 2009, 2010 Ericsson
8c8bf09f
ASL
3 *
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
8 *
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
6c13869b 13package org.eclipse.linuxtools.tmf.core.component;
8c8bf09f 14
6c13869b 15import org.eclipse.linuxtools.tmf.core.signal.TmfSignal;
8d2e2848 16
8c8bf09f 17/**
e31e01e8
FC
18 * This is the basic interface of all the TMF components.
19 * <p>
8fd82db5
FC
20 * Currently, it only addresses the inter-component signalling.
21 *
22 * @version 1.0
23 * @author Francois Chouinard
24 *
25 * @see TmfComponent
8c8bf09f
ASL
26 */
27public interface ITmfComponent {
be9d96b7 28
fc6ccf6f 29 /**
8c149234 30 * @return the component ID (display name)
fc6ccf6f
FC
31 */
32 public String getName();
33
e31e01e8 34 /**
2fb2eb37 35 * Dispose of the component
e31e01e8 36 */
2fb2eb37 37 public void dispose();
e31e01e8
FC
38
39 /**
8c149234 40 * Propagate a signal to all the interested listeners.
e31e01e8 41 *
8c149234 42 * @param signal the signal to broadcast
e31e01e8
FC
43 */
44 public void broadcast(TmfSignal signal);
8d2e2848 45
8c8bf09f 46}
This page took 0.046886 seconds and 5 git commands to generate.