| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
monitorservice_types.idl
1// Copyright 2023 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#include "types.idl"
20
21module eprosima {
22module fastdds {
23module statistics {
24
25 enum ConnectionMode
26 {
27 DATA_SHARING,
28 INTRAPROCESS,
29 TRANSPORT
30 };
31
32 struct Connection
33 {
34 ConnectionMode mode;
35 detail::GUID_s guid;
36 sequence<detail::Locator_s> announced_locators;
37 sequence<detail::Locator_s> used_locators;
38 };
39
40 struct QosPolicyCount_s
41 {
42 unsigned long policy_id;
43 unsigned long count;
44 };
45
46 struct BaseStatus_s
47 {
48 unsigned long total_count;
49 };
50
51 typedef sequence<QosPolicyCount_s> QosPolicyCountSeq_s;
52
53 struct IncompatibleQoSStatus_s
54 {
55 unsigned long total_count;
56 unsigned long last_policy_id;
57 QosPolicyCountSeq_s policies;
58 };
59
60 struct LivelinessChangedStatus_s
61 {
62 unsigned long alive_count;
63 unsigned long not_alive_count;
64 octet last_publication_handle[16];
65 };
66
67 struct DeadlineMissedStatus_s
68 {
69 unsigned long total_count;
70 octet last_instance_handle[16];
71 };
72
73 typedef BaseStatus_s LivelinessLostStatus_s;
74 typedef BaseStatus_s InconsistentTopicStatus_s;
75 typedef BaseStatus_s SampleLostStatus_s;
76
77 struct ExtendedIncompatibleQoSStatus_s
78 {
79 detail::GUID_s remote_guid;
80 sequence<unsigned long> current_incompatible_policies;
81 };
82
83 typedef sequence<ExtendedIncompatibleQoSStatus_s> ExtendedIncompatibleQoSStatusSeq_s;
84
85 module StatusKind
86 {
87 typedef unsigned long StatusKind;
88
89 const StatusKind PROXY = 0;
90 const StatusKind CONNECTION_LIST = 1;
91 const StatusKind INCOMPATIBLE_QOS = 2;
92 const StatusKind INCONSISTENT_TOPIC = 3;
93 const StatusKind LIVELINESS_LOST = 4;
94 const StatusKind LIVELINESS_CHANGED = 5;
95 const StatusKind DEADLINE_MISSED = 6;
96 const StatusKind SAMPLE_LOST = 7;
97 const StatusKind EXTENDED_INCOMPATIBLE_QOS = 8;
98 const StatusKind STATUSES_SIZE = 9;
99 }; // module StatusKind
100
101 union MonitorServiceData switch(StatusKind::StatusKind)
102 {
103 case StatusKind::PROXY:
104 sequence<octet> entity_proxy;
105 case StatusKind::CONNECTION_LIST:
106 sequence<Connection> connection_list;
107 case StatusKind::INCOMPATIBLE_QOS:
108 IncompatibleQoSStatus_s incompatible_qos_status;
109 case StatusKind::INCONSISTENT_TOPIC:
110 InconsistentTopicStatus_s inconsistent_topic_status;
111 case StatusKind::LIVELINESS_LOST:
112 LivelinessLostStatus_s liveliness_lost_status;
113 case StatusKind::LIVELINESS_CHANGED:
114 LivelinessChangedStatus_s liveliness_changed_status;
115 case StatusKind::DEADLINE_MISSED:
116 DeadlineMissedStatus_s deadline_missed_status;
117 case StatusKind::SAMPLE_LOST:
118 SampleLostStatus_s sample_lost_status;
119 case StatusKind::EXTENDED_INCOMPATIBLE_QOS:
120 ExtendedIncompatibleQoSStatusSeq_s extended_incompatible_qos_status;
121 case StatusKind::STATUSES_SIZE:
122 octet statuses_size;
123 };
124
125 struct MonitorServiceStatusData
126 {
127 @Key detail::GUID_s local_entity;
128 @Key StatusKind::StatusKind status_kind;
129 MonitorServiceData value;
130 };
131
132}; // namespace statisitcs
133}; // namespace fastdds
134}; // namespace eprosima
eprosima::fastdds::statistics::StatusKind
Definition monitorservice_types.idl:86
eprosima::fastdds::statistics::StatusKind::SAMPLE_LOST
const StatusKind SAMPLE_LOST
Definition monitorservice_types.idl:96
eprosima::fastdds::statistics::StatusKind::PROXY
const StatusKind PROXY
Definition monitorservice_types.idl:89
eprosima::fastdds::statistics::StatusKind::INCOMPATIBLE_QOS
const StatusKind INCOMPATIBLE_QOS
Definition monitorservice_types.idl:91
eprosima::fastdds::statistics::StatusKind::EXTENDED_INCOMPATIBLE_QOS
const StatusKind EXTENDED_INCOMPATIBLE_QOS
Definition monitorservice_types.idl:97
eprosima::fastdds::statistics::StatusKind::StatusKind
unsigned long StatusKind
Definition monitorservice_types.idl:87
eprosima::fastdds::statistics::StatusKind::DEADLINE_MISSED
const StatusKind DEADLINE_MISSED
Definition monitorservice_types.idl:95
eprosima::fastdds::statistics::StatusKind::CONNECTION_LIST
const StatusKind CONNECTION_LIST
Definition monitorservice_types.idl:90
eprosima::fastdds::statistics::StatusKind::STATUSES_SIZE
const StatusKind STATUSES_SIZE
Definition monitorservice_types.idl:98
eprosima::fastdds::statistics::StatusKind::LIVELINESS_LOST
const StatusKind LIVELINESS_LOST
Definition monitorservice_types.idl:93
eprosima::fastdds::statistics::StatusKind::LIVELINESS_CHANGED
const StatusKind LIVELINESS_CHANGED
Definition monitorservice_types.idl:94
eprosima::fastdds::statistics::StatusKind::INCONSISTENT_TOPIC
const StatusKind INCONSISTENT_TOPIC
Definition monitorservice_types.idl:92
eprosima::fastdds::statistics::LivelinessLostStatus_s
BaseStatus_s LivelinessLostStatus_s
Definition monitorservice_types.idl:73
eprosima::fastdds::statistics::SampleLostStatus_s
BaseStatus_s SampleLostStatus_s
Definition monitorservice_types.idl:75
eprosima::fastdds::statistics::ExtendedIncompatibleQoSStatusSeq_s
sequence< ExtendedIncompatibleQoSStatus_s > ExtendedIncompatibleQoSStatusSeq_s
Definition monitorservice_types.idl:83
eprosima::fastdds::statistics::InconsistentTopicStatus_s
BaseStatus_s InconsistentTopicStatus_s
Definition monitorservice_types.idl:74
eprosima::fastdds::statistics::ConnectionMode
ConnectionMode
Definition monitorservice_types.idl:26
eprosima::fastdds::statistics::TRANSPORT
@ TRANSPORT
Definition monitorservice_types.idl:29
eprosima::fastdds::statistics::INTRAPROCESS
@ INTRAPROCESS
Definition monitorservice_types.idl:28
eprosima::fastdds::statistics::DATA_SHARING
@ DATA_SHARING
Definition monitorservice_types.idl:27
eprosima::fastdds::statistics::QosPolicyCountSeq_s
sequence< QosPolicyCount_s > QosPolicyCountSeq_s
Definition monitorservice_types.idl:51
eprosima
eProsima namespace.
eprosima::fastdds::statistics::BaseStatus_s
Definition monitorservice_types.idl:47
eprosima::fastdds::statistics::BaseStatus_s::total_count
unsigned long total_count
Definition monitorservice_types.idl:48
eprosima::fastdds::statistics::Connection
Definition monitorservice_types.idl:33
eprosima::fastdds::statistics::Connection::used_locators
sequence< detail::Locator_s > used_locators
Definition monitorservice_types.idl:37
eprosima::fastdds::statistics::Connection::mode
ConnectionMode mode
Definition monitorservice_types.idl:34
eprosima::fastdds::statistics::Connection::guid
detail::GUID_s guid
Definition monitorservice_types.idl:35
eprosima::fastdds::statistics::Connection::announced_locators
sequence< detail::Locator_s > announced_locators
Definition monitorservice_types.idl:36
eprosima::fastdds::statistics::DeadlineMissedStatus_s
Definition monitorservice_types.idl:68
eprosima::fastdds::statistics::DeadlineMissedStatus_s::last_instance_handle
octet last_instance_handle[16]
Definition monitorservice_types.idl:70
eprosima::fastdds::statistics::DeadlineMissedStatus_s::total_count
unsigned long total_count
Definition monitorservice_types.idl:69
eprosima::fastdds::statistics::ExtendedIncompatibleQoSStatus_s
Definition monitorservice_types.idl:78
eprosima::fastdds::statistics::ExtendedIncompatibleQoSStatus_s::current_incompatible_policies
sequence< unsigned long > current_incompatible_policies
Definition monitorservice_types.idl:80
eprosima::fastdds::statistics::ExtendedIncompatibleQoSStatus_s::remote_guid
detail::GUID_s remote_guid
Definition monitorservice_types.idl:79
eprosima::fastdds::statistics::IncompatibleQoSStatus_s
Definition monitorservice_types.idl:54
eprosima::fastdds::statistics::IncompatibleQoSStatus_s::last_policy_id
unsigned long last_policy_id
Definition monitorservice_types.idl:56
eprosima::fastdds::statistics::IncompatibleQoSStatus_s::total_count
unsigned long total_count
Definition monitorservice_types.idl:55
eprosima::fastdds::statistics::IncompatibleQoSStatus_s::policies
QosPolicyCountSeq_s policies
Definition monitorservice_types.idl:57
eprosima::fastdds::statistics::LivelinessChangedStatus_s
Definition monitorservice_types.idl:61
eprosima::fastdds::statistics::LivelinessChangedStatus_s::last_publication_handle
octet last_publication_handle[16]
Definition monitorservice_types.idl:64
eprosima::fastdds::statistics::LivelinessChangedStatus_s::not_alive_count
unsigned long not_alive_count
Definition monitorservice_types.idl:63
eprosima::fastdds::statistics::LivelinessChangedStatus_s::alive_count
unsigned long alive_count
Definition monitorservice_types.idl:62
eprosima::fastdds::statistics::MonitorServiceStatusData
Definition monitorservice_types.idl:126
eprosima::fastdds::statistics::MonitorServiceStatusData::local_entity
Key detail::GUID_s local_entity
Definition monitorservice_types.idl:127
eprosima::fastdds::statistics::MonitorServiceStatusData::value
MonitorServiceData value
Definition monitorservice_types.idl:129
eprosima::fastdds::statistics::MonitorServiceStatusData::status_kind
Key StatusKind::StatusKind status_kind
Definition monitorservice_types.idl:128
eprosima::fastdds::statistics::QosPolicyCount_s
Definition monitorservice_types.idl:41
eprosima::fastdds::statistics::QosPolicyCount_s::count
unsigned long count
Definition monitorservice_types.idl:43
eprosima::fastdds::statistics::QosPolicyCount_s::policy_id
unsigned long policy_id
Definition monitorservice_types.idl:42
eprosima::fastdds::statistics::detail::GUID_s
Definition types.idl:37
eprosima::fastdds::statistics::MonitorServiceData
Definition monitorservice_types.idl:102
eprosima::fastdds::statistics::MonitorServiceData::connection_list
sequence< Connection > connection_list
Definition monitorservice_types.idl:106
eprosima::fastdds::statistics::MonitorServiceData::incompatible_qos_status
IncompatibleQoSStatus_s incompatible_qos_status
Definition monitorservice_types.idl:108
eprosima::fastdds::statistics::MonitorServiceData::inconsistent_topic_status
InconsistentTopicStatus_s inconsistent_topic_status
Definition monitorservice_types.idl:110
eprosima::fastdds::statistics::MonitorServiceData::deadline_missed_status
DeadlineMissedStatus_s deadline_missed_status
Definition monitorservice_types.idl:116
eprosima::fastdds::statistics::MonitorServiceData::extended_incompatible_qos_status
ExtendedIncompatibleQoSStatusSeq_s extended_incompatible_qos_status
Definition monitorservice_types.idl:120
eprosima::fastdds::statistics::MonitorServiceData::statuses_size
octet statuses_size
Definition monitorservice_types.idl:122
eprosima::fastdds::statistics::MonitorServiceData::entity_proxy
sequence< octet > entity_proxy
Definition monitorservice_types.idl:104
eprosima::fastdds::statistics::MonitorServiceData::liveliness_changed_status
LivelinessChangedStatus_s liveliness_changed_status
Definition monitorservice_types.idl:114
eprosima::fastdds::statistics::MonitorServiceData::liveliness_lost_status
LivelinessLostStatus_s liveliness_lost_status
Definition monitorservice_types.idl:112
eprosima::fastdds::statistics::MonitorServiceData::sample_lost_status
SampleLostStatus_s sample_lost_status
Definition monitorservice_types.idl:118