Nymph
v1.5.2
Flow-Based Data Processing Framework
|
Creates a signal that takes a KTDataPtr object as its argument. More...
#include <KTSignal.hh>
Public Types | |
typedef void() | signature(KTDataPtr) |
typedef boost::signals2::signal< signature > | boost_signal |
typedef boost::signals2::signal< signature >::slot_type | slot_type |
typedef void() | ref_signature(KTDataPtr &) |
typedef boost::signals2::signal< ref_signature > | ref_boost_signal |
typedef boost::signals2::signal< ref_signature >::slot_type | ref_slot_type |
![]() | |
typedef void() | signature(KTDataPtr) |
typedef boost::signals2::signal< signature > | boost_signal |
typedef boost::signals2::signal< signature >::slot_type | slot_type |
Public Member Functions | |
KTSignalData () | |
KTSignalData (const std::string &name, KTProcessor *proc) | |
virtual | ~KTSignalData () |
void | operator() (KTDataPtr arg) |
ref_boost_signal * | RefSignal () |
![]() | |
KTSignalOneArg () | |
KTSignalOneArg (const std::string &name, KTProcessor *proc) | |
virtual | ~KTSignalOneArg () |
void | operator() (KTDataPtr arg) |
boost_signal * | Signal () |
Protected Member Functions | |
KTSignalData (const KTSignalData &) | |
![]() | |
KTSignalOneArg (const KTSignalOneArg &) | |
Protected Attributes | |
ref_boost_signal | fRefSignal |
![]() | |
boost_signal | fSignal |
Creates a signal that takes a KTDataPtr object as its argument.
The purpose of the signal is for passing KTData pointers between Processors. The signal is emitted by calling operator(). If a KTDataSlot is being used, and the Slot has been given a pointer to this signal, the Slot will emit the Signal.
Usage: In your Processor's header add a member variable of type KTSignalData.
Initialize the signal with the processor's 'this' pointer and the name of the signal.
That's it!
Definition at line 119 of file KTSignal.hh.
typedef boost::signals2::signal< signature > boost_signal |
Definition at line 123 of file KTSignal.hh.
typedef boost::signals2::signal< ref_signature > ref_boost_signal |
Definition at line 127 of file KTSignal.hh.
typedef void() ref_signature(KTDataPtr &) |
Definition at line 126 of file KTSignal.hh.
typedef boost::signals2::signal< ref_signature >::slot_type ref_slot_type |
Definition at line 128 of file KTSignal.hh.
typedef void() signature(KTDataPtr) |
Definition at line 122 of file KTSignal.hh.
Definition at line 124 of file KTSignal.hh.
KTSignalData | ( | ) |
Definition at line 44 of file KTSignal.cc.
KTSignalData | ( | const std::string & | name, |
KTProcessor * | proc | ||
) |
Definition at line 33 of file KTSignal.cc.
|
virtual |
Definition at line 40 of file KTSignal.cc.
|
protected |
Definition at line 48 of file KTSignal.cc.
|
inline |
Definition at line 195 of file KTSignal.hh.
|
inline |
Definition at line 201 of file KTSignal.hh.
|
protected |
Definition at line 144 of file KTSignal.hh.