VSM C++ SDK
Vehicle Specific Modules SDK
ugcs::vsm::Vehicle_request_spec< Payload >::Handle Class Reference

Handle of a specific vehicle request. More...

#include <vehicle_request.h>

Inheritance diagram for ugcs::vsm::Vehicle_request_spec< Payload >::Handle:
ugcs::vsm::Vehicle_request::Handle

Public Member Functions

Payload * operator-> ()
 Access payload using pointer semantics. More...
 
const Payload * operator-> () const
 Access payload using pointer semantics. More...
 
Payload & operator* ()
 Access payload using dereference semantics. More...
 
const Payload & operator* () const
 
- Public Member Functions inherited from ugcs::vsm::Vehicle_request::Handle
 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from ugcs::vsm::Vehicle_request::Handle
void Assign_result (Result result, const std::string &status_text=std::string())
 Assignment operator implementation. More...
 
- Protected Attributes inherited from ugcs::vsm::Vehicle_request::Handle
Reference_guard< Vehicle_request::Ptrvehicle_request
 Managed vehicle request. More...
 

Detailed Description

template<class Payload>
class ugcs::vsm::Vehicle_request_spec< Payload >::Handle

Handle of a specific vehicle request.

It has pointer and dereference semantics for payload access.

Member Function Documentation

template<class Payload >
Payload& ugcs::vsm::Vehicle_request_spec< Payload >::Handle::operator* ( )
inline

Access payload using dereference semantics.

template<class Payload >
Payload* ugcs::vsm::Vehicle_request_spec< Payload >::Handle::operator-> ( )
inline

Access payload using pointer semantics.

template<class Payload >
const Payload* ugcs::vsm::Vehicle_request_spec< Payload >::Handle::operator-> ( ) const
inline

Access payload using pointer semantics.


The documentation for this class was generated from the following file: