blob: 9353763abe19448dcbab96d5e853cb5e40f10770 [file] [log] [blame]
#pragma once
#include "data_types.hpp"
namespace phosphor
{
namespace dbus
{
namespace monitoring
{
class Monitor;
template <typename T>
auto make_condition(T&& condition)
{
return Condition(std::forward<T>(condition));
}
template <typename T>
auto make_action(T&& action)
{
return Action(std::forward<T>(action));
}
} // namespace monitoring
} // namespace dbus
} // namespace phosphor