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

#include <KTConfigurable.hh>

Inheritance diagram for KTSelfConfigurable:
Inheritance graph

Public Member Functions

 KTSelfConfigurable (const std::string &name="default-self-name")
 
virtual ~KTSelfConfigurable ()
 
virtual bool Configure (const scarab::param_node &node)=0
 Should perform parameter store and command-line configurations. More...
 
virtual bool Configure ()
 Configure by getting the top-level node from the parameter store. More...
 
virtual bool IsReady () const =0
 Check if everything has been correctly configured. More...
 
bool GetIsConfigured ()
 
- Public Member Functions inherited from KTConfigurable
 KTConfigurable (const std::string &name="default-name")
 
virtual ~KTConfigurable ()
 
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)
 

Private Attributes

bool fIsConfigured
 

Additional Inherited Members

- Protected Attributes inherited from KTConfigurable
KTCommandLineHandlerfCLHandler
 
std::string fConfigName
 

Detailed Description

Definition at line 69 of file KTConfigurable.hh.

Constructor & Destructor Documentation

◆ KTSelfConfigurable()

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

Definition at line 50 of file KTConfigurable.cc.

◆ ~KTSelfConfigurable()

~KTSelfConfigurable ( )
virtual

Definition at line 56 of file KTConfigurable.cc.

Member Function Documentation

◆ Configure() [1/2]

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

Should perform parameter store and command-line configurations.

Implements KTConfigurable.

Implemented in KTCacheDirectory.

◆ Configure() [2/2]

bool Configure ( )
virtual

Configure by getting the top-level node from the parameter store.

Definition at line 60 of file KTConfigurable.cc.

◆ GetIsConfigured()

bool GetIsConfigured ( )
inline

Definition at line 90 of file KTConfigurable.hh.

◆ IsReady()

virtual bool IsReady ( ) const
pure virtual

Check if everything has been correctly configured.

Implemented in KTCacheDirectory.

Member Data Documentation

◆ fIsConfigured

bool fIsConfigured
private

Definition at line 86 of file KTConfigurable.hh.


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