Public Member Functions | Public Attributes
ecl::lite::sigslots::GlobalSlot< Data > Class Template Reference

A slot with global/static callback function. More...

#include <slot.hpp>

Inheritance diagram for ecl::lite::sigslots::GlobalSlot< Data >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void execute (Data data)
 GlobalSlot ()
 GlobalSlot (void(*func)(Data))

Public Attributes

void(* global_function )(Data)
 Slotted function.

Detailed Description

template<typename Data>
class ecl::lite::sigslots::GlobalSlot< Data >

A slot with global/static callback function.

Template Parameters:
Data: the argument type.

Definition at line 75 of file slot.hpp.


Constructor & Destructor Documentation

template<typename Data>
ecl::lite::sigslots::GlobalSlot< Data >::GlobalSlot ( ) [inline]

Definition at line 77 of file slot.hpp.

template<typename Data>
ecl::lite::sigslots::GlobalSlot< Data >::GlobalSlot ( void(*)(Data)  func) [inline]

Definition at line 78 of file slot.hpp.


Member Function Documentation

template<typename Data>
void ecl::lite::sigslots::GlobalSlot< Data >::execute ( Data  data) [inline, virtual]

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

Definition at line 80 of file slot.hpp.


Member Data Documentation

template<typename Data>
void(* ecl::lite::sigslots::GlobalSlot< Data >::global_function)(Data)

Slotted function.

Definition at line 85 of file slot.hpp.


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


ecl_sigslots_lite
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 18:53:25