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

#include <KTConfigurable.hh>

Inheritance diagram for KTConfigurable:
Inheritance graph

Public Member Functions

 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)
 

Protected Attributes

KTCommandLineHandlerfCLHandler
 
std::string fConfigName
 

Detailed Description

Definition at line 24 of file KTConfigurable.hh.

Constructor & Destructor Documentation

◆ KTConfigurable()

KTConfigurable ( const std::string &  name = "default-name")

Definition at line 27 of file KTConfigurable.cc.

◆ ~KTConfigurable()

~KTConfigurable ( )
virtual

Definition at line 33 of file KTConfigurable.cc.

Member Function Documentation

◆ Configure() [1/2]

virtual bool Configure ( const scarab::param_node &  node)
pure virtual

◆ Configure() [2/2]

bool Configure ( const std::string &  config)

Implement the option for calling Configure without passing a parameter store node.

Configure from a JSON string

Definition at line 37 of file KTConfigurable.cc.

◆ GetConfigName()

const std::string & GetConfigName ( ) const
inline

Definition at line 54 of file KTConfigurable.hh.

◆ SetConfigName()

void SetConfigName ( const std::string &  name)
inline

Definition at line 59 of file KTConfigurable.hh.

Member Data Documentation

◆ fCLHandler

KTCommandLineHandler* fCLHandler
protected

Definition at line 38 of file KTConfigurable.hh.

◆ fConfigName

std::string fConfigName
protected

Definition at line 45 of file KTConfigurable.hh.


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