12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- #ifndef _RTPS_WRITER_WRITERDISCOVERYINFO_H_
- #define _RTPS_WRITER_WRITERDISCOVERYINFO_H_
- #include <fastrtps/fastrtps_dll.h>
- #include <fastdds/rtps/builtin/data/WriterProxyData.h>
- namespace eprosima {
- namespace fastrtps {
- namespace rtps {
- struct WriterDiscoveryInfo
- {
- public:
-
-
- #if defined(_WIN32)
- enum RTPS_DllAPI DISCOVERY_STATUS
- #else
- enum DISCOVERY_STATUS
- #endif
- {
- DISCOVERED_WRITER,
- CHANGED_QOS_WRITER,
- REMOVED_WRITER
- };
- WriterDiscoveryInfo(const WriterProxyData& data)
- : status(DISCOVERED_WRITER)
- , info(data)
- {}
- virtual ~WriterDiscoveryInfo() {}
-
- DISCOVERY_STATUS status;
-
- const WriterProxyData& info;
- };
- }
- }
- }
- #endif
|