MeshLib Documentation
Loading...
Searching...
No Matches
MR::Signal< T > Struct Template Reference

#include <MRSignal.h>

+ Inheritance diagram for MR::Signal< T >:

Public Member Functions

 Signal () noexcept=default
 
 Signal (const Signal &) noexcept
 
 Signal (Signal &&) noexcept=default
 
Signaloperator= (const Signal &) noexcept
 
Signaloperator= (Signal &&) noexcept=default
 
Signaloperator= (boost::signals2::signal< T > &&b) noexcept
 

Detailed Description

template<typename T>
struct MR::Signal< T >

This class wraps boost::signals2::signal adding copy constructor and copy assignment operator, which do nothing, but allow putting this as a member in copyable classes

Constructor & Destructor Documentation

◆ Signal() [1/3]

template<typename T >
MR::Signal< T >::Signal ( )
defaultnoexcept

◆ Signal() [2/3]

template<typename T >
MR::Signal< T >::Signal ( const Signal< T > & )
inlinenoexcept

◆ Signal() [3/3]

template<typename T >
MR::Signal< T >::Signal ( Signal< T > && )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/3]

template<typename T >
Signal & MR::Signal< T >::operator= ( boost::signals2::signal< T > && b)
inlinenoexcept

◆ operator=() [2/3]

template<typename T >
Signal & MR::Signal< T >::operator= ( const Signal< T > & )
inlinenoexcept

◆ operator=() [3/3]

template<typename T >
Signal & MR::Signal< T >::operator= ( Signal< T > && )
defaultnoexcept

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