Nymph  v1.5.2
Flow-Based Data Processing Framework
Public Types | Public Member Functions | Protected Attributes | List of all members
KTSlotTwoArg< Signature > Class Template Reference

#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
 

Detailed Description

template<typename Signature>
class Nymph::KTSlotTwoArg< Signature >

Definition at line 89 of file KTSlot.hh.

Member Typedef Documentation

◆ first_argument_type

typedef function_signature::first_argument_type first_argument_type

Definition at line 94 of file KTSlot.hh.

◆ function_signature

typedef boost::function< Signature > function_signature

Definition at line 92 of file KTSlot.hh.

◆ return_type

typedef function_signature::result_type return_type

Definition at line 93 of file KTSlot.hh.

◆ second_argument_type

typedef function_signature::second_argument_type second_argument_type

Definition at line 95 of file KTSlot.hh.

Constructor & Destructor Documentation

◆ KTSlotTwoArg() [1/2]

KTSlotTwoArg ( const std::string &  name,
XFuncOwnerType *  owner,
return_type(XFuncOwnerType::*)(first_argument_type, second_argument_type func 
)

Constructor for the case where the processor has the function that will be called by the slot.

Definition at line 178 of file KTSlot.hh.

◆ KTSlotTwoArg() [2/2]

KTSlotTwoArg ( const std::string &  name,
KTProcessor proc,
XFuncOwnerType *  owner,
return_type(XFuncOwnerType::*)(first_argument_type, second_argument_type func 
)

Constructor for the case where the processor and the object with the function that will be called are different.

Definition at line 186 of file KTSlot.hh.

◆ ~KTSlotTwoArg()

~KTSlotTwoArg ( )
virtual

Definition at line 193 of file KTSlot.hh.

Member Function Documentation

◆ operator()()

KTSlotTwoArg< Signature >::return_type operator() ( first_argument_type  arg1,
second_argument_type  arg2 
)

Definition at line 198 of file KTSlot.hh.

Member Data Documentation

◆ fFunc

boost::function< Signature > fFunc
protected

Definition at line 109 of file KTSlot.hh.


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