CARLA
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
carla::rpc::Metadata Class Reference

Metadata of an RPC function call. More...

#include <Metadata.h>

+ Collaboration diagram for carla::rpc::Metadata:

Public Member Functions

bool IsResponseIgnored () const
 
 Metadata ()=default
 
 MSGPACK_DEFINE_ARRAY (_asynchronous_call)
 

Static Public Member Functions

static Metadata MakeAsync ()
 
static Metadata MakeSync ()
 

Private Member Functions

 Metadata (bool asynchronous_call)
 

Private Attributes

bool _asynchronous_call = false
 

Detailed Description

Metadata of an RPC function call.

Definition at line 15 of file Metadata.h.

Constructor & Destructor Documentation

◆ Metadata() [1/2]

carla::rpc::Metadata::Metadata ( )
default

◆ Metadata() [2/2]

carla::rpc::Metadata::Metadata ( bool  asynchronous_call)
inlineprivate

Definition at line 34 of file Metadata.h.

Member Function Documentation

◆ IsResponseIgnored()

bool carla::rpc::Metadata::IsResponseIgnored ( ) const
inline

Definition at line 28 of file Metadata.h.

References _asynchronous_call.

Referenced by carla::rpc::detail::FunctionWrapper< R(*)(Args...)>::WrapAsyncCall(), and carla::rpc::detail::FunctionWrapper< R(*)(Args...)>::WrapSyncCall().

+ Here is the caller graph for this function:

◆ MakeAsync()

static Metadata carla::rpc::Metadata::MakeAsync ( )
inlinestatic

Definition at line 24 of file Metadata.h.

Referenced by carla::rpc::Client::async_call().

+ Here is the caller graph for this function:

◆ MakeSync()

static Metadata carla::rpc::Metadata::MakeSync ( )
inlinestatic

Definition at line 20 of file Metadata.h.

Referenced by carla::rpc::Client::call().

+ Here is the caller graph for this function:

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::Metadata::MSGPACK_DEFINE_ARRAY ( _asynchronous_call  )

Member Data Documentation

◆ _asynchronous_call

bool carla::rpc::Metadata::_asynchronous_call = false
private

Definition at line 36 of file Metadata.h.

Referenced by IsResponseIgnored().


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