hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::drce::DRCEFunctionalObjectBase Class Reference

#include <DRCEFunctionalObjectBase.hpp>

Inheritance diagram for HCE::drce::DRCEFunctionalObjectBase:
Collaboration diagram for HCE::drce::DRCEFunctionalObjectBase:

Public Member Functions

 DRCEFunctionalObjectBase (void)
virtual ~DRCEFunctionalObjectBase (void)
void setErrorMsg (const std::string &errorMsg_)
std::string getErrorMsg (void) const
void setErrorCode (unsigned int errorCode_)
unsigned int getErrorCode (void) const
void isError (bool isError_)
bool isError (void) const
void resetLogStream (void)
void setLogStream (std::ostream &os)
std::string logMsg (bool isReset=true)
std::ostream & log (LoggerStream::Priority logPriority)
void setLoggable (Loggable loggable)
void resetLoggable (void)
void setEnvironments (const std::string &env)
void applyEnvironments (DRCETaskRequest *pTaskRequest)

Static Protected Member Functions

static bool insensitiveCompare (const std::string &lhs, const std::string &rhs)
static size_t getElapsedTimeMsec (const Poco::Timestamp &ts)

Protected Attributes

std::string errorMsg
unsigned int errorCode
bool _isError
LoggerStream logger
std::vector< std::pair
< std::string, std::string > > 
environments

Detailed Description

Definition at line 29 of file DRCEFunctionalObjectBase.hpp.

Constructor & Destructor Documentation

HCE::drce::DRCEFunctionalObjectBase::DRCEFunctionalObjectBase ( void  )

Definition at line 21 of file DRCEFunctionalObjectBase.cpp.

virtual HCE::drce::DRCEFunctionalObjectBase::~DRCEFunctionalObjectBase ( void  )
inlinevirtual

Definition at line 33 of file DRCEFunctionalObjectBase.hpp.

Member Function Documentation

void HCE::drce::DRCEFunctionalObjectBase::applyEnvironments ( DRCETaskRequest pTaskRequest)

Definition at line 114 of file DRCEFunctionalObjectBase.cpp.

Here is the call graph for this function:

size_t HCE::drce::DRCEFunctionalObjectBase::getElapsedTimeMsec ( const Poco::Timestamp &  ts)
staticprotected

Definition at line 67 of file DRCEFunctionalObjectBase.cpp.

Here is the caller graph for this function:

unsigned int HCE::drce::DRCEFunctionalObjectBase::getErrorCode ( void  ) const
inline

Definition at line 39 of file DRCEFunctionalObjectBase.hpp.

Here is the caller graph for this function:

std::string HCE::drce::DRCEFunctionalObjectBase::getErrorMsg ( void  ) const
inline

Definition at line 36 of file DRCEFunctionalObjectBase.hpp.

Here is the caller graph for this function:

bool HCE::drce::DRCEFunctionalObjectBase::insensitiveCompare ( const std::string &  lhs,
const std::string &  rhs 
)
staticprotected

Definition at line 58 of file DRCEFunctionalObjectBase.cpp.

void HCE::drce::DRCEFunctionalObjectBase::isError ( bool  isError_)
inline

Definition at line 41 of file DRCEFunctionalObjectBase.hpp.

Here is the caller graph for this function:

bool HCE::drce::DRCEFunctionalObjectBase::isError ( void  ) const
inline

Definition at line 42 of file DRCEFunctionalObjectBase.hpp.

Here is the caller graph for this function:

std::ostream & HCE::drce::DRCEFunctionalObjectBase::log ( LoggerStream::Priority  logPriority)

Definition at line 41 of file DRCEFunctionalObjectBase.cpp.

Here is the call graph for this function:

std::string HCE::drce::DRCEFunctionalObjectBase::logMsg ( bool  isReset = true)

Definition at line 36 of file DRCEFunctionalObjectBase.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::DRCEFunctionalObjectBase::resetLoggable ( void  )

Definition at line 51 of file DRCEFunctionalObjectBase.cpp.

Here is the call graph for this function:

void HCE::drce::DRCEFunctionalObjectBase::resetLogStream ( void  )

Definition at line 26 of file DRCEFunctionalObjectBase.cpp.

Here is the call graph for this function:

void HCE::drce::DRCEFunctionalObjectBase::setEnvironments ( const std::string &  env)

Definition at line 74 of file DRCEFunctionalObjectBase.cpp.

Here is the caller graph for this function:

void HCE::drce::DRCEFunctionalObjectBase::setErrorCode ( unsigned int  errorCode_)
inline

Definition at line 38 of file DRCEFunctionalObjectBase.hpp.

Here is the caller graph for this function:

void HCE::drce::DRCEFunctionalObjectBase::setErrorMsg ( const std::string &  errorMsg_)
inline

Definition at line 35 of file DRCEFunctionalObjectBase.hpp.

Here is the caller graph for this function:

void HCE::drce::DRCEFunctionalObjectBase::setLoggable ( Loggable  loggable)

Definition at line 46 of file DRCEFunctionalObjectBase.cpp.

Here is the call graph for this function:

void HCE::drce::DRCEFunctionalObjectBase::setLogStream ( std::ostream &  os)

Definition at line 31 of file DRCEFunctionalObjectBase.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

bool HCE::drce::DRCEFunctionalObjectBase::_isError
protected

Definition at line 62 of file DRCEFunctionalObjectBase.hpp.

std::vector<std::pair<std::string, std::string> > HCE::drce::DRCEFunctionalObjectBase::environments
protected

Definition at line 66 of file DRCEFunctionalObjectBase.hpp.

unsigned int HCE::drce::DRCEFunctionalObjectBase::errorCode
protected

Definition at line 61 of file DRCEFunctionalObjectBase.hpp.

std::string HCE::drce::DRCEFunctionalObjectBase::errorMsg
protected

Definition at line 60 of file DRCEFunctionalObjectBase.hpp.

LoggerStream HCE::drce::DRCEFunctionalObjectBase::logger
protected

Definition at line 64 of file DRCEFunctionalObjectBase.hpp.


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