Public Member Functions | Public Attributes | List of all members
ecl::lite::sigslots::MemberSlot< Data, FunctionClass > Class Template Reference

A slot with member callback function. More...

#include <slot.hpp>

Inheritance diagram for ecl::lite::sigslots::MemberSlot< Data, FunctionClass >:
Inheritance graph
[legend]

Public Member Functions

void execute (Data data)
 
 MemberSlot ()
 
 MemberSlot (void(FunctionClass::*func)(Data), FunctionClass &instance)
 

Public Attributes

void(FunctionClass::* member_function )(Data)
 
FunctionClass * object
 

Detailed Description

template<typename Data, typename FunctionClass>
class ecl::lite::sigslots::MemberSlot< Data, FunctionClass >

A slot with member callback function.

Template Parameters
Data: the argument type.
FunctionClass: the type of the class the function belongs too.

Definition at line 52 of file slot.hpp.

Constructor & Destructor Documentation

template<typename Data, typename FunctionClass>
ecl::lite::sigslots::MemberSlot< Data, FunctionClass >::MemberSlot ( )
inline

Definition at line 54 of file slot.hpp.

template<typename Data, typename FunctionClass>
ecl::lite::sigslots::MemberSlot< Data, FunctionClass >::MemberSlot ( void(FunctionClass::*)(Data)  func,
FunctionClass &  instance 
)
inline

Definition at line 55 of file slot.hpp.

Member Function Documentation

template<typename Data, typename FunctionClass>
void ecl::lite::sigslots::MemberSlot< Data, FunctionClass >::execute ( Data  data)
inlinevirtual

Implements ecl::lite::sigslots::SlotBase< Data >.

Definition at line 60 of file slot.hpp.

Member Data Documentation

template<typename Data, typename FunctionClass>
void(FunctionClass::* ecl::lite::sigslots::MemberSlot< Data, FunctionClass >::member_function) (Data)

Definition at line 64 of file slot.hpp.

template<typename Data, typename FunctionClass>
FunctionClass* ecl::lite::sigslots::MemberSlot< Data, FunctionClass >::object

Definition at line 63 of file slot.hpp.


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


ecl_sigslots_lite
Author(s): Daniel Stonier
autogenerated on Fri Jun 7 2019 21:52:46