1 #ifndef OpenTestSystem_DiagConfiguration_OtxDiagApi_IComInterface_H
2 #define OpenTestSystem_DiagConfiguration_OtxDiagApi_IComInterface_H
6 #include "DataTypes/AllClasses.h"
7 #include "DataTypes/OtxConnectionState.h"
15 namespace DiagManager {
16 namespace OtxDiagApi {
29 virtual void ActivateEthernet(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce) = 0;
33 virtual void CloseComInterface(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce) = 0;
37 virtual void ConnectComInterface(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce) = 0;
41 virtual void DeactivateEthernet(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce) = 0;
45 virtual std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComChannel>
CreateComChannelFromComInterface(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce,
const std::string & identifier, std::string * ecuVariantName =
nullptr,
const std::string & resource =
"") = 0;
49 virtual double GetBatteryVoltage(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce) = 0;
53 virtual std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComChannel>
GetComChannelFromComInterface(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce,
const std::string & identifier, std::string * ecuVariantName =
nullptr,
bool performVariantSelection =
false,
const std::string & resource =
"") = 0;
57 virtual std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface>
GetComInterface(
const std::string & comInterfaceName) = 0;
65 virtual std::vector<std::string>
GetComInterfaceNameListFromEthernet(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce,
const std::string & optionString) = 0;
69 virtual std::map<std::string, std::string>
GetComInterfaceProperties(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce) = 0;
73 virtual std::vector<std::string>
GetComInterfaceResourceNameList(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce) = 0;
81 virtual bool GetIgnitionState(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce, int64 * pinOnInterfaceConnector) = 0;
85 virtual bool IsInterfaceConnected(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce) = 0;
89 virtual bool IsSecuredDoipSessionActive(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce) = 0;
93 virtual void TlsSetCertificate(std::shared_ptr<OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface> comInterfce,
const std::vector<std::vector<unsigned char>>& certificates) = 0;
The class is identical to an extension in OTX standard ISO 13209. A detailed specification can be fou...
Definition: IComInterface.h:21
virtual void ConnectComInterface(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual std::string GetDefaultComInterfaceName()=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual std::vector< std::string > GetComInterfaceNameList(const OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::OtxConnectionStates *connectionState)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual bool GetIgnitionState(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce, int64 *pinOnInterfaceConnector)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual double GetBatteryVoltage(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce)=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::IComChannel > GetComChannelFromComInterface(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce, const std::string &identifier, std::string *ecuVariantName=nullptr, bool performVariantSelection=false, const std::string &resource="")=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void ActivateEthernet(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void DeactivateEthernet(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual std::map< std::string, std::string > GetComInterfaceProperties(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void SetDefaultComInterface(const std::string &comInterfaceName)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void TlsSetCertificate(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce, const std::vector< std::vector< unsigned char >> &certificates)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual void CloseComInterface(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual bool IsSecuredDoipSessionActive(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual bool IsInterfaceConnected(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual std::vector< std::string > GetComInterfaceResourceNameList(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce)=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::IComInterface > GetComInterface(const std::string &comInterfaceName)=0
Identical to an action or term in the OTX standard ISO 13209. A detailed specification can be found t...
virtual std::vector< std::string > GetComInterfaceNameListFromEthernet(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce, const std::string &optionString)=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::IComChannel > CreateComChannelFromComInterface(std::shared_ptr< OpenTestSystem::Otx::DiagManager::OtxDiagApi::DataTypes::IComInterface > comInterfce, const std::string &identifier, std::string *ecuVariantName=nullptr, const std::string &resource="")=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