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::connection_pool::connection_proxy Class Reference

#include <connection_pool.hpp>

Collaboration diagram for irods::connection_pool::connection_proxy:

Public Member Functions

 connection_proxy (connection_proxy &&)
connection_proxyoperator= (connection_proxy &&)
 ~connection_proxy ()
 operator bool () const noexcept
 operator rcComm_t & () const
 operator rcComm_t * () const noexcept
rcComm_trelease ()

Private Member Functions

 connection_proxy (connection_pool &_pool, rcComm_t &_conn, int _index) noexcept

Private Attributes

int index_

Static Private Attributes

static constexpr int uninitialized_index = -1


class connection_pool

Detailed Description

Definition at line 21 of file connection_pool.hpp.

Constructor & Destructor Documentation

◆ connection_proxy() [1/2]

irods::connection_pool::connection_proxy::connection_proxy ( connection_proxy &&  _other)

Definition at line 18 of file connection_pool.cpp.

◆ ~connection_proxy()

irods::connection_pool::connection_proxy::~connection_proxy ( )

Definition at line 11 of file connection_pool.cpp.

References index_, pool_, irods::connection_pool::return_connection(), and uninitialized_index.

Here is the call graph for this function:

◆ connection_proxy() [2/2]

irods::connection_pool::connection_proxy::connection_proxy ( connection_pool _pool,
rcComm_t _conn,
int  _index 

Definition at line 68 of file connection_pool.cpp.

Member Function Documentation

◆ operator bool()

irods::connection_pool::connection_proxy::operator bool ( ) const

Definition at line 41 of file connection_pool.cpp.

◆ operator rcComm_t &()

irods::connection_pool::connection_proxy::operator rcComm_t & ( ) const

Definition at line 46 of file connection_pool.cpp.

◆ operator rcComm_t *()

irods::connection_pool::connection_proxy::operator rcComm_t * ( ) const

Definition at line 55 of file connection_pool.cpp.

◆ operator=()

connection_pool::connection_proxy & irods::connection_pool::connection_proxy::operator= ( connection_proxy &&  _other)

Definition at line 28 of file connection_pool.cpp.

References pool_.

◆ release()

rcComm_t * irods::connection_pool::connection_proxy::release ( )

Definition at line 60 of file connection_pool.cpp.

Friends And Related Function Documentation

◆ connection_pool

friend class connection_pool

Definition at line 24 of file connection_pool.hpp.

Member Data Documentation

◆ conn_

rcComm_t* irods::connection_pool::connection_proxy::conn_

Definition at line 44 of file connection_pool.hpp.

◆ index_

int irods::connection_pool::connection_proxy::index_

Definition at line 45 of file connection_pool.hpp.

Referenced by ~connection_proxy().

◆ pool_

connection_pool* irods::connection_pool::connection_proxy::pool_

Definition at line 43 of file connection_pool.hpp.

Referenced by operator=(), and ~connection_proxy().

◆ uninitialized_index

constexpr int irods::connection_pool::connection_proxy::uninitialized_index = -1

Definition at line 41 of file connection_pool.hpp.

Referenced by ~connection_proxy().

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