Nymph  v1.5.2
Flow-Based Data Processing Framework
Public Types | Public Member Functions | Protected Attributes | List of all members
KTSlotDataThreeTypes< XDataType1, XDataType2, XDataType3 > Class Template Reference

#include <KTSlot.hh>

Public Types

typedef XDataType1 first_data_type
 
typedef XDataType2 second_data_type
 
typedef XDataType3 third_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 >
 KTSlotDataThreeTypes (const std::string &name, XFuncOwnerType *owner, bool(XFuncOwnerType::*func)(first_data_type &, second_data_type &, third_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 >
 KTSlotDataThreeTypes (const std::string &name, KTProcessor *proc, XFuncOwnerType *owner, bool(XFuncOwnerType::*func)(first_data_type &, second_data_type &, third_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 ~KTSlotDataThreeTypes ()
 
void operator() (KTDataPtr data)
 

Protected Attributes

boost::function< bool(first_data_type &, second_data_type &, third_data_type &) > fFunc
 
KTSignalDatafSignalPtr
 

Detailed Description

template<class XDataType1, class XDataType2, class XDataType3>
class Nymph::KTSlotDataThreeTypes< XDataType1, XDataType2, XDataType3 >

Definition at line 284 of file KTSlot.hh.

Member Typedef Documentation

◆ argument_type

typedef function_signature::argument_type argument_type

Definition at line 292 of file KTSlot.hh.

◆ first_data_type

typedef XDataType1 first_data_type

Definition at line 287 of file KTSlot.hh.

◆ function_signature

typedef boost::function< void (KTDataPtr) > function_signature

Definition at line 290 of file KTSlot.hh.

◆ return_type

typedef function_signature::result_type return_type

Definition at line 291 of file KTSlot.hh.

◆ second_data_type

typedef XDataType2 second_data_type

Definition at line 288 of file KTSlot.hh.

◆ third_data_type

typedef XDataType3 third_data_type

Definition at line 289 of file KTSlot.hh.

Constructor & Destructor Documentation

◆ KTSlotDataThreeTypes() [1/2]

KTSlotDataThreeTypes ( const std::string &  name,
XFuncOwnerType *  owner,
bool(XFuncOwnerType::*)(first_data_type &, second_data_type &, third_data_type &)  func,
KTSignalData signalPtr = NULL 
)

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

Definition at line 417 of file KTSlot.hh.

◆ KTSlotDataThreeTypes() [2/2]

KTSlotDataThreeTypes ( const std::string &  name,
KTProcessor proc,
XFuncOwnerType *  owner,
bool(XFuncOwnerType::*)(first_data_type &, second_data_type &, third_data_type &)  func,
KTSignalData signalPtr = NULL 
)

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

Definition at line 426 of file KTSlot.hh.

◆ ~KTSlotDataThreeTypes()

~KTSlotDataThreeTypes ( )
virtual

Definition at line 434 of file KTSlot.hh.

Member Function Documentation

◆ operator()()

void operator() ( KTDataPtr  data)

Definition at line 439 of file KTSlot.hh.

Member Data Documentation

◆ fFunc

boost::function< bool (first_data_type&, second_data_type&, third_data_type&) > fFunc
protected

Definition at line 306 of file KTSlot.hh.

◆ fSignalPtr

KTSignalData* fSignalPtr
protected

Definition at line 308 of file KTSlot.hh.


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