![]() |
VSM C++ SDK
Vehicle Specific Modules SDK
|
Handle of the request passed to the SDK user. More...
#include <vehicle_request.h>
Public Member Functions | |
Handle () | |
Construct initially invalid handle. More... | |
Handle (Vehicle_request::Ptr vehicle_request) | |
Construct handle instance with managed vehicle request. More... | |
operator bool () const | |
Handle validness check. More... | |
void | Fail (const char *format=nullptr,...) |
void | Fail_v (const char *format, va_list fmt_args) |
void | Fail (const std::string &reason) |
void | Succeed () |
Protected Member Functions | |
void | Assign_result (Result result, const std::string &status_text=std::string()) |
Assignment operator implementation. More... | |
Protected Attributes | |
Reference_guard < Vehicle_request::Ptr > | vehicle_request |
Managed vehicle request. More... | |
Handle of the request passed to the SDK user.
Used to expose only the necessary base interface for the user and hide other methods of the main request class. Passed by value, as this is effectively only a pointer wrapper.
ugcs::vsm::Vehicle_request::Handle::Handle | ( | ) |
Construct initially invalid handle.
ugcs::vsm::Vehicle_request::Handle::Handle | ( | Vehicle_request::Ptr | vehicle_request | ) |
Construct handle instance with managed vehicle request.
Called by SDK only.
|
protected |
Assignment operator implementation.
|
explicit |
|
protected |
Managed vehicle request.