Nymph  v1.5.2
Flow-Based Data Processing Framework
Public Member Functions | List of all members
KTPrimaryProcessor Class Referenceabstract

#include <KTPrimaryProcessor.hh>

Inheritance diagram for KTPrimaryProcessor:
Inheritance graph

Public Member Functions

 KTPrimaryProcessor (const std::string &name="default-primary-processor-name")
 
virtual ~KTPrimaryProcessor ()
 
virtual void operator() ()
 Callable function used by boost::thread. More...
 
virtual bool Run ()=0
 Starts the main action of the processor. More...
 
- Public Member Functions inherited from KTProcessor
 KTProcessor (const std::string &name="default-proc-name")
 
virtual ~KTProcessor ()
 
void ConnectASlot (const std::string &signalName, KTProcessor *processor, const std::string &slotName, int groupNum=-1)
 
void ConnectASignal (KTProcessor *processor, const std::string &signalName, const std::string &slotName, int groupNum=-1)
 
void ConnectSignalToSlot (KTSignalWrapper *signal, KTSlotWrapper *slot, int groupNum=-1)
 
template<class XProcessor >
void RegisterSignal (std::string name, XProcessor *signalPtr)
 
template<class XTarget , typename XReturn >
void RegisterSlot (std::string name, XTarget *target, XReturn(XTarget::*funcPtr)())
 
template<class XTarget , typename XReturn , typename XArg1 >
void RegisterSlot (std::string name, XTarget *target, XReturn(XTarget::*funcPtr)(XArg1))
 
template<class XTarget , typename XReturn , typename XArg1 , typename XArg2 >
void RegisterSlot (std::string name, XTarget *target, XReturn(XTarget::*funcPtr)(XArg1, XArg2))
 
KTSignalWrapperGetSignal (const std::string &name)
 
KTSlotWrapperGetSlot (const std::string &name)
 
template<typename XSignalSig >
void RegisterSignal (std::string name, XSignalSig *signalPtr)
 
- Public Member Functions inherited from KTConfigurable
 KTConfigurable (const std::string &name="default-name")
 
virtual ~KTConfigurable ()
 
virtual bool Configure (const scarab::param_node &node)=0
 Should perform parameter store and command-line configurations. More...
 
bool Configure (const std::string &config)
 Implement the option for calling Configure without passing a parameter store node. More...
 
const std::string & GetConfigName () const
 
void SetConfigName (const std::string &name)
 

Additional Inherited Members

- Protected Types inherited from KTProcessor
typedef std::map< std::string, KTSignalWrapper *> SignalMap
 
typedef SignalMap::iterator SigMapIt
 
typedef SignalMap::value_type SigMapVal
 
typedef std::map< std::string, KTSlotWrapper *> SlotMap
 
typedef SlotMap::iterator SlotMapIt
 
typedef SlotMap::value_type SlotMapVal
 
- Protected Attributes inherited from KTProcessor
SignalMap fSignalMap
 
SlotMap fSlotMap
 
- Protected Attributes inherited from KTConfigurable
KTCommandLineHandlerfCLHandler
 
std::string fConfigName
 

Detailed Description

Definition at line 18 of file KTPrimaryProcessor.hh.

Constructor & Destructor Documentation

◆ KTPrimaryProcessor()

KTPrimaryProcessor ( const std::string &  name = "default-primary-processor-name")

Definition at line 16 of file KTPrimaryProcessor.cc.

◆ ~KTPrimaryProcessor()

~KTPrimaryProcessor ( )
virtual

Definition at line 21 of file KTPrimaryProcessor.cc.

Member Function Documentation

◆ operator()()

void operator() ( )
virtual

Callable function used by boost::thread.

Definition at line 25 of file KTPrimaryProcessor.cc.

◆ Run()

virtual bool Run ( )
pure virtual

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