diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-05-23 18:06:38 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-06-19 16:21:47 -0400 |
commit | 4b916f139a9b3ccac76610f5e4da1fe0bb4dfd51 (patch) | |
tree | dab7d7442a70591a533930dff1102de7ff4d6151 /src/data_types.hpp | |
parent | fac1b1035ad5a0339fc1af600866343452dd77d3 (diff) | |
download | phosphor-dbus-monitor-4b916f139a9b3ccac76610f5e4da1fe0bb4dfd51.tar.gz phosphor-dbus-monitor-4b916f139a9b3ccac76610f5e4da1fe0bb4dfd51.zip |
Add property watches
Property watches cache DBus property values given an externally
supplied index of property names and paths, in an externally
supplied storage location.
Change-Id: I155081da88c3ab0e4f6a13b012fc9719203b1888
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/data_types.hpp')
-rw-r--r-- | src/data_types.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/data_types.hpp b/src/data_types.hpp index 653b7c3..af0ef68 100644 --- a/src/data_types.hpp +++ b/src/data_types.hpp @@ -69,6 +69,17 @@ using PropertiesChanged = std::map < std::string, sdbusplus::message::variant<T >>; +/** @brief Lookup index for properties . */ +// *INDENT-OFF* +using PropertyIndex = TupleRefMap < + TupleOfRefs< + const std::string, + const std::string, + any_ns::any>, + const std::string, + const std::string, + const std::string >; +// *INDENT-ON* } // namespace monitoring } // namespace dbus } // namespace phosphor |