Search Results for

    Show / Hide Table of Contents

    Class Signal<T>

    Represents a signal that can be queried for value. It will automatically go back to default state every time the value is queried.

    Inheritance
    object
    Signal<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LobsterFramework
    Assembly: LobsterFramework.dll
    Syntax
    public class Signal<T> where T : struct
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    Signal()

    Declaration
    public Signal()
    | Improve this Doc View Source

    Signal(T)

    Declaration
    public Signal(T defaultValue)
    Parameters
    Type Name Description
    T defaultValue

    Methods

    | Improve this Doc View Source

    Put(T)

    Declaration
    public void Put(T newValue)
    Parameters
    Type Name Description
    T newValue
    | Improve this Doc View Source

    Reset()

    Declaration
    public void Reset()

    Operators

    | Improve this Doc View Source

    implicit operator T(Signal<T>)

    Declaration
    public static implicit operator T(Signal<T> signal)
    Parameters
    Type Name Description
    Signal<T> signal
    Returns
    Type Description
    T
    • Improve this Doc
    • View Source
    In This Article
    Back to top LobsterFramework documentation