40 return os << static_cast<int>(fmt);
45 const CommandOptions& options)
47 ndn::nfd::Controller controller(face, keyChain, validator);
48 uint32_t errorCode = 0;
50 for (
size_t i = 0; i <
sections.size(); ++i) {
55 [i, &errorCode] (uint32_t code,
const std::string& reason) {
56 errorCode = i * 1000000 + code;
61 this->processEvents(face);
66 StatusReport::processEvents(ndn::Face& face)
75 for (
const auto& module :
sections) {
76 module->formatStatusXml(os);
84 for (
const auto& module :
sections) {
85 module->formatStatusText(os);