You.i Engine
CYISignalConnectionWrapper Class Reference

#include <signal/internal/YiSignalConnectionWrapper.h>

Public Member Functions

template<typename Derived , typename... Args>
 CYISignalConnectionWrapper (Derived *, Args &&... args)
 
 CYISignalConnectionWrapper (const CYISignalConnectionWrapper &other)
 
 CYISignalConnectionWrapper (const CYISignalConnectionWrapper &other, CYISignalHandler *pNewSignalHandler)
 
 CYISignalConnectionWrapper (const CYISignalConnectionWrapper &other, EYIConnectionType newConnectionType)
 
 CYISignalConnectionWrapper (const CYISignalConnectionWrapper &other, CYISignalHandler *pNewSignalHandler, EYIConnectionType newConnectionType)
 
 CYISignalConnectionWrapper (CYISignalConnectionWrapper &&other) noexcept
 
 ~CYISignalConnectionWrapper ()
 
CYISignalAbstractConnectionGet ()
 
const CYISignalAbstractConnectionGet () const
 
CYISignalAbstractConnectionoperator-> ()
 
const CYISignalAbstractConnectionoperator-> () const
 
CYISignalConnectionWrapperoperator= (CYISignalConnectionWrapper &&other)
 
template<typename Derived >
Derived * GetBuffer ()
 
template<typename Derived >
const Derived * GetBuffer () const
 

Static Public Attributes

static constexpr size_t s_smallLambdaStorageBytes = sizeof(void *) * 2
 
static constexpr size_t Alignment = alignof(SignalConnectionSize)
 

Constructor & Destructor Documentation

◆ CYISignalConnectionWrapper() [1/6]

template<typename Derived , typename... Args>
CYISignalConnectionWrapper::CYISignalConnectionWrapper ( Derived *  ,
Args &&...  args 
)
inline

◆ CYISignalConnectionWrapper() [2/6]

CYISignalConnectionWrapper::CYISignalConnectionWrapper ( const CYISignalConnectionWrapper other)
inline

◆ CYISignalConnectionWrapper() [3/6]

CYISignalConnectionWrapper::CYISignalConnectionWrapper ( const CYISignalConnectionWrapper other,
CYISignalHandler pNewSignalHandler 
)
inline

◆ CYISignalConnectionWrapper() [4/6]

CYISignalConnectionWrapper::CYISignalConnectionWrapper ( const CYISignalConnectionWrapper other,
EYIConnectionType  newConnectionType 
)
inline

◆ CYISignalConnectionWrapper() [5/6]

CYISignalConnectionWrapper::CYISignalConnectionWrapper ( const CYISignalConnectionWrapper other,
CYISignalHandler pNewSignalHandler,
EYIConnectionType  newConnectionType 
)
inline

◆ CYISignalConnectionWrapper() [6/6]

CYISignalConnectionWrapper::CYISignalConnectionWrapper ( CYISignalConnectionWrapper &&  other)
inlinenoexcept

◆ ~CYISignalConnectionWrapper()

CYISignalConnectionWrapper::~CYISignalConnectionWrapper ( )
inline

Member Function Documentation

◆ Get() [1/2]

CYISignalAbstractConnection& CYISignalConnectionWrapper::Get ( )
inline

◆ Get() [2/2]

const CYISignalAbstractConnection& CYISignalConnectionWrapper::Get ( ) const
inline

◆ GetBuffer() [1/2]

template<typename Derived >
Derived* CYISignalConnectionWrapper::GetBuffer ( )
inline

◆ GetBuffer() [2/2]

template<typename Derived >
const Derived* CYISignalConnectionWrapper::GetBuffer ( ) const
inline

◆ operator->() [1/2]

CYISignalAbstractConnection* CYISignalConnectionWrapper::operator-> ( )
inline

◆ operator->() [2/2]

const CYISignalAbstractConnection* CYISignalConnectionWrapper::operator-> ( ) const
inline

◆ operator=()

CYISignalConnectionWrapper& CYISignalConnectionWrapper::operator= ( CYISignalConnectionWrapper &&  other)
inline

Member Data Documentation

◆ Alignment

constexpr size_t CYISignalConnectionWrapper::Alignment = alignof(SignalConnectionSize)
static

◆ s_smallLambdaStorageBytes

constexpr size_t CYISignalConnectionWrapper::s_smallLambdaStorageBytes = sizeof(void *) * 2
static

This constant represents the amount of storage available for storing 'small' lambdas without heap allocations.


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