Attribute | Attribute Meaning |
total_count | Total cumulative count of all samples lost across of instances of data published under the Topic. |
total_count_change | The incremental number of samples lost since the last time the listener was called or the status was read. |
A sample never reached the DataReader queue. The following events can lead to a sample lost status:
-
When the Presentation QoS is used with coherentAccess set to true and ResourceLimits Qos is active a sample lost can occur when all resources are consumed by incomplete transactions. In order to prevent deadlocks the the current transaction is dropped which causes a SampleLost event.
-
When the DestinationOrder QoS is set to BY_SOURCE_TIMESTAMP It can happen that older data is inserted after newer data is already taken by the DataReader. In this case the older data is not inserted into the DataReader and a Sample Lost is reported.
-
When the networking service detects a gap between sequence numbers of incoming data it will report a Sample Lost event
Definition at line 61 of file Status.hpp.