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
Methods
AddFd(PollFD)
public bool AddFd(PollFD fd)
Parameters
fd
PollFD
Returns
Equals(Poll?)
public bool Equals(Poll? other)
Parameters
other
Poll
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
FdCanRead(PollFD)
public bool FdCanRead(PollFD fd)
Parameters
fd
PollFD
Returns
FdCanWrite(PollFD)
public bool FdCanWrite(PollFD fd)
Parameters
fd
PollFD
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
fd
PollFD
Returns
FdHasError(PollFD)
public bool FdHasError(PollFD fd)
Parameters
fd
PollFD
Returns
FdHasPri(PollFD)
[Version("1.16")]
public bool FdHasPri(PollFD fd)
Parameters
fd
PollFD
Returns
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
NewTimer()
public static Poll? NewTimer()
Returns
ReadControl()
public bool ReadControl()
Returns
RemoveFd(PollFD)
public bool RemoveFd(PollFD fd)
Parameters
fd
PollFD
Returns
Restart()
public void Restart()
SetControllable(bool)
public bool SetControllable(bool controllable)
Parameters
controllable
bool
Returns
SetFlushing(bool)
public void SetFlushing(bool flushing)
Parameters
flushing
bool
Wait(ClockTime)
public int Wait(ClockTime timeout)
Parameters
timeout
ClockTime
Returns
WriteControl()
public bool WriteControl()