1 #ifndef OpenTestSystem_DiagConfiguration_OtxDiagApi_IJob_H
2 #define OpenTestSystem_DiagConfiguration_OtxDiagApi_IJob_H
6 #include "DataTypes/AllClasses.h"
7 #include "DataTypes/OtxResultType.h"
8 #include "DataTypes/OtxSeverityType.h"
9 #include "DataTypes/OtxJobResponseState.h"
13 namespace OpenTestSystem {
namespace Otx {
namespace DiagManager {
namespace OtxDiagApi {
22 inline virtual ~
IJob() {}
34 virtual void AddBranchByIndex(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer> parameterContainer, std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer> content,
double index) = 0;
38 virtual void AddBranchByName(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer> parameterContainer, std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer> content,
const std::string & shortName) = 0;
42 virtual void AddBranchByValue(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer> parameterContainer,
double value) = 0;
46 virtual void AddEnvDataByDtc(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer> parameterContainer,
double dtc) = 0;
50 virtual void AddElement(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer> parameterContainer, std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer> content) = 0;
54 virtual std::string
GetJobInfo(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IDiagService> diagJob) = 0;
58 virtual int32
GetJobProgress(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IDiagService> diagJob) = 0;
62 virtual void SendFinalResult(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IResult> result) = 0;
66 virtual void SendIntermediateResult(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IResult> result) = 0;
The class is identical to an extension in OTX standard ISO 13209. A detailed specification can be fou...
Definition: IJob.h:18
virtual void SetJobInfo(const std::string &info)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void SetProgressInfo(double process)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IResponse > CreateResponse(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IResult > result, OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::OtxJobResponseStates *responseState)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void SendIntermediateResult(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IResult > result)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void AddBranchByName(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer > parameterContainer, std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer > content, const std::string &shortName)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void AddEnvDataByDtc(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer > parameterContainer, double dtc)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IResult > CreateResult(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IDiagService > diagService, std::string *codeDescription, std::string *vendorCodeDescription, OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::OtxResultTypes *resultType, OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::OtxSeverityTypes *severity, int32 *errorCode, int32 *vendorCode)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void AddBranchByValue(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer > parameterContainer, double value)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual int32 GetJobProgress(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IDiagService > diagJob)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual std::string GetJobInfo(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IDiagService > diagJob)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void AddBranchByIndex(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer > parameterContainer, std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer > content, double index)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void AddElement(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer > parameterContainer, std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IParameterContainer > content)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void SendFinalResult(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IResult > result)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
Namespace containing all objects related to testing inside automotive industry