![]() |
Rosetta Utilities
2014.16.56682
|
struct specifying actual link data between observers and subjects More...
#include <LinkUnit.hh>
Public Member Functions | |
| LinkUnit (void *f) | |
| function pointer constructor More... | |
| ~LinkUnit () | |
| 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... | |
Public Member Functions inherited from utility::pointer::ReferenceCount | |
| void | ctor () |
| virtual | ~ReferenceCount () |
| Destructor. More... | |
| Size | ref_count () const |
| Reference count. More... | |
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::pointer::ReferenceCount | 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... | |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
| typedef platform::Size | Size |
| typedef platform::Size | size_type |
Protected Member Functions inherited from utility::pointer::ReferenceCount | |
| ReferenceCount () | |
| Default constructor. More... | |
| ReferenceCount (ReferenceCount const &) | |
| Copy constructor. More... | |
| ReferenceCount & | operator= (ReferenceCount const &) |
| Copy assignment. More... | |
struct specifying actual link data between observers and subjects
|
private |
disallow default constructor
|
private |
disallow copy constructor
|
inline |
function pointer constructor
| f | pointer to function object with proper signature |
|
inline |
default destructor
|
inline |
return a reference to the function object with requested cast
References fn.
disallow copy assignment
|
inline |
| 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().
1.8.7