HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::drce::DRCEFunctionalObject Class Reference

#include <DRCEFunctionalObject.hpp>

Inheritance diagram for HCE::drce::DRCEFunctionalObject:
Collaboration diagram for HCE::drce::DRCEFunctionalObject:

Public Member Functions

 DRCEFunctionalObject (const std::string &nodeName_, const std::string &homeDir_)
virtual ~DRCEFunctionalObject (void)
std::string Process (const std::string &json)
DRCEOutputJsonMessage Process (DRCEInputJsonMessage &inputJsonMessage)
void setNodeName (const std::string &nodeName_)
std::string getNodeName (void) const
bool setHomeDir (const std::string &homeDir_)
std::string getHomeDir (void) const
void resetError (void)
- Public Member Functions inherited from HCE::drce::DRCEFunctionalObjectBase
 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 (void)
void setLoggable (Loggable loggable)
void resetLoggable (void)

Protected Types

typedef DRCEFunctionalObjectBase inherited

Protected Member Functions

std::string getDefaultJSON (void)
void makeFilesBefore (DRCEFilesList &filesList) throw (Poco::Exception)
void makeFilesAfter (DRCEFilesList &filesList, DRCEResultDataItem &resultDataItem) throw (Poco::Exception)
void makeSetEnviroment (const std::vector< std::pair< std::string, std::string > > &enviroments) throw (Poco::Exception)
void makeProcessHostShell (DRCEInputJsonMessage &inputJsonMessage, DRCEResultDataItem &resultDataItem) throw (Poco::Exception)
void makeProcessSsh (DRCEInputJsonMessage &inputJsonMessage, DRCEResultDataItem &resultDataItem) throw (Poco::Exception)
- Protected Member Functions inherited from HCE::drce::DRCEFunctionalObjectBase
bool insensitiveCompare (const std::string &lhs, const std::string &rhs)
size_t getElapsedTimeMsec (const Poco::Timestamp &ts)

Additional Inherited Members

- Protected Attributes inherited from HCE::drce::DRCEFunctionalObjectBase
std::string errorMsg
unsigned int errorCode
bool _isError
LoggerStream logger

Detailed Description

Definition at line 30 of file DRCEFunctionalObject.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

HCE::drce::DRCEFunctionalObject::DRCEFunctionalObject ( const std::string &  nodeName_,
const std::string &  homeDir_ 
)
explicit

Definition at line 25 of file DRCEFunctionalObject.cpp.

Here is the call graph for this function:

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

Definition at line 34 of file DRCEFunctionalObject.hpp.

Member Function Documentation

std::string HCE::drce::DRCEFunctionalObject::getDefaultJSON ( void  )
protected

Definition at line 52 of file DRCEFunctionalObject.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string HCE::drce::DRCEFunctionalObject::getHomeDir ( void  ) const
inline

Definition at line 43 of file DRCEFunctionalObject.hpp.

std::string HCE::drce::DRCEFunctionalObject::getNodeName ( void  ) const
inline

Definition at line 40 of file DRCEFunctionalObject.hpp.

void HCE::drce::DRCEFunctionalObject::makeFilesAfter ( DRCEFilesList filesList,
DRCEResultDataItem resultDataItem 
) throw (Poco::Exception)
protected

Definition at line 178 of file DRCEFunctionalObject.cpp.

Here is the call graph for this function:

void HCE::drce::DRCEFunctionalObject::makeFilesBefore ( DRCEFilesList filesList) throw (Poco::Exception)
protected

Definition at line 152 of file DRCEFunctionalObject.cpp.

Here is the call graph for this function:

void HCE::drce::DRCEFunctionalObject::makeProcessHostShell ( DRCEInputJsonMessage inputJsonMessage,
DRCEResultDataItem resultDataItem 
) throw (Poco::Exception)
protected

Definition at line 240 of file DRCEFunctionalObject.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::DRCEFunctionalObject::makeProcessSsh ( DRCEInputJsonMessage inputJsonMessage,
DRCEResultDataItem resultDataItem 
) throw (Poco::Exception)
protected

Definition at line 278 of file DRCEFunctionalObject.cpp.

Here is the caller graph for this function:

void HCE::drce::DRCEFunctionalObject::makeSetEnviroment ( const std::vector< std::pair< std::string, std::string > > &  enviroments) throw (Poco::Exception)
protected

Definition at line 215 of file DRCEFunctionalObject.cpp.

std::string HCE::drce::DRCEFunctionalObject::Process ( const std::string &  json)

Definition at line 59 of file DRCEFunctionalObject.cpp.

Here is the call graph for this function:

DRCEOutputJsonMessage HCE::drce::DRCEFunctionalObject::Process ( DRCEInputJsonMessage inputJsonMessage)

Definition at line 87 of file DRCEFunctionalObject.cpp.

Here is the call graph for this function:

void HCE::drce::DRCEFunctionalObject::resetError ( void  )

Definition at line 45 of file DRCEFunctionalObject.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool HCE::drce::DRCEFunctionalObject::setHomeDir ( const std::string &  homeDir_)

Definition at line 31 of file DRCEFunctionalObject.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::DRCEFunctionalObject::setNodeName ( const std::string &  nodeName_)
inline

Definition at line 39 of file DRCEFunctionalObject.hpp.


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