pldm.hpp (05e95596c63b81d7b7c9101e4e72661ce48b27ab) pldm.hpp (b5ca101530dc5fa0992d00ab36edb292519cef94)
1#pragma once
2
3#include "occ_status.hpp"
4#include "utils.hpp"
5
6#include <libpldm/pldm.h>
7
8#include <sdbusplus/bus/match.hpp>

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

64 std::bind(std::mem_fn(&Interface::sensorEvent), this,
65 std::placeholders::_1)),
66 hostStateSignal(
67 open_power::occ::utils::getBus(),
68 MatchRules::propertiesChanged("/xyz/openbmc_project/state/host0",
69 "xyz.openbmc_project.State.Host"),
70 std::bind(std::mem_fn(&Interface::hostStateEvent), this,
71 std::placeholders::_1))
1#pragma once
2
3#include "occ_status.hpp"
4#include "utils.hpp"
5
6#include <libpldm/pldm.h>
7
8#include <sdbusplus/bus/match.hpp>

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

64 std::bind(std::mem_fn(&Interface::sensorEvent), this,
65 std::placeholders::_1)),
66 hostStateSignal(
67 open_power::occ::utils::getBus(),
68 MatchRules::propertiesChanged("/xyz/openbmc_project/state/host0",
69 "xyz.openbmc_project.State.Host"),
70 std::bind(std::mem_fn(&Interface::hostStateEvent), this,
71 std::placeholders::_1))
72 {
73 }
72 {}
74
75 /** @brief Fetch the OCC state sensor PDRs and populate the cache with
76 * sensorId to OCC instance mapping information and the sensor
77 * offset for Operational Running Status.
78 *
79 * @param[in] pdrs - OCC state sensor PDRs
80 * @param[out] sensorInstanceMap - map of sensorID to OCC instance
81 * @param[out] sensorOffset - sensor offset of interested state set ID

--- 114 unchanged lines hidden ---
73
74 /** @brief Fetch the OCC state sensor PDRs and populate the cache with
75 * sensorId to OCC instance mapping information and the sensor
76 * offset for Operational Running Status.
77 *
78 * @param[in] pdrs - OCC state sensor PDRs
79 * @param[out] sensorInstanceMap - map of sensorID to OCC instance
80 * @param[out] sensorOffset - sensor offset of interested state set ID

--- 114 unchanged lines hidden ---