Nymph
v1.5.2
Flow-Based Data Processing Framework
|
#include <KTSlot.hh>
Public Types | |
typedef boost::function< Signature > | function_signature |
typedef function_signature::result_type | return_type |
typedef function_signature::first_argument_type | first_argument_type |
typedef function_signature::second_argument_type | second_argument_type |
Public Member Functions | |
template<class XFuncOwnerType > | |
KTSlotTwoArg (const std::string &name, XFuncOwnerType *owner, return_type(XFuncOwnerType::*func)(first_argument_type, second_argument_type)) | |
Constructor for the case where the processor has the function that will be called by the slot. More... | |
template<class XFuncOwnerType > | |
KTSlotTwoArg (const std::string &name, KTProcessor *proc, XFuncOwnerType *owner, return_type(XFuncOwnerType::*func)(first_argument_type, second_argument_type)) | |
Constructor for the case where the processor and the object with the function that will be called are different. More... | |
virtual | ~KTSlotTwoArg () |
return_type | operator() (first_argument_type arg1, second_argument_type arg2) |
Protected Attributes | |
boost::function< Signature > | fFunc |
typedef function_signature::first_argument_type first_argument_type |
typedef boost::function< Signature > function_signature |
typedef function_signature::result_type return_type |
typedef function_signature::second_argument_type second_argument_type |
KTSlotTwoArg | ( | const std::string & | name, |
XFuncOwnerType * | owner, | ||
return_type(XFuncOwnerType::*)(first_argument_type, second_argument_type) | func | ||
) |
KTSlotTwoArg | ( | const std::string & | name, |
KTProcessor * | proc, | ||
XFuncOwnerType * | owner, | ||
return_type(XFuncOwnerType::*)(first_argument_type, second_argument_type) | func | ||
) |
|
virtual |
KTSlotTwoArg< Signature >::return_type operator() | ( | first_argument_type | arg1, |
second_argument_type | arg2 | ||
) |