HCE project C++ developers source code library
1.1.1
HCE project developer library
|
#include <DRCEFunctionalObject.hpp>
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 |
Definition at line 30 of file DRCEFunctionalObject.hpp.
|
protected |
Definition at line 64 of file DRCEFunctionalObject.hpp.
|
explicit |
|
inlinevirtual |
Definition at line 34 of file DRCEFunctionalObject.hpp.
|
protected |
Definition at line 52 of file DRCEFunctionalObject.cpp.
|
inline |
Definition at line 43 of file DRCEFunctionalObject.hpp.
|
inline |
Definition at line 40 of file DRCEFunctionalObject.hpp.
|
protected |
|
protected |
|
protected |
Definition at line 240 of file DRCEFunctionalObject.cpp.
|
protected |
Definition at line 278 of file DRCEFunctionalObject.cpp.
|
protected |
Definition at line 215 of file DRCEFunctionalObject.cpp.
std::string HCE::drce::DRCEFunctionalObject::Process | ( | const std::string & | json | ) |
DRCEOutputJsonMessage HCE::drce::DRCEFunctionalObject::Process | ( | DRCEInputJsonMessage & | inputJsonMessage | ) |
void HCE::drce::DRCEFunctionalObject::resetError | ( | void | ) |
Definition at line 45 of file DRCEFunctionalObject.cpp.
bool HCE::drce::DRCEFunctionalObject::setHomeDir | ( | const std::string & | homeDir_ | ) |
Definition at line 31 of file DRCEFunctionalObject.cpp.
|
inline |
Definition at line 39 of file DRCEFunctionalObject.hpp.