Fast DDS
Version 3.6.1.0
Fast DDS
Toggle main menu visibility
Loading...
Searching...
No Matches
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
18
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
{
38
GuidPrefix_s
guidPrefix
;
39
EntityId_s
entityId
;
40
};
41
42
struct
SequenceNumber_s
43
{
44
long
high
;
45
unsigned
long
low
;
46
};
47
48
struct
SampleIdentity_s
49
{
50
GUID_s
writer_guid
;
51
SequenceNumber_s
sequence_number
;
52
};
53
54
struct
Locator_s
55
{
56
long
kind
;
57
unsigned
long
port
;
58
octet
address
[16];
59
};
60
61
};
// namespace detail
62
63
struct
DiscoveryTime
64
{
65
@Key
detail::GUID_s
local_participant_guid
;
66
@Key
detail::GUID_s
remote_entity_guid
;
67
unsigned
long
long
time
;
68
string
host
;
69
string
user
;
70
string
process
;
71
};
72
73
struct
EntityCount
74
{
75
@Key
detail::GUID_s
guid
;
76
unsigned
long
long
count
;
77
};
78
79
struct
SampleIdentityCount
80
{
81
@Key
detail::SampleIdentity_s
sample_id
;
82
unsigned
long
long
count
;
83
};
84
85
struct
Entity2LocatorTraffic
86
{
87
@Key
detail::GUID_s
src_guid
;
88
@Key
detail::Locator_s
dst_locator
;
89
unsigned
long
long
packet_count
;
90
unsigned
long
long
byte_count
;
91
short
byte_magnitude_order
;
92
};
93
94
struct
WriterReaderData
95
{
96
@Key
detail::GUID_s
writer_guid
;
97
@Key
detail::GUID_s
reader_guid
;
98
float
data
;
99
};
100
101
struct
Locator2LocatorData
102
{
103
@Key
detail::Locator_s
src_locator
;
104
@Key
detail::Locator_s
dst_locator
;
105
float
data
;
106
};
107
108
struct
EntityData
109
{
110
@Key
detail::GUID_s
guid
;
111
float
data
;
112
};
113
114
struct
PhysicalData
115
{
116
@Key
detail::GUID_s
participant_guid
;
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
:
146
WriterReaderData
writer_reader_data
;
147
case
EventKind::NETWORK_LATENCY
:
148
Locator2LocatorData
locator2locator_data
;
149
case
EventKind::PUBLICATION_THROUGHPUT
:
150
case
EventKind::SUBSCRIPTION_THROUGHPUT
:
151
EntityData
entity_data
;
152
case
EventKind::RTPS_SENT
:
153
case
EventKind::RTPS_LOST
:
154
Entity2LocatorTraffic
entity2locator_traffic
;
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
:
163
EntityCount
entity_count
;
164
case
EventKind::DISCOVERED_ENTITY
:
165
DiscoveryTime
discovery_time
;
166
case
EventKind::SAMPLE_DATAS
:
167
SampleIdentityCount
sample_identity_count
;
168
case
EventKind::PHYSICAL_DATA
:
169
PhysicalData
physical_data
;
170
};
171
172
};
// namespace statistics
173
};
// namespace fastdds
174
};
// namespace eprosima
eprosima::fastdds::statistics::EventKind
Definition
types.idl:123
eprosima::fastdds::statistics::EventKind::DISCOVERED_ENTITY
const unsigned long DISCOVERED_ENTITY
Definition
types.idl:138
eprosima::fastdds::statistics::EventKind::NACKFRAG_COUNT
const unsigned long NACKFRAG_COUNT
Definition
types.idl:133
eprosima::fastdds::statistics::EventKind::HISTORY2HISTORY_LATENCY
const unsigned long HISTORY2HISTORY_LATENCY
Definition
types.idl:124
eprosima::fastdds::statistics::EventKind::SUBSCRIPTION_THROUGHPUT
const unsigned long SUBSCRIPTION_THROUGHPUT
Definition
types.idl:127
eprosima::fastdds::statistics::EventKind::PDP_PACKETS
const unsigned long PDP_PACKETS
Definition
types.idl:136
eprosima::fastdds::statistics::EventKind::RTPS_LOST
const unsigned long RTPS_LOST
Definition
types.idl:129
eprosima::fastdds::statistics::EventKind::EDP_PACKETS
const unsigned long EDP_PACKETS
Definition
types.idl:137
eprosima::fastdds::statistics::EventKind::GAP_COUNT
const unsigned long GAP_COUNT
Definition
types.idl:134
eprosima::fastdds::statistics::EventKind::SAMPLE_DATAS
const unsigned long SAMPLE_DATAS
Definition
types.idl:139
eprosima::fastdds::statistics::EventKind::DATA_COUNT
const unsigned long DATA_COUNT
Definition
types.idl:135
eprosima::fastdds::statistics::EventKind::PUBLICATION_THROUGHPUT
const unsigned long PUBLICATION_THROUGHPUT
Definition
types.idl:126
eprosima::fastdds::statistics::EventKind::ACKNACK_COUNT
const unsigned long ACKNACK_COUNT
Definition
types.idl:132
eprosima::fastdds::statistics::EventKind::NETWORK_LATENCY
const unsigned long NETWORK_LATENCY
Definition
types.idl:125
eprosima::fastdds::statistics::EventKind::RESENT_DATAS
const unsigned long RESENT_DATAS
Definition
types.idl:130
eprosima::fastdds::statistics::EventKind::RTPS_SENT
const unsigned long RTPS_SENT
Definition
types.idl:128
eprosima::fastdds::statistics::EventKind::PHYSICAL_DATA
const unsigned long PHYSICAL_DATA
Definition
types.idl:140
eprosima::fastdds::statistics::EventKind::HEARTBEAT_COUNT
const unsigned long HEARTBEAT_COUNT
Definition
types.idl:131
eprosima::fastdds::statistics::detail
Definition
types.idl:24
eprosima
eProsima namespace.
eprosima::fastdds::statistics::DiscoveryTime
Definition
types.idl:64
eprosima::fastdds::statistics::DiscoveryTime::remote_entity_guid
Key detail::GUID_s remote_entity_guid
Definition
types.idl:66
eprosima::fastdds::statistics::DiscoveryTime::local_participant_guid
Key detail::GUID_s local_participant_guid
Definition
types.idl:65
eprosima::fastdds::statistics::DiscoveryTime::host
string host
Definition
types.idl:68
eprosima::fastdds::statistics::DiscoveryTime::process
string process
Definition
types.idl:70
eprosima::fastdds::statistics::DiscoveryTime::time
unsigned long long time
Definition
types.idl:67
eprosima::fastdds::statistics::DiscoveryTime::user
string user
Definition
types.idl:69
eprosima::fastdds::statistics::Entity2LocatorTraffic
Definition
types.idl:86
eprosima::fastdds::statistics::Entity2LocatorTraffic::byte_magnitude_order
short byte_magnitude_order
Definition
types.idl:91
eprosima::fastdds::statistics::Entity2LocatorTraffic::dst_locator
Key detail::Locator_s dst_locator
Definition
types.idl:88
eprosima::fastdds::statistics::Entity2LocatorTraffic::packet_count
unsigned long long packet_count
Definition
types.idl:89
eprosima::fastdds::statistics::Entity2LocatorTraffic::src_guid
Key detail::GUID_s src_guid
Definition
types.idl:87
eprosima::fastdds::statistics::Entity2LocatorTraffic::byte_count
unsigned long long byte_count
Definition
types.idl:90
eprosima::fastdds::statistics::EntityCount
Definition
types.idl:74
eprosima::fastdds::statistics::EntityCount::count
unsigned long long count
Definition
types.idl:76
eprosima::fastdds::statistics::EntityCount::guid
Key detail::GUID_s guid
Definition
types.idl:75
eprosima::fastdds::statistics::EntityData
Definition
types.idl:109
eprosima::fastdds::statistics::EntityData::data
float data
Definition
types.idl:111
eprosima::fastdds::statistics::EntityData::guid
Key detail::GUID_s guid
Definition
types.idl:110
eprosima::fastdds::statistics::Locator2LocatorData
Definition
types.idl:102
eprosima::fastdds::statistics::Locator2LocatorData::data
float data
Definition
types.idl:105
eprosima::fastdds::statistics::Locator2LocatorData::dst_locator
Key detail::Locator_s dst_locator
Definition
types.idl:104
eprosima::fastdds::statistics::Locator2LocatorData::src_locator
Key detail::Locator_s src_locator
Definition
types.idl:103
eprosima::fastdds::statistics::PhysicalData
Definition
types.idl:115
eprosima::fastdds::statistics::PhysicalData::host
string host
Definition
types.idl:117
eprosima::fastdds::statistics::PhysicalData::process
string process
Definition
types.idl:119
eprosima::fastdds::statistics::PhysicalData::participant_guid
Key detail::GUID_s participant_guid
Definition
types.idl:116
eprosima::fastdds::statistics::PhysicalData::user
string user
Definition
types.idl:118
eprosima::fastdds::statistics::SampleIdentityCount
Definition
types.idl:80
eprosima::fastdds::statistics::SampleIdentityCount::count
unsigned long long count
Definition
types.idl:82
eprosima::fastdds::statistics::SampleIdentityCount::sample_id
Key detail::SampleIdentity_s sample_id
Definition
types.idl:81
eprosima::fastdds::statistics::WriterReaderData
Definition
types.idl:95
eprosima::fastdds::statistics::WriterReaderData::data
float data
Definition
types.idl:98
eprosima::fastdds::statistics::WriterReaderData::writer_guid
Key detail::GUID_s writer_guid
Definition
types.idl:96
eprosima::fastdds::statistics::WriterReaderData::reader_guid
Key detail::GUID_s reader_guid
Definition
types.idl:97
eprosima::fastdds::statistics::detail::EntityId_s
Definition
types.idl:27
eprosima::fastdds::statistics::detail::EntityId_s::value
octet value[4]
Definition
types.idl:28
eprosima::fastdds::statistics::detail::GUID_s
Definition
types.idl:37
eprosima::fastdds::statistics::detail::GUID_s::entityId
EntityId_s entityId
Definition
types.idl:39
eprosima::fastdds::statistics::detail::GUID_s::guidPrefix
GuidPrefix_s guidPrefix
Definition
types.idl:38
eprosima::fastdds::statistics::detail::GuidPrefix_s
Definition
types.idl:32
eprosima::fastdds::statistics::detail::GuidPrefix_s::value
octet value[12]
Definition
types.idl:33
eprosima::fastdds::statistics::detail::Locator_s
Definition
types.idl:55
eprosima::fastdds::statistics::detail::Locator_s::address
octet address[16]
Definition
types.idl:58
eprosima::fastdds::statistics::detail::Locator_s::port
unsigned long port
Definition
types.idl:57
eprosima::fastdds::statistics::detail::Locator_s::kind
long kind
Definition
types.idl:56
eprosima::fastdds::statistics::detail::SampleIdentity_s
Definition
types.idl:49
eprosima::fastdds::statistics::detail::SampleIdentity_s::sequence_number
SequenceNumber_s sequence_number
Definition
types.idl:51
eprosima::fastdds::statistics::detail::SampleIdentity_s::writer_guid
GUID_s writer_guid
Definition
types.idl:50
eprosima::fastdds::statistics::detail::SequenceNumber_s
Definition
types.idl:43
eprosima::fastdds::statistics::detail::SequenceNumber_s::low
unsigned long low
Definition
types.idl:45
eprosima::fastdds::statistics::detail::SequenceNumber_s::high
long high
Definition
types.idl:44
eprosima::fastdds::statistics::Data
Definition
types.idl:144
eprosima::fastdds::statistics::Data::entity2locator_traffic
Entity2LocatorTraffic entity2locator_traffic
Definition
types.idl:154
eprosima::fastdds::statistics::Data::sample_identity_count
SampleIdentityCount sample_identity_count
Definition
types.idl:167
eprosima::fastdds::statistics::Data::discovery_time
DiscoveryTime discovery_time
Definition
types.idl:165
eprosima::fastdds::statistics::Data::writer_reader_data
WriterReaderData writer_reader_data
Definition
types.idl:146
eprosima::fastdds::statistics::Data::entity_data
EntityData entity_data
Definition
types.idl:151
eprosima::fastdds::statistics::Data::physical_data
PhysicalData physical_data
Definition
types.idl:169
eprosima::fastdds::statistics::Data::entity_count
EntityCount entity_count
Definition
types.idl:163
eprosima::fastdds::statistics::Data::locator2locator_data
Locator2LocatorData locator2locator_data
Definition
types.idl:148
include
fastdds
statistics
types.idl
Generated on
for