de.cau.cs.kieler.sj
Class SignalConverter

java.lang.Object
  extended by de.cau.cs.kieler.sj.SignalConverter

public final class SignalConverter
extends Object

Utility class to convert different signal representations.

Rating red

Method Summary
static Signal string2Signal(EmbeddedSJProgram<?> program, String signalName)
          Converts a given string representation of a signal to a signal object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

string2Signal

public static Signal string2Signal(EmbeddedSJProgram<?> program,
                                   String signalName)
Converts a given string representation of a signal to a signal object. Attention: signal2String is case sensitive. "A" != "a"!

Parameters:
program - The program the signal is part of.
signalName - The of the signal we want the object representation of.
Returns:
the signal object with the given signal name