#include <ampiimpl.h>
Public Member Functions | |
AmpiOtherElement () noexcept | |
seqIncoming starts from 1, b/c 0 means unsequenced seqOutgoing starts from 0, b/c this will be incremented for the first real seq # | |
void | incSeqIncoming () noexcept |
Handle wrap around of unsigned type CMK_REFNUM_TYPE. | |
CMK_REFNUM_TYPE | getSeqIncoming () const noexcept |
void | incSeqOutgoing () noexcept |
CMK_REFNUM_TYPE | getSeqOutgoing () const noexcept |
void | incNumOutOfOrder () noexcept |
void | decNumOutOfOrder () noexcept |
uint16_t | getNumOutOfOrder () const noexcept |
Private Attributes | |
CMK_REFNUM_TYPE | seqIncoming |
Next incoming and outgoing message sequence number. | |
CMK_REFNUM_TYPE | seqOutgoing |
uint16_t | numOutOfOrder |
Number of messages in out-of-order queue (normally 0). |
Used to keep track of incoming and outgoing message sequence numbers, and the out-of-order message list.
Definition at line 1818 of file ampiimpl.h.
AmpiOtherElement::AmpiOtherElement | ( | ) | [inline] |
seqIncoming starts from 1, b/c 0 means unsequenced seqOutgoing starts from 0, b/c this will be incremented for the first real seq #
Definition at line 1829 of file ampiimpl.h.
void AmpiOtherElement::incSeqIncoming | ( | ) | [inline] |
Handle wrap around of unsigned type CMK_REFNUM_TYPE.
Definition at line 1832 of file ampiimpl.h.
Referenced by PUPbytes().
CMK_REFNUM_TYPE AmpiOtherElement::getSeqIncoming | ( | ) | const [inline] |
Definition at line 1833 of file ampiimpl.h.
Referenced by PUPbytes().
void AmpiOtherElement::incSeqOutgoing | ( | ) | [inline] |
Definition at line 1835 of file ampiimpl.h.
Referenced by PUPbytes().
CMK_REFNUM_TYPE AmpiOtherElement::getSeqOutgoing | ( | ) | const [inline] |
Definition at line 1836 of file ampiimpl.h.
Referenced by PUPbytes().
void AmpiOtherElement::incNumOutOfOrder | ( | ) | [inline] |
Definition at line 1838 of file ampiimpl.h.
void AmpiOtherElement::decNumOutOfOrder | ( | ) | [inline] |
Definition at line 1839 of file ampiimpl.h.
uint16_t AmpiOtherElement::getNumOutOfOrder | ( | ) | const [inline] |
Definition at line 1840 of file ampiimpl.h.
Referenced by PUPbytes().
CMK_REFNUM_TYPE AmpiOtherElement::seqIncoming [private] |
CMK_REFNUM_TYPE AmpiOtherElement::seqOutgoing [private] |
Definition at line 1821 of file ampiimpl.h.
uint16_t AmpiOtherElement::numOutOfOrder [private] |