Context for command execution. More...
#include <tools/nfdc/execute-command.hpp>
Collaboration diagram for nfd::tools::nfdc::ExecuteContext:Public Member Functions | |
| ndn::time::nanoseconds | getTimeout () const |
| ndn::nfd::CommandFailureCallback | makeCommandFailureHandler (const std::string &commandName) |
| ndn::nfd::CommandOptions | makeCommandOptions () const |
| ndn::nfd::DatasetFailureCallback | makeDatasetFailureHandler (const std::string &datasetName) |
Public Attributes | |
| const CommandArguments & | args |
| ndn::nfd::Controller & | controller |
| std::ostream & | err |
| error stream More... | |
| int | exitCode |
| program exit code More... | |
| ndn::Face & | face |
| ndn::KeyChain & | keyChain |
| std::string_view | noun |
| std::ostream & | out |
| output stream More... | |
| std::string_view | verb |
Context for command execution.
Definition at line 50 of file execute-command.hpp.
| time::nanoseconds nfd::tools::nfdc::ExecuteContext::getTimeout | ( | ) | const |
Definition at line 32 of file execute-command.cpp.
| ndn::nfd::CommandFailureCallback nfd::tools::nfdc::ExecuteContext::makeCommandFailureHandler | ( | const std::string & | commandName | ) |
| commandName | command name used in error message (present continuous tense) |
Definition at line 45 of file execute-command.cpp.
| ndn::nfd::CommandOptions nfd::tools::nfdc::ExecuteContext::makeCommandOptions | ( | ) | const |
Definition at line 38 of file execute-command.cpp.
| ndn::nfd::DatasetFailureCallback nfd::tools::nfdc::ExecuteContext::makeDatasetFailureHandler | ( | const std::string & | datasetName | ) |
| datasetName | dataset name used in error message (noun phrase) |
Definition at line 54 of file execute-command.cpp.
| const CommandArguments& nfd::tools::nfdc::ExecuteContext::args |
Definition at line 76 of file execute-command.hpp.
| ndn::nfd::Controller& nfd::tools::nfdc::ExecuteContext::controller |
Definition at line 84 of file execute-command.hpp.
| std::ostream& nfd::tools::nfdc::ExecuteContext::err |
error stream
Definition at line 80 of file execute-command.hpp.
| int nfd::tools::nfdc::ExecuteContext::exitCode |
program exit code
Definition at line 78 of file execute-command.hpp.
| ndn::Face& nfd::tools::nfdc::ExecuteContext::face |
Definition at line 82 of file execute-command.hpp.
| ndn::KeyChain& nfd::tools::nfdc::ExecuteContext::keyChain |
Definition at line 83 of file execute-command.hpp.
| std::string_view nfd::tools::nfdc::ExecuteContext::noun |
Definition at line 74 of file execute-command.hpp.
| std::ostream& nfd::tools::nfdc::ExecuteContext::out |
output stream
Definition at line 79 of file execute-command.hpp.
| std::string_view nfd::tools::nfdc::ExecuteContext::verb |
Definition at line 75 of file execute-command.hpp.