iv::client_ptr< TypedClient > Class Template Reference

#include <client_ptr.hpp>

Public Member Functions

 client_ptr (TypedClient *client=nullptr)
 
 client_ptr (client_ptr< TypedClient > const &other)
 
 ~client_ptr ()
 
client_ptr< TypedClient > & operator= (client_ptr< TypedClient > const &other)
 
client_ptr< TypedClient > & operator= (TypedClient *client)
 
bool operator== (client_ptr< TypedClient > const &other)
 
bool operator!= (client_ptr< TypedClient > const &other)
 
bool operator< (client_ptr< TypedClient > const &other)
 
bool operator> (client_ptr< TypedClient > const &other)
 
bool operator<= (client_ptr< TypedClient > const &other)
 
bool operator>= (client_ptr< TypedClient > const &other)
 
TypedClient * get () const
 
TypedClient & operator* () const
 
TypedClient * operator-> () const
 
 operator bool () const
 

Protected Member Functions

virtual void invalidate (Instance *inst) override
 
- Protected Member Functions inherited from iv::instance_ptr_interface
void addSelfToSC (Instance *inst)
 
void removeSelfFromSC (Instance *inst)
 

Detailed Description

template<class TypedClient>
class iv::client_ptr< TypedClient >

Definition at line 18 of file client_ptr.hpp.

Constructor & Destructor Documentation

◆ client_ptr() [1/2]

template<class TypedClient >
iv::client_ptr< TypedClient >::client_ptr ( TypedClient *  client = nullptr)

Definition at line 5 of file client_ptr.inl.

◆ client_ptr() [2/2]

template<class TypedClient >
iv::client_ptr< TypedClient >::client_ptr ( client_ptr< TypedClient > const &  other)

Definition at line 20 of file client_ptr.inl.

◆ ~client_ptr()

template<class TypedClient >
iv::client_ptr< TypedClient >::~client_ptr

Definition at line 28 of file client_ptr.inl.

Member Function Documentation

◆ operator=() [1/2]

template<class TypedClient >
client_ptr< TypedClient > & iv::client_ptr< TypedClient >::operator= ( client_ptr< TypedClient > const &  other)

Definition at line 46 of file client_ptr.inl.

◆ operator=() [2/2]

template<class TypedClient >
client_ptr< TypedClient > & iv::client_ptr< TypedClient >::operator= ( TypedClient *  client)

Definition at line 35 of file client_ptr.inl.

◆ operator==()

template<class TypedClient >
bool iv::client_ptr< TypedClient >::operator== ( client_ptr< TypedClient > const &  other)

Definition at line 59 of file client_ptr.inl.

◆ operator!=()

template<class TypedClient >
bool iv::client_ptr< TypedClient >::operator!= ( client_ptr< TypedClient > const &  other)

Definition at line 65 of file client_ptr.inl.

◆ operator<()

template<class TypedClient >
bool iv::client_ptr< TypedClient >::operator< ( client_ptr< TypedClient > const &  other)

Definition at line 71 of file client_ptr.inl.

◆ operator>()

template<class TypedClient >
bool iv::client_ptr< TypedClient >::operator> ( client_ptr< TypedClient > const &  other)

Definition at line 77 of file client_ptr.inl.

◆ operator<=()

template<class TypedClient >
bool iv::client_ptr< TypedClient >::operator<= ( client_ptr< TypedClient > const &  other)

Definition at line 83 of file client_ptr.inl.

◆ operator>=()

template<class TypedClient >
bool iv::client_ptr< TypedClient >::operator>= ( client_ptr< TypedClient > const &  other)

Definition at line 89 of file client_ptr.inl.

◆ get()

template<class TypedClient >
TypedClient * iv::client_ptr< TypedClient >::get

Definition at line 95 of file client_ptr.inl.

◆ operator*()

template<class TypedClient >
TypedClient & iv::client_ptr< TypedClient >::operator*

Definition at line 101 of file client_ptr.inl.

◆ operator->()

template<class TypedClient >
TypedClient * iv::client_ptr< TypedClient >::operator->

Definition at line 107 of file client_ptr.inl.

◆ operator bool()

template<class TypedClient >
iv::client_ptr< TypedClient >::operator bool

Definition at line 113 of file client_ptr.inl.

◆ invalidate()

template<class TypedClient >
void iv::client_ptr< TypedClient >::invalidate ( Instance inst)
overrideprotectedvirtual

Implements iv::instance_ptr_interface.

Reimplemented in iv::callback_client_ptr< TypedClient >.

Definition at line 13 of file client_ptr.inl.


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