Fast DDS  Version 3.6.1.0
Fast DDS
types.idl
1 // Copyright 2021 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
19 module eprosima {
20 module fastdds {
21 module statistics {
22 
23  module detail
24  {
25 
26  struct EntityId_s
27  {
28  octet value[4];
29  };
30 
31  struct GuidPrefix_s
32  {
33  octet value[12];
34  };
35 
36  struct GUID_s
37  {
40  };
41 
43  {
44  long high;
45  unsigned long low;
46  };
47 
49  {
52  };
53 
54  struct Locator_s
55  {
56  long kind;
57  unsigned long port;
58  octet address[16];
59  };
60 
61  }; // namespace detail
62 
64 {
67  unsigned long long time;
68  string host;
69  string user;
70  string process;
71 };
72 
74 {
76  unsigned long long count;
77 };
78 
80 {
82  unsigned long long count;
83 };
84 
86 {
89  unsigned long long packet_count;
90  unsigned long long byte_count;
92 };
93 
95 {
98  float data;
99 };
100 
102 {
105  float data;
106 };
107 
109 {
111  float data;
112 };
113 
115 {
117  string host;
118  string user;
119  string process;
120 };
121 
122 module EventKind
123 {
124  const unsigned long HISTORY2HISTORY_LATENCY = 0x1;
125  const unsigned long NETWORK_LATENCY = 0x2;
126  const unsigned long PUBLICATION_THROUGHPUT = 0x4;
127  const unsigned long SUBSCRIPTION_THROUGHPUT = 0x8;
128  const unsigned long RTPS_SENT = 0x10;
129  const unsigned long RTPS_LOST = 0x20;
130  const unsigned long RESENT_DATAS = 0x40;
131  const unsigned long HEARTBEAT_COUNT = 0x80;
132  const unsigned long ACKNACK_COUNT = 0x100;
133  const unsigned long NACKFRAG_COUNT = 0x200;
134  const unsigned long GAP_COUNT = 0x400;
135  const unsigned long DATA_COUNT = 0x800;
136  const unsigned long PDP_PACKETS = 0x1000;
137  const unsigned long EDP_PACKETS = 0x2000;
138  const unsigned long DISCOVERED_ENTITY = 0x4000;
139  const unsigned long SAMPLE_DATAS = 0x8000;
140  const unsigned long PHYSICAL_DATA = 0x10000;
141 };
142 
143 union Data switch(unsigned long)
144 {
145  case EventKind::HISTORY2HISTORY_LATENCY:
147  case EventKind::NETWORK_LATENCY:
149  case EventKind::PUBLICATION_THROUGHPUT:
150  case EventKind::SUBSCRIPTION_THROUGHPUT:
152  case EventKind::RTPS_SENT:
153  case EventKind::RTPS_LOST:
155  case EventKind::RESENT_DATAS:
156  case EventKind::HEARTBEAT_COUNT:
157  case EventKind::ACKNACK_COUNT:
158  case EventKind::NACKFRAG_COUNT:
159  case EventKind::GAP_COUNT:
160  case EventKind::DATA_COUNT:
161  case EventKind::PDP_PACKETS:
162  case EventKind::EDP_PACKETS:
164  case EventKind::DISCOVERED_ENTITY:
166  case EventKind::SAMPLE_DATAS:
168  case EventKind::PHYSICAL_DATA:
170 };
171 
172 }; // namespace statistics
173 }; // namespace fastdds
174 }; // namespace eprosima
const unsigned long DISCOVERED_ENTITY
Definition: types.idl:138
const unsigned long NACKFRAG_COUNT
Definition: types.idl:133
const unsigned long HISTORY2HISTORY_LATENCY
Definition: types.idl:124
const unsigned long SUBSCRIPTION_THROUGHPUT
Definition: types.idl:127
const unsigned long PDP_PACKETS
Definition: types.idl:136
const unsigned long RTPS_LOST
Definition: types.idl:129
const unsigned long EDP_PACKETS
Definition: types.idl:137
const unsigned long GAP_COUNT
Definition: types.idl:134
const unsigned long SAMPLE_DATAS
Definition: types.idl:139
const unsigned long DATA_COUNT
Definition: types.idl:135
const unsigned long PUBLICATION_THROUGHPUT
Definition: types.idl:126
const unsigned long ACKNACK_COUNT
Definition: types.idl:132
const unsigned long NETWORK_LATENCY
Definition: types.idl:125
const unsigned long RESENT_DATAS
Definition: types.idl:130
const unsigned long RTPS_SENT
Definition: types.idl:128
const unsigned long PHYSICAL_DATA
Definition: types.idl:140
const unsigned long HEARTBEAT_COUNT
Definition: types.idl:131
Key detail::GUID_s remote_entity_guid
Definition: types.idl:66
Key detail::GUID_s local_participant_guid
Definition: types.idl:65
string host
Definition: types.idl:68
string process
Definition: types.idl:70
unsigned long long time
Definition: types.idl:67
string user
Definition: types.idl:69
short byte_magnitude_order
Definition: types.idl:91
Key detail::Locator_s dst_locator
Definition: types.idl:88
unsigned long long packet_count
Definition: types.idl:89
Key detail::GUID_s src_guid
Definition: types.idl:87
unsigned long long byte_count
Definition: types.idl:90
unsigned long long count
Definition: types.idl:76
Key detail::GUID_s guid
Definition: types.idl:75
float data
Definition: types.idl:111
Key detail::GUID_s guid
Definition: types.idl:110
Key detail::Locator_s dst_locator
Definition: types.idl:104
Key detail::Locator_s src_locator
Definition: types.idl:103
string host
Definition: types.idl:117
string process
Definition: types.idl:119
Key detail::GUID_s participant_guid
Definition: types.idl:116
string user
Definition: types.idl:118
unsigned long long count
Definition: types.idl:82
Key detail::SampleIdentity_s sample_id
Definition: types.idl:81
Key detail::GUID_s writer_guid
Definition: types.idl:96
Key detail::GUID_s reader_guid
Definition: types.idl:97
EntityId_s entityId
Definition: types.idl:39
GuidPrefix_s guidPrefix
Definition: types.idl:38
unsigned long port
Definition: types.idl:57
SequenceNumber_s sequence_number
Definition: types.idl:51
unsigned long low
Definition: types.idl:45
Definition: types.idl:144
Entity2LocatorTraffic entity2locator_traffic
Definition: types.idl:154
SampleIdentityCount sample_identity_count
Definition: types.idl:167
DiscoveryTime discovery_time
Definition: types.idl:165
WriterReaderData writer_reader_data
Definition: types.idl:146
EntityData entity_data
Definition: types.idl:151
PhysicalData physical_data
Definition: types.idl:169
EntityCount entity_count
Definition: types.idl:163
Locator2LocatorData locator2locator_data
Definition: types.idl:148