summaryrefslogtreecommitdiffstats
path: root/src/data_types.hpp
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-06-28 14:06:27 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-06-28 14:06:27 -0400
commita2e9cdf67e7f8537a1f98d585b5a09f21e19d0ea (patch)
treee05daffe99b582a58a82d6d72a2d0b6eb3ad557c /src/data_types.hpp
parent1ada93be00378c94ff14bec8c2c7f5bbd85f72b0 (diff)
downloadphosphor-dbus-monitor-a2e9cdf67e7f8537a1f98d585b5a09f21e19d0ea.tar.gz
phosphor-dbus-monitor-a2e9cdf67e7f8537a1f98d585b5a09f21e19d0ea.zip
Remove dead code
Remove a number of unused files. Change-Id: If7e40d2be7eb3f5d84538a3c86f911df268a1f34 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/data_types.hpp')
-rw-r--r--src/data_types.hpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/data_types.hpp b/src/data_types.hpp
index 439045e..5eab4b2 100644
--- a/src/data_types.hpp
+++ b/src/data_types.hpp
@@ -1,8 +1,6 @@
#pragma once
-#include <functional>
#include <experimental/any>
-#include <sdbusplus/bus.hpp>
#include <sdbusplus/message.hpp>
#include "tupleref.hpp"
@@ -15,23 +13,6 @@ namespace dbus
namespace monitoring
{
-class Monitor;
-
-/** @brief The possible item value types */
-using Value = int64_t;
-
-/** @brief A list of what constructs a unique item and its value */
-using Group = std::vector<std::tuple<std::string, Value>>;
-
-/** @brief A conditional function type for item(s) conditions */
-using Condition = std::function<bool(sdbusplus::bus::bus&,
- sdbusplus::message::message&,
- Monitor&)>;
-
-/** @brief A void function type for actions based condition(s) */
-using Action = std::function<void(sdbusplus::bus::bus&,
- Monitor&)>;
-
/** @brief A map with references as keys. */
template <typename Key, typename Value>
using RefKeyMap = std::map<std::reference_wrapper<Key>, Value, std::less<Key>>;
OpenPOWER on IntegriCloud