M1M3 Support System
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
LSST::M1M3::SS::RoundRobin Class Reference

Methods for round robin token/index. More...

#include <RoundRobin.h>

Static Public Member Functions

static int32_t Inc (int32_t index, int32_t limit)
 Increase index.
 
static uint8_t BroadcastCounter (uint8_t broadcastCounter)
 Returns ILC next broadcast counter.
 

Detailed Description

Methods for round robin token/index.

Member Function Documentation

◆ BroadcastCounter()

static uint8_t LSST::M1M3::SS::RoundRobin::BroadcastCounter ( uint8_t broadcastCounter)
inlinestatic

Returns ILC next broadcast counter.

Broadcast counter is 4 bites (0-15).

Parameters
broadcastCountercurrent broadcast counter value
Returns
next broadcast counter value.
Here is the caller graph for this function:

◆ Inc()

static int32_t LSST::M1M3::SS::RoundRobin::Inc ( int32_t index,
int32_t limit )
inlinestatic

Increase index.

If index is > limit, returns 0 (next index in round robin).

Parameters
indexcurrent index
limitmaximum size
Returns
next index
Here is the caller graph for this function:

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