Nymph
v1.5.2
Flow-Based Data Processing Framework
|
#include <KTSlot.hh>
Public Types | |
typedef XDataType1 | first_data_type |
typedef XDataType2 | second_data_type |
typedef boost::function< void(KTDataPtr) > | function_signature |
typedef function_signature::result_type | return_type |
typedef function_signature::argument_type | argument_type |
Public Member Functions | |
template<class XFuncOwnerType > | |
KTSlotDataTwoTypes (const std::string &name, XFuncOwnerType *owner, bool(XFuncOwnerType::*func)(first_data_type &, second_data_type &), KTSignalData *signalPtr=NULL) | |
Constructor for the case where the processor has the function that will be called by the slot. More... | |
template<class XFuncOwnerType > | |
KTSlotDataTwoTypes (const std::string &name, KTProcessor *proc, XFuncOwnerType *owner, bool(XFuncOwnerType::*func)(first_data_type &, second_data_type &), KTSignalData *signalPtr=NULL) | |
Constructor for the case where the processor and the object with the function that will be called are different. More... | |
virtual | ~KTSlotDataTwoTypes () |
void | operator() (KTDataPtr data) |
Protected Attributes | |
boost::function< bool(first_data_type &, second_data_type &) > | fFunc |
KTSignalData * | fSignalPtr |
typedef function_signature::argument_type argument_type |
typedef XDataType1 first_data_type |
typedef boost::function< void (KTDataPtr) > function_signature |
typedef function_signature::result_type return_type |
typedef XDataType2 second_data_type |
KTSlotDataTwoTypes | ( | const std::string & | name, |
XFuncOwnerType * | owner, | ||
bool(XFuncOwnerType::*)(first_data_type &, second_data_type &) | func, | ||
KTSignalData * | signalPtr = NULL |
||
) |
KTSlotDataTwoTypes | ( | const std::string & | name, |
KTProcessor * | proc, | ||
XFuncOwnerType * | owner, | ||
bool(XFuncOwnerType::*)(first_data_type &, second_data_type &) | func, | ||
KTSignalData * | signalPtr = NULL |
||
) |
|
virtual |
|
protected |
|
protected |