CARLA
Loading...
Searching...
No Matches
carla::client::detail::Client::Pimpl Class Reference

Public Member Functions

template<typename ... Args>
void AsyncCall (const std::string &function, Args &&... args)
template<typename T, typename ... Args>
auto CallAndWait (const std::string &function, Args &&... args)
time_duration GetTimeout () const
 Pimpl (const std::string &host, uint16_t port, size_t worker_threads)
template<typename ... Args>
auto RawCall (const std::string &function, Args &&... args)

Public Attributes

const std::string endpoint
rpc::Client rpc_client
streaming::Client streaming_client

Detailed Description

Definition at line 48 of file client/detail/Client.cpp.

Constructor & Destructor Documentation

◆ Pimpl()

carla::client::detail::Client::Pimpl::Pimpl ( const std::string & host,
uint16_t port,
size_t worker_threads )
inline

Member Function Documentation

◆ AsyncCall()

template<typename ... Args>
void carla::client::detail::Client::Pimpl::AsyncCall ( const std::string & function,
Args &&... args )
inline

Definition at line 81 of file client/detail/Client.cpp.

References carla::rpc::Client::async_call(), and rpc_client.

◆ CallAndWait()

template<typename T, typename ... Args>
auto carla::client::detail::Client::Pimpl::CallAndWait ( const std::string & function,
Args &&... args )
inline

◆ GetTimeout()

time_duration carla::client::detail::Client::Pimpl::GetTimeout ( ) const
inline

◆ RawCall()

template<typename ... Args>
auto carla::client::detail::Client::Pimpl::RawCall ( const std::string & function,
Args &&... args )
inline

Member Data Documentation

◆ endpoint

const std::string carla::client::detail::Client::Pimpl::endpoint

Definition at line 92 of file client/detail/Client.cpp.

Referenced by Pimpl(), and RawCall().

◆ rpc_client

rpc::Client carla::client::detail::Client::Pimpl::rpc_client

Definition at line 94 of file client/detail/Client.cpp.

Referenced by AsyncCall(), GetTimeout(), Pimpl(), and RawCall().

◆ streaming_client

streaming::Client carla::client::detail::Client::Pimpl::streaming_client

Definition at line 96 of file client/detail/Client.cpp.

Referenced by Pimpl().


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