Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
ScheduledQueue::Band Struct Reference

This structure contains information about one priority band. More...

Public Attributes

Q queue_
 Holds the queue for this priority band.
 
Fixed16 stride_ {0}
 How many tokens we add each call.
 
Fixed16 currentToken_ {1, 0}
 How many tokens we have right now.
 

Detailed Description

This structure contains information about one priority band.

Definition at line 198 of file ScheduledQueue.hxx.

Member Data Documentation

◆ currentToken_

Fixed16 ScheduledQueue::Band::currentToken_ {1, 0}

How many tokens we have right now.

If this is > 1 then we will emit the front of this queue, if it is < 1 then we move on to the next priority item.

Definition at line 207 of file ScheduledQueue.hxx.

◆ queue_

Q ScheduledQueue::Band::queue_

Holds the queue for this priority band.

Definition at line 201 of file ScheduledQueue.hxx.

◆ stride_

Fixed16 ScheduledQueue::Band::stride_ {0}

How many tokens we add each call.

Definition at line 203 of file ScheduledQueue.hxx.


The documentation for this struct was generated from the following file: