iceoryx_introspection 2.0.3
introspection_types.hpp
1// Copyright (c) 2019 - 2020 by Robert Bosch GmbH. All rights reserved.
2// Copyright (c) 2021 by Apex.AI Inc. All rights reserved.
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16// SPDX-License-Identifier: Apache-2.0
17#ifndef IOX_TOOLS_ICEORYX_INTROSPECTION_INTROSPECTION_TYPES_HPP
18#define IOX_TOOLS_ICEORYX_INTROSPECTION_INTROSPECTION_TYPES_HPP
19
20#include "iceoryx_posh/roudi/introspection_types.hpp"
21
22namespace iox
23{
24namespace client
25{
26namespace introspection
27{
28using namespace iox::roudi;
29
30constexpr units::Duration WAIT_INTERVAL = 10_ms;
31
32enum class PrettyOptions
33{
34 title,
35 highlight,
36 error,
37 bold,
38 normal
39};
40
42{
43 bool mempool{false};
44 bool process{false};
45 bool port{false};
46};
47
50{
51 ComposedPublisherPortData(const PublisherPortData& portData, const PortThroughputData& throughputData)
52 : portData(&portData)
53 , throughputData(&throughputData)
54 {
55 }
56 const PublisherPortData* portData;
57 const PortThroughputData* throughputData;
58};
59
61{
62 ComposedSubscriberPortData(const SubscriberPortData& portData,
63 const SubscriberPortChangingData& subscriberPortChangingData)
64 : portData(&portData)
65 , subscriberPortChangingData(&subscriberPortChangingData)
66 {
67 }
68 const SubscriberPortData* portData;
69 const SubscriberPortChangingData* subscriberPortChangingData;
70};
71
72} // namespace introspection
73} // namespace client
74} // namespace iox
75
76#endif // IOX_TOOLS_ICEORYX_INTROSPECTION_INTROSPECTION_TYPES_HPP
Definition: introspection_types.hpp:50
Definition: introspection_types.hpp:61
Definition: introspection_types.hpp:42