Classes | Public Member Functions | Private Types | Private Attributes | List of all members
nanorpc::core::client< TPacker > Class Template Referencefinal

#include <client.h>

Classes

class  result
 

Public Member Functions

template<typename ... TArgs>
result call (std::string name, TArgs &&... args)
 
template<typename ... TArgs>
result call (type::id id, TArgs &&... args)
 
 client (type::executor executor)
 

Private Types

using deserializer_type = typename packer_type::deserializer_type
 
using packer_type = TPacker
 

Private Attributes

type::executor executor_
 

Detailed Description

template<typename TPacker>
class nanorpc::core::client< TPacker >

Definition at line 36 of file client.h.

Member Typedef Documentation

◆ deserializer_type

template<typename TPacker >
using nanorpc::core::client< TPacker >::deserializer_type = typename packer_type::deserializer_type
private

Definition at line 102 of file client.h.

◆ packer_type

template<typename TPacker >
using nanorpc::core::client< TPacker >::packer_type = TPacker
private

Definition at line 101 of file client.h.

Constructor & Destructor Documentation

◆ client()

template<typename TPacker >
nanorpc::core::client< TPacker >::client ( type::executor  executor)
inline

Definition at line 42 of file client.h.

Member Function Documentation

◆ call() [1/2]

template<typename TPacker >
template<typename ... TArgs>
result nanorpc::core::client< TPacker >::call ( std::string  name,
TArgs &&...  args 
)
inline

Definition at line 48 of file client.h.

◆ call() [2/2]

template<typename TPacker >
template<typename ... TArgs>
result nanorpc::core::client< TPacker >::call ( type::id  id,
TArgs &&...  args 
)
inline

Definition at line 54 of file client.h.

Member Data Documentation

◆ executor_

template<typename TPacker >
type::executor nanorpc::core::client< TPacker >::executor_
private

Definition at line 104 of file client.h.


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


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20