MIRA
Public Member Functions | Friends | List of all members
RemoteConnectionProxy Class Reference

A proxy object that represents a connection. More...

#include <fw/RemoteConnectionPool.h>

Inheritance diagram for RemoteConnectionProxy:
Inheritance graph
[legend]

Public Member Functions

 RemoteConnectionProxy ()
 
 RemoteConnectionProxy (RemoteConnectionProxy &&) noexcept
 
RemoteConnectionProxy & operator= (RemoteConnectionProxy &&) noexcept
 
 ~RemoteConnectionProxy ()
 Destructor Calls RemoteConnectionPool::stopConnection on its connection. More...
 
template<typename Reflector >
void reflect (Reflector &r)
 
const RemoteConnection * operator-> () const
 
RemoteConnection * operator-> ()
 
const RemoteConnection & operator* () const
 
RemoteConnection & operator* ()
 
const RemoteConnection * get () const
 
RemoteConnection * get ()
 
bool valid () const
 RemoteConnectionProxy is valid if its RemoteConnectionPool and RemoteConnection pointers are valid and the referred pool contains the referred connection. More...
 
bool operator== (const RemoteConnection *other) const
 

Friends

class RemoteConnectionPool
 
void swap (RemoteConnectionProxy &a, RemoteConnectionProxy &b)
 

Detailed Description

A proxy object that represents a connection.

It is noncopyable.

Constructor & Destructor Documentation

◆ RemoteConnectionProxy() [1/2]

◆ RemoteConnectionProxy() [2/2]

◆ ~RemoteConnectionProxy()

Destructor Calls RemoteConnectionPool::stopConnection on its connection.

Member Function Documentation

◆ operator=()

RemoteConnectionProxy& operator= ( RemoteConnectionProxy &&  )
noexcept

◆ reflect()

void reflect ( Reflector &  r)
inline

◆ operator->() [1/2]

const RemoteConnection* operator-> ( ) const
inline

◆ operator->() [2/2]

RemoteConnection* operator-> ( )
inline

◆ operator*() [1/2]

const RemoteConnection& operator* ( ) const
inline

◆ operator*() [2/2]

RemoteConnection& operator* ( )
inline

◆ get() [1/2]

const RemoteConnection* get ( ) const
inline

◆ get() [2/2]

RemoteConnection* get ( )
inline

◆ valid()

bool valid ( ) const

RemoteConnectionProxy is valid if its RemoteConnectionPool and RemoteConnection pointers are valid and the referred pool contains the referred connection.

◆ operator==()

bool operator== ( const RemoteConnection *  other) const
inline

Friends And Related Function Documentation

◆ RemoteConnectionPool

friend class RemoteConnectionPool
friend

◆ swap

void swap ( RemoteConnectionProxy &  a,
RemoteConnectionProxy &  b 
)
friend

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