Home
last modified time | relevance | path

Searched refs:PropertyType (Results 1 – 19 of 19) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dobject_server.hpp157 template <typename PropertyType>
158 PropertyType nop_get_value(const PropertyType& value) in nop_get_value()
163 template <typename PropertyType>
164 bool nop_set_value(const PropertyType& req, PropertyType& old) in nop_set_value()
308 template <typename PropertyType, typename CallbackType>
312 callback_get_instance(const std::shared_ptr<PropertyType>& value, in callback_get_instance()
324 std::shared_ptr<PropertyType> value_;
328 template <typename PropertyType>
333 const std::shared_ptr<PropertyType>& value, in callback_set_message_instance()
334 std::function<bool(const PropertyType&, PropertyType&)>&& func) : in callback_set_message_instance() argument
[all …]
H A Dproperty.hpp41 template <typename PropertyType>
46 std::function<void(boost::system::error_code, PropertyType)>&& handler) in getProperty()
48 static_assert(std::is_same_v<PropertyType, std::decay_t<PropertyType>>); in getProperty()
53 std::variant<std::monostate, PropertyType>& ret) mutable { in getProperty()
60 if (PropertyType* value = std::get_if<PropertyType>(&ret)) in getProperty()
106 template <typename PropertyType, typename Handler>
111 PropertyType&& propertyValue, Handler&& handler) in setProperty()
116 std::variant<std::decay_t<PropertyType>>( in setProperty()
117 std::forward<PropertyType>(propertyValue))); in setProperty()
/openbmc/entity-manager/src/entity_manager/
H A Ddbus_interface.hpp79 template <typename PropertyType>
86 std::vector<PropertyType> values; in addArrayToDbus()
89 auto ptr = property.get_ptr<const PropertyType*>(); in addArrayToDbus()
106 const std::vector<PropertyType>& newVal, in addArrayToDbus()
107 std::vector<PropertyType>& val) { in addArrayToDbus()
125 template <typename PropertyType>
126 void addProperty(const std::string& name, const PropertyType& value, in addProperty()
141 const PropertyType& newVal, PropertyType& val) { in addProperty()
158 template <typename PropertyType>
167 addArrayToDbus<PropertyType>(key, value, &iface, permission, in addValueToDBus()
[all …]
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_item_updater.cpp24 using PropertyType = utils::UtilsInterface::PropertyType; typedef in TestItemUpdater
37 .WillByDefault(Return(any(PropertyType(true)))); in TestItemUpdater()
71 Properties propAdded{{PRESENT, PropertyType(true)}};
72 Properties propRemoved{{PRESENT, PropertyType(false)}};
93 .WillOnce(Return(any(PropertyType(false)))); // not present in TEST_F()
119 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
153 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
160 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
203 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
210 .WillOnce(Return(any(PropertyType(true)))); // present in TEST_F()
[all …]
H A Dtest_activation.cpp23 using PropertyType = utils::UtilsInterface::PropertyType; typedef in TestActivation
38 .WillByDefault(Return(any(PropertyType(true)))); in TestActivation()
42 .WillByDefault(Return(any(PropertyType(std::string("TestManu"))))); in TestActivation()
276 .WillByDefault(Return(any(PropertyType(false)))); // not present in TEST_F()
313 .WillByDefault(Return(any(PropertyType(std::string(""))))); in TEST_F()
/openbmc/smbios-mdr/src/
H A Dcpuinfo_utils.cpp165 using PropertyType = std::remove_const_t<std::remove_reference_t< in subscribeToProperty() typedef
169 PropertyType, CustomVariantTypes..., bool, uint8_t, uint16_t, int16_t, in subscribeToProperty()
173 sdbusplus::asio::getProperty<PropertyType>( in subscribeToProperty()
176 boost::system::error_code ec, const PropertyType& newValue) { in subscribeToProperty()
198 const auto* actualVal = std::get_if<PropertyType>(&newValue); in subscribeToProperty()
/openbmc/sdbusplus/docs/
H A Dasio.md31 PropertyType getHandler(const PropertyType& value);
44 bool setHandler(const PropertyType& newValue, PropertyType& value);
/openbmc/bmcweb/include/
H A Ddbus_utility.hpp123 template <typename PropertyType>
127 const PropertyType&)>&& callback) in getProperty()
129 sdbusplus::asio::getProperty<PropertyType>( in getProperty()
134 template <typename PropertyType>
139 const PropertyType&)>&& callback) in getProperty()
/openbmc/openpower-vpd-parser/vpd-tool/include/
H A Dvpd_tool.hpp71 template <typename PropertyType>
94 template <typename PropertyType>
/openbmc/pldm/libpldmresponder/
H A Dfru_parser.hpp25 using PropertyType = std::string; typedef
52 pldm::responder::dbus::PropertyType, pldm::responder::fru::FieldType>;
/openbmc/bmcweb/redfish-core/include/utils/
H A Ddbus_utils.hpp53 template <typename PropertyType>
58 std::string_view dbusProperty, const PropertyType& prop) in setDbusProperty()
/openbmc/phosphor-psu-code-mgmt/src/
H A Dutils.hpp142 using PropertyType = std::variant<std::string, bool>; typedef in utils::UtilsInterface
178 auto value = any_cast<PropertyType>(result); in getProperty()
H A Ditem_updater.hpp117 std::map<std::string, utils::UtilsInterface::PropertyType>;
H A Dutils.cpp271 PropertyType value{}; in getPropertyImpl()
/openbmc/openpower-vpd-parser/vpd-tool/src/
H A Dvpd_tool.cpp150 template <typename PropertyType>
161 getInventoryPropertyJson<PropertyType>(i_inventoryObjPath, in populateInterfaceJson()
312 template <typename PropertyType>
326 if (const auto l_value = std::get_if<PropertyType>(&l_keyWordValue)) in getInventoryPropertyJson()
328 if constexpr (std::is_same<PropertyType, std::string>::value) in getInventoryPropertyJson()
332 else if constexpr (std::is_same<PropertyType, bool>::value) in getInventoryPropertyJson()
337 else if constexpr (std::is_same<PropertyType, in getInventoryPropertyJson()
345 else if constexpr (std::is_same<PropertyType, uint32_t>::value) in getInventoryPropertyJson()
/openbmc/phosphor-host-ipmid/
H A Dselutility.hpp36 using PropertyType = typedef
H A Dselutility.cpp62 using entryDataMap = std::map<PropertyName, PropertyType>;
/openbmc/pldm/common/
H A Dtypes.hpp88 using PropertyType = std::string; typedef
/openbmc/qemu/qga/
H A Dcommands-win32.c66 DEVPROPTYPE * PropertyType,