#include <Response.h>
Collaboration diagram for carla::rpc::Response< T >:Public Types | |
| using | error_type = ResponseError |
| using | value_type = T |
Public Member Functions | |
| value_type & | Get () |
| const value_type & | Get () const |
| const error_type & | GetError () const |
| bool | HasError () const |
| operator bool () const | |
| template<typename TValue > | |
| void | Reset (TValue &&value) |
| Response ()=default | |
| template<typename TValue > | |
| Response (TValue &&value) | |
| template<typename... Ts> | |
| void | SetError (Ts &&... args) |
Private Attributes | |
| boost::variant2::variant< error_type, value_type > | _data |
Definition at line 52 of file Response.h.
| using carla::rpc::Response< T >::error_type = ResponseError |
Definition at line 57 of file Response.h.
| using carla::rpc::Response< T >::value_type = T |
Definition at line 55 of file Response.h.
|
default |
|
inline |
Definition at line 62 of file Response.h.
|
inline |
Definition at line 83 of file Response.h.
References DEBUG_ASSERT.
Referenced by carla::client::detail::Get(), and TEST().
Here is the caller graph for this function:
|
inline |
Definition at line 88 of file Response.h.
References DEBUG_ASSERT.
|
inline |
Definition at line 78 of file Response.h.
References DEBUG_ASSERT.
Referenced by TEST().
Here is the caller graph for this function:
|
inline |
Definition at line 69 of file Response.h.
Referenced by TEST().
Here is the caller graph for this function:
|
inline |
Definition at line 93 of file Response.h.
|
inline |
Definition at line 65 of file Response.h.
Referenced by TEST().
Here is the caller graph for this function:
|
inline |
Definition at line 74 of file Response.h.
Referenced by TEST().
Here is the caller graph for this function:
|
private |
Definition at line 101 of file Response.h.
1.8.13