SWC-DB  v0.5.9 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Comm::Protocol::Common::Req::function< CbT > Struct Template Reference

#include <swcdb/db/Protocol/Common/req/handler_data.h>

Public Types

typedef functionPtr
 

Public Member Functions

SWC_CAN_INLINE function (SWC::client::Clients::Ptr &a_clients, const CbT &a_cb)
 
SWC_CAN_INLINE function (SWC::client::Clients::Ptr &a_clients, CbT &&a_cb) noexcept
 
 ~function () noexcept
 
SWC_CAN_INLINE SWC::client::Clients::Ptrget_clients () noexcept
 
SWC_CAN_INLINE bool valid () noexcept
 
template<typename... ArgsT>
SWC_CAN_INLINE void callback (ArgsT &&... args)
 

Static Public Member Functions

static Ptr cast (void *_datap) noexcept
 

Public Attributes

SWC::client::Clients::Ptr clients
 
CbT cb
 

Detailed Description

template<typename CbT>
struct SWC::Comm::Protocol::Common::Req::function< CbT >

Definition at line 19 of file handler_data.h.

Member Typedef Documentation

◆ Ptr

template<typename CbT >
typedef function* SWC::Comm::Protocol::Common::Req::function< CbT >::Ptr

Definition at line 20 of file handler_data.h.

Constructor & Destructor Documentation

◆ function() [1/2]

template<typename CbT >
SWC_CAN_INLINE SWC::Comm::Protocol::Common::Req::function< CbT >::function ( SWC::client::Clients::Ptr a_clients,
const CbT &  a_cb 
)
inline

Definition at line 30 of file handler_data.h.

◆ function() [2/2]

template<typename CbT >
SWC_CAN_INLINE SWC::Comm::Protocol::Common::Req::function< CbT >::function ( SWC::client::Clients::Ptr a_clients,
CbT &&  a_cb 
)
inlinenoexcept

Definition at line 35 of file handler_data.h.

◆ ~function()

template<typename CbT >
SWC::Comm::Protocol::Common::Req::function< CbT >::~function ( )
inlinenoexcept

Definition at line 39 of file handler_data.h.

Member Function Documentation

◆ callback()

template<typename CbT >
template<typename... ArgsT>
SWC_CAN_INLINE void SWC::Comm::Protocol::Common::Req::function< CbT >::callback ( ArgsT &&...  args)
inline

◆ cast()

template<typename CbT >
static Ptr SWC::Comm::Protocol::Common::Req::function< CbT >::cast ( void *  _datap)
inlinestaticnoexcept

Definition at line 22 of file handler_data.h.

◆ get_clients()

template<typename CbT >
SWC_CAN_INLINE SWC::client::Clients::Ptr& SWC::Comm::Protocol::Common::Req::function< CbT >::get_clients ( )
inlinenoexcept

◆ valid()

template<typename CbT >
SWC_CAN_INLINE bool SWC::Comm::Protocol::Common::Req::function< CbT >::valid ( )
inlinenoexcept

Definition at line 47 of file handler_data.h.

Member Data Documentation

◆ cb

template<typename CbT >
CbT SWC::Comm::Protocol::Common::Req::function< CbT >::cb

◆ clients


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