123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #ifndef _FASTDDS_RTPS_READER_READERDISCOVERYINFO_H__
- #define _FASTDDS_RTPS_READER_READERDISCOVERYINFO_H__
- #include <fastrtps/fastrtps_dll.h>
- #include <fastdds/rtps/builtin/data/ReaderProxyData.h>
- namespace eprosima {
- namespace fastrtps {
- namespace rtps {
- struct ReaderDiscoveryInfo
- {
- public:
-
-
- #if defined(_WIN32)
- enum RTPS_DllAPI DISCOVERY_STATUS
- #else
- enum DISCOVERY_STATUS
- #endif
- {
- DISCOVERED_READER,
- CHANGED_QOS_READER,
- REMOVED_READER
- };
- ReaderDiscoveryInfo(const ReaderProxyData& data)
- : status(DISCOVERED_READER)
- , info(data)
- {}
- virtual ~ReaderDiscoveryInfo() {}
-
- DISCOVERY_STATUS status;
-
- const ReaderProxyData& info;
- };
- }
- }
- }
- #endif
|