dbus_utility.hpp (deae6a789444debc4724fb6902fc5def299afbee) dbus_utility.hpp (e3648032f357195d186b7f4f02519fae10a90e41)
1/*
2Copyright (c) 2018 Intel Corporation
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0

--- 45 unchanged lines hidden (view full) ---

54 uint64_t,
55 double,
56 int32_t,
57 uint32_t,
58 int16_t,
59 uint16_t,
60 uint8_t,
61 bool,
1/*
2Copyright (c) 2018 Intel Corporation
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0

--- 45 unchanged lines hidden (view full) ---

54 uint64_t,
55 double,
56 int32_t,
57 uint32_t,
58 int16_t,
59 uint16_t,
60 uint8_t,
61 bool,
62 sdbusplus::message::unix_fd,
63 std::vector<uint32_t>,
64 std::vector<uint16_t>,
65 sdbusplus::message::object_path,
66 std::tuple<uint64_t, std::vector<std::tuple<std::string, double, uint64_t>>>,
67 std::vector<sdbusplus::message::object_path>,
68 std::vector<std::tuple<std::string, std::string>>,
69 std::vector<std::tuple<uint32_t, std::vector<uint32_t>>>,
70 std::vector<std::tuple<uint32_t, size_t>>,
71 std::vector<std::tuple<
72 std::vector<std::tuple<sdbusplus::message::object_path, std::string>>,
62 std::vector<uint32_t>,
63 std::vector<uint16_t>,
64 sdbusplus::message::object_path,
65 std::tuple<uint64_t, std::vector<std::tuple<std::string, double, uint64_t>>>,
66 std::vector<sdbusplus::message::object_path>,
67 std::vector<std::tuple<std::string, std::string>>,
68 std::vector<std::tuple<uint32_t, std::vector<uint32_t>>>,
69 std::vector<std::tuple<uint32_t, size_t>>,
70 std::vector<std::tuple<
71 std::vector<std::tuple<sdbusplus::message::object_path, std::string>>,
73 std::string, std::string, uint64_t>>
72 std::string, std::string, uint64_t>>,
73 std::vector<std::pair<sdbusplus::message::object_path, std::string>>,
74
75 // TODO This needs looked at. It's used in the trigger system, but a
76 // variant of a variant seems really odd
77 std::variant<
78 std::vector<std::tuple<std::string, uint64_t, std::string, double>>,
79 std::vector<std::tuple<std::string, std::string, uint64_t, std::string>>
80 >
74 >;
75
76// clang-format on
77using DBusPropertiesMap = std::vector<std::pair<std::string, DbusVariantType>>;
78using DBusInterfacesMap =
79 std::vector<std::pair<std::string, DBusPropertiesMap>>;
80using ManagedObjectType =
81 std::vector<std::pair<sdbusplus::message::object_path, DBusInterfacesMap>>;

--- 269 unchanged lines hidden ---
81 >;
82
83// clang-format on
84using DBusPropertiesMap = std::vector<std::pair<std::string, DbusVariantType>>;
85using DBusInterfacesMap =
86 std::vector<std::pair<std::string, DBusPropertiesMap>>;
87using ManagedObjectType =
88 std::vector<std::pair<sdbusplus::message::object_path, DBusInterfacesMap>>;

--- 269 unchanged lines hidden ---