22 #include "boost/shared_ptr.hpp"
24 #include "soss_client/pmicli_invoke_exception.h"
26 #include "soss_pmicli.h"
40 : return_code_(return_code), object_ptr_(
object_ptr), exceptions_ptr_(
exceptions_ptr), num_successful_(num_successful), num_failed_(num_failed) {}
52 throw std::runtime_error(
"The invoke did not complete successfully. Check PmicliInvokeResult.return_code() for error info.");
58 boost::shared_ptr< std::vector<sosscli::exceptions::PmiCliUserExceptionCode> >
exceptions_ptr()
61 throw std::runtime_error(
"The invoke did not complete successfully. Check PmicliInvokeResult.return_code() for error info.");
62 return exceptions_ptr_;
80 unsigned int num_successful_;
81 unsigned int num_failed_;
83 boost::shared_ptr< std::vector<uint8_t> > object_ptr_;
84 boost::shared_ptr< std::vector<sosscli::exceptions::PmiCliUserExceptionCode> > exceptions_ptr_;