context for command execution More...
#include <tools/nfdc/execute-command.hpp>
Public Member Functions | |
time::nanoseconds | getTimeout () const |
Controller::CommandFailCallback | makeCommandFailureHandler (const std::string &commandName) |
ndn::nfd::CommandOptions | makeCommandOptions () const |
Controller::DatasetFailCallback | makeDatasetFailureHandler (const std::string &datasetName) |
Public Attributes | |
const CommandArguments & | args |
Controller & | controller |
std::ostream & | err |
error stream More... | |
int | exitCode |
program exit code More... | |
Face & | face |
KeyChain & | keyChain |
const std::string & | noun |
std::ostream & | out |
output stream More... | |
const std::string & | verb |
context for command execution
Definition at line 51 of file execute-command.hpp.
time::nanoseconds nfd::tools::nfdc::ExecuteContext::getTimeout | ( | ) | const |
Definition at line 33 of file execute-command.cpp.
Controller::CommandFailCallback nfd::tools::nfdc::ExecuteContext::makeCommandFailureHandler | ( | const std::string & | commandName | ) |
commandName | command name used in error message (present continuous tense) |
Definition at line 46 of file execute-command.cpp.
ndn::nfd::CommandOptions nfd::tools::nfdc::ExecuteContext::makeCommandOptions | ( | ) | const |
Definition at line 39 of file execute-command.cpp.
Controller::DatasetFailCallback nfd::tools::nfdc::ExecuteContext::makeDatasetFailureHandler | ( | const std::string & | datasetName | ) |
datasetName | dataset name used in error message (noun phrase) |
Definition at line 55 of file execute-command.cpp.
const CommandArguments& nfd::tools::nfdc::ExecuteContext::args |
Definition at line 77 of file execute-command.hpp.
Controller& nfd::tools::nfdc::ExecuteContext::controller |
Definition at line 86 of file execute-command.hpp.
std::ostream& nfd::tools::nfdc::ExecuteContext::err |
error stream
Definition at line 81 of file execute-command.hpp.
int nfd::tools::nfdc::ExecuteContext::exitCode |
program exit code
Definition at line 79 of file execute-command.hpp.
Face& nfd::tools::nfdc::ExecuteContext::face |
Definition at line 83 of file execute-command.hpp.
KeyChain& nfd::tools::nfdc::ExecuteContext::keyChain |
Definition at line 84 of file execute-command.hpp.
const std::string& nfd::tools::nfdc::ExecuteContext::noun |
Definition at line 75 of file execute-command.hpp.
std::ostream& nfd::tools::nfdc::ExecuteContext::out |
output stream
Definition at line 80 of file execute-command.hpp.
const std::string& nfd::tools::nfdc::ExecuteContext::verb |
Definition at line 76 of file execute-command.hpp.