TReK C++
5.3.3
Telemetry/Command API
|
This class holds all of the responses associated with a single command uplink. More...
#include <command_response.h>
Public Member Functions | |
Constructors, Destructor, and Other Basic Methods | |
CommandResponse () | |
Default constructor of the class. | |
virtual | ~CommandResponse () |
Class destructor. More... | |
int32_t | GetErrorDetails (uint32_t error, response_info *resp_info_ptr) |
Copies the details about an error. More... | |
This class holds all of the responses associated with a single command uplink.
|
virtual |
Class destructor.
Removes all resources created with this instance of the class.
int32_t trek::CommandResponse::GetErrorDetails | ( | uint32_t | error, |
response_info * | resp_info_ptr | ||
) |
Copies the details about an error.
If the error value is found, the information about the error is copied.
[in] | error | The error number to find |
[out] | resp_info_ptr | Memory to hold results |
Example: