RtpsCore.idl,定义了RTPS对等发现模块所需要的各种内部通讯报文(即RTPS库所需要的结构体),有助于了解和深入掌握RTPS对等发现层的含义。
#include "dds/DdsDcpsInfoUtils.idl"
module OpenDDS {
module RTPS {
typedef octet OctetArray2[2];
typedef octet OctetArray4[4];
/* A list of filters that were applied to the sample.
See section 9.6.3.1 for the signature-generation algorithm. */
typedef long FilterSignature_t[4];
/* For each filter signature, the results indicate whether the
sample passed the filter. */
typedef sequence<long> FilterResult_t;
typedef sequence<FilterSignature_t> FilterSignatureSeq;
struct ContentFilterInfo_t {
FilterResult_t filterResult;
FilterSignatureSeq filterSignatures;
};
struct Property_t {
string name;
string value;
};
typedef sequence<Property_t> PropertySeq;
struct EntityName_t {
string name;
};
/* Type us