Show / Hide Table of Contents

Class BaseEventQueue<T>

Abstract base implementation of an Event Queue.

Inheritance
object
BaseEventQueue<T>
EventQueue<T>
SublistEventQueue<T>
Implements
IEventQueue<T>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Events
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseEventQueue<T> : IEventQueue<T> where T : IEvent
Type Parameters
Name Description
T

Fields

| Edit this page View Source

_eventgen

Generator used to fill the Event Queue.

Declaration
protected IEventGenerator<T> _eventgen
Field Value
Type Description
IEventGenerator<T>
| Edit this page View Source

_lasteventtype

Type of Last Event dequeued.

Declaration
protected int _lasteventtype
Field Value
Type Description
int
| Edit this page View Source

_tracing

Variable indicating whether Generator Tracing is enabled.

Declaration
protected bool _tracing
Field Value
Type Description
bool

Properties

| Edit this page View Source

Count

Gets the number of Events in the Queue.

Declaration
public abstract int Count { get; }
Property Value
Type Description
int
| Edit this page View Source

EventGenerator

Gets the Event Generator used by the Queue.

Declaration
public IEventGenerator<T> EventGenerator { get; }
Property Value
Type Description
IEventGenerator<T>
| Edit this page View Source

LastEventType

Gets the Event Type of the last Event dequeued.

Declaration
public int LastEventType { get; }
Property Value
Type Description
int
| Edit this page View Source

Tracing

Gets/Sets Tracing for the Event Queue.

Declaration
public bool Tracing { get; set; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

Clear()

Clears the Event Queue.

Declaration
public abstract void Clear()
| Edit this page View Source

Dequeue()

Dequeues an Event from the Queue.

Declaration
public abstract T Dequeue()
Returns
Type Description
T
| Edit this page View Source

Enqueue(T)

Adds an Event to the Queue.

Declaration
public abstract void Enqueue(T e)
Parameters
Type Name Description
T e

Event.

| Edit this page View Source

Peek()

Gets the next Event from the Queue without removing it from the queue.

Declaration
public abstract T Peek()
Returns
Type Description
T

Implements

IEventQueue<T>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Fields
    • _eventgen
    • _lasteventtype
    • _tracing
  • Properties
    • Count
    • EventGenerator
    • LastEventType
    • Tracing
  • Methods
    • Clear()
    • Dequeue()
    • Enqueue(T)
    • Peek()
  • Implements
  • Extension Methods
Back to top Generated by DocFX