Rosetta
|
struct specifying actual link data between observers and subjects More...
#include <LinkUnit.hh>
Public Member Functions | |
LinkUnit (void *f) | |
function pointer constructor More... | |
~LinkUnit () override=default | |
default destructor More... | |
template<typename Function > | |
Function & | fref () |
return a reference to the function object with requested cast More... | |
template<typename Function , typename Signal > | |
void | send (Signal s) |
send a signal using the member function More... | |
![]() | |
VirtualBase ()=default | |
Default constructor. More... | |
virtual | ~VirtualBase ()=default |
The virtual destructor is one of the main reasons for the VirtualBase class. More... | |
VirtualBase (VirtualBase const &)=default | |
VirtualBase (VirtualBase &&)=default | |
VirtualBase & | operator= (VirtualBase const &)=default |
VirtualBase & | operator= (VirtualBase &&)=default |
Public Attributes | |
void * | fn |
the observer's member function More... | |
bool | valid |
connection still valid? More... | |
bool | blocked |
connection locally blocked? More... | |
Private Types | |
typedef utility::VirtualBase | Super |
Private Member Functions | |
LinkUnit () | |
disallow default constructor More... | |
LinkUnit (LinkUnit const &rval) | |
disallow copy constructor More... | |
LinkUnit & | operator= (LinkUnit const &rval) |
disallow copy assignment More... | |
struct specifying actual link data between observers and subjects
|
private |
|
private |
disallow default constructor
|
private |
disallow copy constructor
|
inline |
function pointer constructor
f | pointer to function object with proper signature |
|
inlineoverridedefault |
default destructor
|
inline |
return a reference to the function object with requested cast
References debug_assert, and fn.
disallow copy assignment
|
inline |
send a signal using the member function
the | boost function type |
the | Signal to send, must match the necessary function signature |
References blocked, debug_assert, fn, docking::s, and valid.
bool utility::signals::LinkUnit::blocked |
connection locally blocked?
Referenced by send().
void* utility::signals::LinkUnit::fn |
the observer's member function
dependent upon SignalHub to manage memory
Referenced by utility::signals::SignalHub< ReturnType, Signal >::deallocate(), fref(), and send().
bool utility::signals::LinkUnit::valid |
connection still valid?
Referenced by send().