1 /*******************************************************************************
2 * Copyright (c) 2009 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.signal
;
16 * Base class for TMF signals
19 * @author Francois Chouinard
21 public abstract class TmfSignal
{
23 private final Object fSource
;
24 private int fReference
;
27 * Basic constructor, which uses a default of "0" for the reference index
30 * Object sending this signal
32 public TmfSignal(Object source
) {
37 * Standard constructor
40 * Object sending this signal
42 * Reference index to assign to this signal
44 public TmfSignal(Object source
, int reference
) {
46 fReference
= reference
;
50 * @return The source object of this signal
52 public Object
getSource() {
57 * Change this signal's reference index
60 * The new reference to use
62 public void setReference(int reference
) {
63 fReference
= reference
;
67 * @return This signal's reference index
69 public int getReference() {
This page took 0.033159 seconds and 5 git commands to generate.