Rename xxx.lttng to xxx.lttng.core
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / signal / TmfSignal.java
CommitLineData
8c8bf09f
ASL
1/*******************************************************************************
2 * Copyright (c) 2009 Ericsson
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
13package org.eclipse.linuxtools.tmf.signal;
14
15/**
16 * <b><u>TmfSignal</u></b>
17 * <p>
18 * TODO: Implement me. Please.
19 */
20public abstract class TmfSignal {
21
22 // The signal originator
23 private final Object fSource;
24
fc6ccf6f
FC
25 private int fReference;
26
8c8bf09f 27 public TmfSignal(Object source) {
fc6ccf6f
FC
28 this(source, 0);
29 }
30
31 public TmfSignal(Object source, int reference) {
8c8bf09f 32 fSource = source;
fc6ccf6f 33 fReference = reference;
8c8bf09f
ASL
34 }
35
36 public Object getSource() {
37 return fSource;
38 }
fc6ccf6f
FC
39
40 public void setReference(int reference) {
41 fReference = reference;
42 }
43
44 public int getReference() {
45 return fReference;
46 }
47
8c8bf09f 48}
This page took 0.038074 seconds and 5 git commands to generate.