Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches
ProxyPool< Proxy, N > Class Template Reference

#include <ProxyPool.hpp>

Public Types

using smart_ptr = std::unique_ptr< Proxy, D & >
 

Public Member Functions

 ProxyPool (Proxy &&init)
 
 ~ProxyPool ()
 
std::size_t available () const noexcept
 
std::unique_ptr< Proxy, D & > get ()
 

Static Public Member Functions

static constexpr std::size_t size ()
 

Friends

class D
 

Member Typedef Documentation

◆ smart_ptr

template<class Proxy , std::size_t N = 4>
using smart_ptr = std::unique_ptr<Proxy, D&>

Constructor & Destructor Documentation

◆ ProxyPool()

template<class Proxy , std::size_t N = 4>
ProxyPool ( Proxy &&  init)
inline

◆ ~ProxyPool()

template<class Proxy , std::size_t N = 4>
~ProxyPool ( )
inline

Member Function Documentation

◆ available()

template<class Proxy , std::size_t N = 4>
std::size_t available ( ) const
inlinenoexcept

◆ get()

template<class Proxy , std::size_t N = 4>
std::unique_ptr< Proxy, D & > get ( )
inline

◆ size()

template<class Proxy , std::size_t N = 4>
static constexpr std::size_t size ( )
inlinestaticconstexpr

Friends And Related Symbol Documentation

◆ D

template<class Proxy , std::size_t N = 4>
friend class D
friend

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