irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods::api_call_adaptor< types_t > Class Template Reference

#include <apiHandler.hpp>

Public Member Functions

 api_call_adaptor (std::function< int(rsComm_t *, types_t...)> _fcn)
 
irods::error operator() (irods::plugin_context &, rsComm_t *_comm, types_t... _t)
 

Private Attributes

std::function< int(rsComm_t *, types_t...)> fcn_
 

Detailed Description

template<typename... types_t>
class irods::api_call_adaptor< types_t >

Definition at line 81 of file apiHandler.hpp.

Constructor & Destructor Documentation

◆ api_call_adaptor()

template<typename... types_t>
irods::api_call_adaptor< types_t >::api_call_adaptor ( std::function< int(rsComm_t *, types_t...)>  _fcn)
inline

Definition at line 86 of file apiHandler.hpp.

Member Function Documentation

◆ operator()()

template<typename... types_t>
irods::error irods::api_call_adaptor< types_t >::operator() ( irods::plugin_context ,
rsComm_t _comm,
types_t...  _t 
)
inline

Definition at line 91 of file apiHandler.hpp.

References CODE, ERROR, and irods::api_call_adaptor< types_t >::fcn_.

Member Data Documentation

◆ fcn_

template<typename... types_t>
std::function<int(rsComm_t*, types_t...)> irods::api_call_adaptor< types_t >::fcn_
private

Definition at line 83 of file apiHandler.hpp.

Referenced by irods::api_call_adaptor< types_t >::operator()().


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