Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
appbase::method< FunctionSig, DispatchPolicy >::handle Class Reference

#include <method.hpp>

Public Member Functions

 ~handle ()
 
void unregister ()
 
 handle ()=default
 
 handle (handle &&)=default
 
handleoperator= (handle &&rhs)=default
 
 handle (const handle &)=delete
 
handleoperator= (const handle &)=delete
 

Friends

class method
 

Detailed Description

template<typename FunctionSig, typename DispatchPolicy>
class appbase::method< FunctionSig, DispatchPolicy >::handle

Type that represents a registered provider for a method allowing for ownership via RAII and also explicit unregistered actions

Definition at line 203 of file method.hpp.

Constructor & Destructor Documentation

◆ ~handle()

template<typename FunctionSig , typename DispatchPolicy >
appbase::method< FunctionSig, DispatchPolicy >::handle::~handle ( )
inline

Definition at line 205 of file method.hpp.

205 {
206 unregister();
207 }
Here is the call graph for this function:

◆ handle() [1/3]

template<typename FunctionSig , typename DispatchPolicy >
appbase::method< FunctionSig, DispatchPolicy >::handle::handle ( )
default

◆ handle() [2/3]

template<typename FunctionSig , typename DispatchPolicy >
appbase::method< FunctionSig, DispatchPolicy >::handle::handle ( handle && )
default

◆ handle() [3/3]

template<typename FunctionSig , typename DispatchPolicy >
appbase::method< FunctionSig, DispatchPolicy >::handle::handle ( const handle & )
delete

Member Function Documentation

◆ operator=() [1/2]

template<typename FunctionSig , typename DispatchPolicy >
handle & appbase::method< FunctionSig, DispatchPolicy >::handle::operator= ( const handle & )
delete

◆ operator=() [2/2]

template<typename FunctionSig , typename DispatchPolicy >
handle & appbase::method< FunctionSig, DispatchPolicy >::handle::operator= ( handle && rhs)
default

◆ unregister()

template<typename FunctionSig , typename DispatchPolicy >
void appbase::method< FunctionSig, DispatchPolicy >::handle::unregister ( )
inline

Explicitly unregister a provider for this channel of this object expires

Definition at line 213 of file method.hpp.

213 {
214 if (_handle.connected()) {
215 _handle.disconnect();
216 }
217 }
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ method

template<typename FunctionSig , typename DispatchPolicy >
friend class method
friend

Definition at line 242 of file method.hpp.


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