123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- #ifndef SAMPLEINFO_H_
- #define SAMPLEINFO_H_
- #include <cstdint>
- #include <fastrtps/fastrtps_dll.h>
- #include <fastdds/rtps/common/Time_t.h>
- #include <fastdds/rtps/common/InstanceHandle.h>
- #include <fastdds/rtps/common/CacheChange.h>
- namespace eprosima {
- namespace fastrtps {
- class RTPS_DllAPI SampleInfo_t
- {
- public:
- SampleInfo_t()
- : sampleKind(rtps::ALIVE)
- , ownershipStrength(0)
- , sample_identity(rtps::SampleIdentity::unknown())
- , related_sample_identity(rtps::SampleIdentity::unknown())
- {
- }
- virtual ~SampleInfo_t()
- {
- }
-
- rtps::ChangeKind_t sampleKind;
-
- uint32_t ownershipStrength;
-
- rtps::Time_t sourceTimestamp;
-
- rtps::Time_t receptionTimestamp;
-
- rtps::InstanceHandle_t iHandle;
- rtps::SampleIdentity sample_identity;
- rtps::SampleIdentity related_sample_identity;
- };
- }
- }
- #endif
|