Table of Contents

Class Poll

Namespace
Gst
Assembly
Gst-1.0.dll
public sealed class Poll
Inheritance
Poll
Inherited Members

Constructors

Poll(PollOwnedHandle)

public Poll(PollOwnedHandle handle)

Parameters

handle PollOwnedHandle

Properties

Handle

public PollOwnedHandle Handle { get; }

Property Value

PollOwnedHandle

Methods

AddFd(PollFD)

public bool AddFd(PollFD fd)

Parameters

fd PollFD

Returns

bool

Equals(Poll?)

public bool Equals(Poll? other)

Parameters

other Poll

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

FdCanRead(PollFD)

public bool FdCanRead(PollFD fd)

Parameters

fd PollFD

Returns

bool

FdCanWrite(PollFD)

public bool FdCanWrite(PollFD fd)

Parameters

fd PollFD

Returns

bool

FdCtlPri(PollFD, bool)

[Version("1.16")]
public bool FdCtlPri(PollFD fd, bool active)

Parameters

fd PollFD
active bool

Returns

bool

FdCtlRead(PollFD, bool)

public bool FdCtlRead(PollFD fd, bool active)

Parameters

fd PollFD
active bool

Returns

bool

FdCtlWrite(PollFD, bool)

public bool FdCtlWrite(PollFD fd, bool active)

Parameters

fd PollFD
active bool

Returns

bool

FdHasClosed(PollFD)

public bool FdHasClosed(PollFD fd)

Parameters

fd PollFD

Returns

bool

FdHasError(PollFD)

public bool FdHasError(PollFD fd)

Parameters

fd PollFD

Returns

bool

FdHasPri(PollFD)

[Version("1.16")]
public bool FdHasPri(PollFD fd)

Parameters

fd PollFD

Returns

bool

FdIgnored(PollFD)

public void FdIgnored(PollFD fd)

Parameters

fd PollFD

Free()

public void Free()

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetReadGpollfd(PollFD)

public void GetReadGpollfd(PollFD fd)

Parameters

fd PollFD

New(bool)

public static Poll? New(bool controllable)

Parameters

controllable bool

Returns

Poll

NewTimer()

public static Poll? NewTimer()

Returns

Poll

ReadControl()

public bool ReadControl()

Returns

bool

RemoveFd(PollFD)

public bool RemoveFd(PollFD fd)

Parameters

fd PollFD

Returns

bool

Restart()

public void Restart()

SetControllable(bool)

public bool SetControllable(bool controllable)

Parameters

controllable bool

Returns

bool

SetFlushing(bool)

public void SetFlushing(bool flushing)

Parameters

flushing bool

Wait(ClockTime)

public int Wait(ClockTime timeout)

Parameters

timeout ClockTime

Returns

int

WriteControl()

public bool WriteControl()

Returns

bool