ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Method GetChannel

    | Edit this page View Source

    GetChannel<T>(string)

    Retrieve typed channel

    Declaration
    public GridBuffer<T> GetChannel<T>(string name) where T : unmanaged
    Parameters
    Type Name Description
    string name

    Name of the channel

    Returns
    Type Description
    GridBuffer<T>

    Grid buffer with specified type

    Type Parameters
    Name Description
    T

    Type specified

    Exceptions
    Type Condition
    KeyNotFoundException

    If provided name does not exist yet

    | Edit this page View Source

    GetChannel(string)

    Retrieve untyped channel for inspection/serialization

    Declaration
    public IGridBuffer GetChannel(string name)
    Parameters
    Type Name Description
    string name

    Name of the channel

    Returns
    Type Description
    IGridBuffer

    Untyped grid buffer

    Exceptions
    Type Condition
    KeyNotFoundException

    If provided name does not exist yet