代码拉取完成,页面将自动刷新
## This file is a template. The comment below is emitted
## into the rendered file; feel free to edit this file.
// This file was auto generated. Do not edit.
#include "config.h"
#include "manager.hpp"
#include "utils.hpp"
#include "functor.hpp"
% for i in interfaces:
#include <${i.header()}>
% endfor
#include "gen_serialization.hpp"
namespace phosphor
{
namespace inventory
{
namespace manager
{
using namespace std::literals::string_literals;
const Manager::Makers Manager::_makers{
% for i in interfaces:
{
"${str(i)}",
std::make_tuple(
MakeInterface<
ServerObject<
${i.namespace()}>>::op,
AssignInterface<
ServerObject<
${i.namespace()}>>::op,
SerializeInterface<
ServerObject<
${i.namespace()}>, SerialOps>::op,
DeserializeInterface<
ServerObject<
${i.namespace()}>, SerialOps>::op
#ifdef CREATE_ASSOCIATIONS
, GetPropertyValue<
ServerObject<
${i.namespace()}>>::op
#endif
)
},
% endfor
};
const Manager::Events Manager::_events{
% for e in events:
{
% if e.description:
// ${e.description.strip()}
% endif
${e.call(loader, indent=indent +2)},
},
%endfor
};
} // namespace manager
} // namespace inventory
} // namespace phosphor
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。