Nymph
v1.5.2
Flow-Based Data Processing Framework
|
Creates a signal that takes a single argument. More...
#include <KTSignal.hh>
Public Types | |
typedef void() | signature(XSignalArgument) |
typedef boost::signals2::signal< signature > | boost_signal |
typedef boost::signals2::signal< signature >::slot_type | slot_type |
Public Member Functions | |
KTSignalOneArg () | |
KTSignalOneArg (const std::string &name, KTProcessor *proc) | |
virtual | ~KTSignalOneArg () |
void | operator() (XSignalArgument arg) |
boost_signal * | Signal () |
Protected Member Functions | |
KTSignalOneArg (const KTSignalOneArg &) | |
Protected Attributes | |
boost_signal | fSignal |
Creates a signal that takes a single argument.
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 KTDataSignal< ArgumentType >.
Initialize the signal with the processor's 'this' pointer and the name of the signal.
To use the signal, call it as: fSignalObject(arg);
Definition at line 39 of file KTSignal.hh.
typedef boost::signals2::signal< signature > boost_signal |
Definition at line 43 of file KTSignal.hh.
typedef void() signature(XSignalArgument) |
Definition at line 42 of file KTSignal.hh.
Definition at line 44 of file KTSignal.hh.
KTSignalOneArg | ( | ) |
Definition at line 157 of file KTSignal.hh.
KTSignalOneArg | ( | const std::string & | name, |
KTProcessor * | proc | ||
) |
Definition at line 150 of file KTSignal.hh.
|
virtual |
Definition at line 167 of file KTSignal.hh.
|
protected |
Definition at line 162 of file KTSignal.hh.
|
inline |
Definition at line 172 of file KTSignal.hh.
|
inline |
Definition at line 178 of file KTSignal.hh.
|
protected |
Definition at line 60 of file KTSignal.hh.