Gee.Queue

g GObject.GInterface GObject.GInterface Gee.Queue Gee.Queue GObject.GInterface->Gee.Queue

Implementations:

Gee.AbstractQueue, Gee.LinkedList, Gee.UnrolledLinkedList

Methods

drain (recipient, amount)

get_capacity ()

get_is_full ()

get_remaining_capacity ()

offer (element)

peek ()

poll ()

Virtual Methods

do_drain (recipient, amount)

do_get_capacity ()

do_get_is_full ()

do_get_remaining_capacity ()

do_offer (element)

do_peek ()

do_poll ()

Properties

Name

Type

Flags

Short Description

capacity

int

r

capacity

is-full

bool

r

is-full

remaining-capacity

int

r

remaining-capacity

Signals

None

Fields

None

Class Details

class Gee.Queue
Bases:

GObject.GInterface

Structure:

Gee.QueueIface

drain(recipient, amount)
Parameters:
Return type:

int

get_capacity()
Return type:

int

get_is_full()
Return type:

bool

get_remaining_capacity()
Return type:

int

offer(element)
Parameters:

element (object or None) –

Return type:

bool

peek()
Return type:

object or None

poll()
Return type:

object or None

do_drain(recipient, amount) virtual
Parameters:
Return type:

int

do_get_capacity() virtual
Return type:

int

do_get_is_full() virtual
Return type:

bool

do_get_remaining_capacity() virtual
Return type:

int

do_offer(element) virtual
Parameters:

element (object or None) –

Return type:

bool

do_peek() virtual
Return type:

object or None

do_poll() virtual
Return type:

object or None

Property Details

Gee.Queue.props.capacity
Name:

capacity

Type:

int

Default Value:

0

Flags:

READABLE

capacity

Gee.Queue.props.is_full
Name:

is-full

Type:

bool

Default Value:

False

Flags:

READABLE

is-full

Gee.Queue.props.remaining_capacity
Name:

remaining-capacity

Type:

int

Default Value:

0

Flags:

READABLE

remaining-capacity