tmf: Fix the actual end time of state system modules
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / signal / TmfTraceModelSignal.java
CommitLineData
ccc49be1
MK
1/*******************************************************************************
2 * Copyright (c) 2016 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
10package org.eclipse.tracecompass.tmf.core.signal;
11
12/**
13 * Base class for TMF signals for a given host, broadcast in a context that
14 * involves the trace itself or rather the system model represented by the trace
15 * (CPU, thread), as opposed to other signals related to the traceCompass
16 * signals (actions on trace, times, analyses).
17 *
18 * @author Matthew Khouzam
19 * @since 2.0
20 */
21public abstract class TmfTraceModelSignal extends TmfSignal {
22
23 private final String fHostId;
24
25 /**
26 * Standard constructor
27 *
28 * @param source
29 * Object sending this signal
30 * @param reference
31 * Reference index to assign to this signal
32 * @param host
33 * the host id
34 */
35 public TmfTraceModelSignal(Object source, int reference, String host) {
36 super(source, reference);
37 fHostId = host;
38 }
39
40 /**
41 * Gets a trace host id
42 *
43 * @return the host id
44 */
45 public String getHostId() {
46 return fHostId;
47 }
48
49}
This page took 0.08979 seconds and 5 git commands to generate.