15.2.11.1. LivelinessData¶
-
struct
eprosima::fastrtps::rtps
::
LivelinessData
¶ A struct keeping relevant liveliness information of a writer.
Public Functions
-
LivelinessData
(GUID_t guid_in, LivelinessQosPolicyKind kind_in, Duration_t lease_duration_in)¶ Constructor.
- Parameters
guid_in
: GUID of the writerkind_in
: Liveliness kindlease_duration_in
: Liveliness lease duration
-
bool
operator==
(const LivelinessData &other) const¶ Equality operator.
- Return
True if equal
- Parameters
other
: Liveliness data to compare to
-
bool
operator!=
(const LivelinessData &other) const¶ Inequality operator.
- Return
True if different
- Parameters
other
: Liveliness data to compare to
Public Members
-
LivelinessQosPolicyKind
kind
¶ Writer liveliness kind.
-
Duration_t
lease_duration
¶ The lease duration.
-
unsigned int
count
= 1¶ The number of times the writer is being counted.
-
WriterStatus
status
¶ The writer status.
-
std::chrono::steady_clock::time_point
time
¶ The time when the writer will lose liveliness.
-