6 #include "boost/shared_ptr.hpp"
8 #include "soss_client/pmicli_invoke_exception.h"
10 #include "soss_pmicli.h"
24 : return_code_(return_code), object_ptr_(
object_ptr), exceptions_ptr_(
exceptions_ptr), num_successful_(num_successful), num_failed_(num_failed) {}
36 throw std::runtime_error(
"The invoke did not complete successfully. Check InvokeResult.return_code() for error info.");
42 boost::shared_ptr< std::vector<sosscli::exceptions::PmiCliUserExceptionCode> >
exceptions_ptr()
45 throw std::runtime_error(
"The invoke did not complete successfully. Check InvokeResult.return_code() for error info.");
46 return exceptions_ptr_;
64 unsigned int num_successful_;
65 unsigned int num_failed_;
67 boost::shared_ptr< std::vector<uint8_t> > object_ptr_;
68 boost::shared_ptr< std::vector<sosscli::exceptions::PmiCliUserExceptionCode> > exceptions_ptr_;