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
handlePollOwnedHandle
Properties
Handle
public PollOwnedHandle Handle { get; }
Property Value
Methods
AddFd(PollFD)
public bool AddFd(PollFD fd)
Parameters
fdPollFD
Returns
Equals(Poll?)
public bool Equals(Poll? other)
Parameters
otherPoll
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
FdCanRead(PollFD)
public bool FdCanRead(PollFD fd)
Parameters
fdPollFD
Returns
FdCanWrite(PollFD)
public bool FdCanWrite(PollFD fd)
Parameters
fdPollFD
Returns
FdCtlPri(PollFD, bool)
[Version("1.16")]
public bool FdCtlPri(PollFD fd, bool active)
Parameters
Returns
FdCtlRead(PollFD, bool)
public bool FdCtlRead(PollFD fd, bool active)
Parameters
Returns
FdCtlWrite(PollFD, bool)
public bool FdCtlWrite(PollFD fd, bool active)
Parameters
Returns
FdHasClosed(PollFD)
public bool FdHasClosed(PollFD fd)
Parameters
fdPollFD
Returns
FdHasError(PollFD)
public bool FdHasError(PollFD fd)
Parameters
fdPollFD
Returns
FdHasPri(PollFD)
[Version("1.16")]
public bool FdHasPri(PollFD fd)
Parameters
fdPollFD
Returns
FdIgnored(PollFD)
public void FdIgnored(PollFD fd)
Parameters
fdPollFD
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
fdPollFD
New(bool)
public static Poll? New(bool controllable)
Parameters
controllablebool
Returns
NewTimer()
public static Poll? NewTimer()
Returns
ReadControl()
public bool ReadControl()
Returns
RemoveFd(PollFD)
public bool RemoveFd(PollFD fd)
Parameters
fdPollFD
Returns
Restart()
public void Restart()
SetControllable(bool)
public bool SetControllable(bool controllable)
Parameters
controllablebool
Returns
SetFlushing(bool)
public void SetFlushing(bool flushing)
Parameters
flushingbool
Wait(ClockTime)
public int Wait(ClockTime timeout)
Parameters
timeoutClockTime
Returns
WriteControl()
public bool WriteControl()