CARLA
Loading...
Searching...
No Matches
carla::rpc::Metadata Class Reference

Metadata of an RPC function call. More...

#include <Metadata.h>

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

Referenced by MakeAsync(), and MakeSync().

◆ Metadata() [2/2]

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

Definition at line 34 of file Metadata.h.

References _asynchronous_call.

Member Function Documentation

◆ IsResponseIgnored()

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

Definition at line 28 of file Metadata.h.

References _asynchronous_call.

◆ MakeAsync()

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

Definition at line 24 of file Metadata.h.

References Metadata().

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

◆ MakeSync()

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

Definition at line 20 of file Metadata.h.

References Metadata().

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

◆ MSGPACK_DEFINE_ARRAY()

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

References _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(), Metadata(), and MSGPACK_DEFINE_ARRAY().


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