blob: c096c4b96e75665f2ca385b2ac2b635b29f54dd2 [file] [log] [blame]
Deepak Kodihalli5f031f32017-07-26 08:25:59 -05001#pragma once
2
3#include <vector>
4#include <string>
Vishwanatha Subbanna1ec291f2017-08-21 17:07:29 +05305#include <sdbusplus/bus.hpp>
Deepak Kodihalli5f031f32017-07-26 08:25:59 -05006
7namespace open_power
8{
9namespace occ
10{
11namespace finder
12{
13
14/** @brief Get OCC objects on the system by mapping them to CPU inventory
15 * @returns vector of occ objects, such as occ0, occ1, and so on.
Vishwanatha Subbanna1ec291f2017-08-21 17:07:29 +053016 *
17 * @param[in] bus - sdbusplus handler
Deepak Kodihalli5f031f32017-07-26 08:25:59 -050018 */
Vishwanatha Subbanna1ec291f2017-08-21 17:07:29 +053019std::vector<std::string> get(sdbusplus::bus::bus& bus);
Deepak Kodihalli5f031f32017-07-26 08:25:59 -050020
21} // namespace finder
22} // namespace occ
23} // namespace open_power