17.2.2.17.3. SequenceNumber_t

struct eprosima::fastrtps::rtps::SequenceNumber_t

Structure SequenceNumber_t, different for each change in the same writer.

Public Functions

SequenceNumber_t() noexcept

Default constructor.

SequenceNumber_t(int32_t hi, uint32_t lo) noexcept

Parameters
  • hi:

  • lo:

SequenceNumber_t(uint64_t u) noexcept

Parameters
  • u:

uint64_t to64long() const noexcept

Convert the number to 64 bit.

Return

64 bit representation of the SequenceNumber

SequenceNumber_t &operator++() noexcept

Increase SequenceNumber in 1.

SequenceNumber_t &operator+=(int inc) noexcept

Increase SequenceNumber.

Parameters
  • inc: Number to add to the SequenceNumber