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

inline SequenceNumber_t() noexcept

Default constructor.

inline SequenceNumber_t(int32_t hi, uint32_t lo) noexcept
Parameters
  • hi

  • lo

inline explicit SequenceNumber_t(uint64_t u) noexcept
Parameters

u

inline uint64_t to64long() const noexcept

Convert the number to 64 bit.

Returns

64 bit representation of the SequenceNumber

inline SequenceNumber_t &operator++() noexcept

Increase SequenceNumber in 1.

inline SequenceNumber_t &operator+=(int inc) noexcept

Increase SequenceNumber.

Parameters

inc – Number to add to the SequenceNumber