Table of Contents

Class DataQueue

Namespace
GstBase
Assembly
GstBase-1.0.dll
public class DataQueue : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
DataQueue
Implements
Inherited Members

Constructors

DataQueue(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public DataQueue(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

DataQueue(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected DataQueue(CreationData data)

Parameters

data CreationData

DataQueue(DataQueueHandle)

protected DataQueue(DataQueueHandle handle)

Parameters

handle DataQueueHandle

Fields

CurrentLevelBytesPropertyDefinition

public static readonly Property<uint, DataQueue> CurrentLevelBytesPropertyDefinition

Field Value

Property<uint, DataQueue>

CurrentLevelTimePropertyDefinition

public static readonly Property<ulong, DataQueue> CurrentLevelTimePropertyDefinition

Field Value

Property<ulong, DataQueue>

CurrentLevelVisiblePropertyDefinition

public static readonly Property<uint, DataQueue> CurrentLevelVisiblePropertyDefinition

Field Value

Property<uint, DataQueue>

EmptySignal

Signal Descriptor for OnEmpty.

public static readonly Signal<DataQueue> EmptySignal

Field Value

Signal<DataQueue>

FullSignal

Signal Descriptor for OnFull.

public static readonly Signal<DataQueue> FullSignal

Field Value

Signal<DataQueue>

Properties

CurrentLevelBytes

public uint CurrentLevelBytes { get; }

Property Value

uint

CurrentLevelTime

public ulong CurrentLevelTime { get; }

Property Value

ulong

CurrentLevelVisible

public uint CurrentLevelVisible { get; }

Property Value

uint

Methods

DropHead(Type)

[Version("1.2")]
public bool DropHead(Type type)

Parameters

type Type

Returns

bool

Flush()

[Version("1.2")]
public void Flush()

GetGType()

public static Type GetGType()

Returns

Type

GetLevel(out DataQueueSize)

[Version("1.2")]
public void GetLevel(out DataQueueSize level)

Parameters

level DataQueueSize

IsEmpty()

[Version("1.2")]
public bool IsEmpty()

Returns

bool

IsFull()

[Version("1.2")]
public bool IsFull()

Returns

bool

LimitsChanged()

[Version("1.2")]
public void LimitsChanged()

NewFromPointer(nint, bool)

Creates a new managed DataQueue instance for a given pointer.

public static DataQueue NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

DataQueue

NewWithProperties(ConstructArgument[])

Creates a new DataQueue and sets the properties specified by the construct arguments.

public static DataQueue NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

DataQueue

Push(DataQueueItem)

[Version("1.2")]
public bool Push(DataQueueItem item)

Parameters

item DataQueueItem

Returns

bool

PushForce(DataQueueItem)

[Version("1.2")]
public bool PushForce(DataQueueItem item)

Parameters

item DataQueueItem

Returns

bool

SetFlushing(bool)

[Version("1.2")]
public void SetFlushing(bool flushing)

Parameters

flushing bool

Events

OnEmpty

public event SignalHandler<DataQueue> OnEmpty

Event Type

SignalHandler<DataQueue>

OnFull

public event SignalHandler<DataQueue> OnFull

Event Type

SignalHandler<DataQueue>