SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shore::signal< T > Class Template Reference

Signal. More...

Public Member Functions

 ~signal ()
 Destructor, disconnect all slots.
 
void disconnect_all ()
 Disconnect from all slots.
 
 signal (const signal &bp)
 
signaloperator= (const signal &bp)
 
void connect (slot< T > &s)
 Connect to a slot.
 
void disconnect (slot< T > &s)
 Disconnect from a slot.
 
size_t nslots () const
 

Public Attributes

const emitter_type emit
 Functor that may be called to emit the signal. More...
 

Friends

class slot< T >
 

Detailed Description

template<typename T>
class shore::signal< T >

Signal.

Member Data Documentation

template<typename T>
const emitter_type shore::signal< T >::emit

Functor that may be called to emit the signal.

This will call all connected slots.


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