![]() |
OTX-Runtime for C++
|
|
Contains methods for accessing the VW-MCD More...
#include <ActiaMcdDiagRuntimeSystem.h>
Public Member Functions | |
DIAGRUNTIMESYSTEM_EXPORTS | ActiaMcdDiagRuntimeSystem () |
Creates an instance of the VW-MCD with the given project and vehicle name More... | |
DIAGRUNTIMESYSTEM_EXPORTS | ActiaMcdDiagRuntimeSystem (const std::string &appId, const std::vector< unsigned char > &secretKey) |
Creates an instance of the VW-MCD with the given appId and secretKey More... | |
DIAGRUNTIMESYSTEM_EXPORTS | ActiaMcdDiagRuntimeSystem (std::string projectName, std::string vehicleInfo) |
Creates an instance of the VW-MCD with the given project and vehicle name More... | |
DIAGRUNTIMESYSTEM_EXPORTS Common::Result * | Execute (const Common::Command &command) override |
DiagRuntimeSystem executes the command synchronously More... | |
DIAGRUNTIMESYSTEM_EXPORTS Common::Result * | ExecuteAsync (const Common::Command &command) override |
DiagRuntimeSystem executes the command asynchronously More... | |
![]() | |
virtual void | SetAsyncResultHandler (std::function< void(const Common::Result &)> handler)=0 |
Set an async result handler into DiagRuntimeSystem. More... | |
virtual void | SetExceptionHandler (std::function< void(const Common::Exception &)> handler)=0 |
Set an exception handler into DiagRuntimeSystem. More... | |
Contains methods for accessing the VW-MCD
ActiaMcdDiagRuntimeSystem::ActiaMcdDiagRuntimeSystem | ( | ) |
Creates an instance of the VW-MCD with the given project and vehicle name
ActiaMcdDiagRuntimeSystem::ActiaMcdDiagRuntimeSystem | ( | const std::string & | appId, |
const std::vector< unsigned char > & | secretKey | ||
) |
Creates an instance of the VW-MCD with the given appId and secretKey
ActiaMcdDiagRuntimeSystem::ActiaMcdDiagRuntimeSystem | ( | std::string | projectName, |
std::string | vehicleInfo | ||
) |
Creates an instance of the VW-MCD with the given project and vehicle name
projectName | Name of the ODX runtime project |
vehicleInfo | Shortname of the vehicle |
|
overridevirtual |
DiagRuntimeSystem executes the command synchronously
The DiagRuntimeSystem must execute the command synchronously and returns a result or an exception. The command contains a Google Protobuf data object, which is related according to OTX term or action (e.g. GetComChannel, ExecuteDiagService, ...). It contains all required parameter values.
Implements OpenTestSystem::Otx::DiagManager::Common::IDiagRuntimeSystem.
|
overridevirtual |
DiagRuntimeSystem executes the command asynchronously
The DiagRuntimeSystem executes the command asynchronously and returns am empty result. The real result/exception when received will be given back via async result/exception handler, which is set in SetAsyncResultHandler/SetExceptionHandler. The command contains a Google Protobuf data object, which is related according to OTX term or action (e.g. GetComChannel, ExecuteDiagService, ...). It contains all required parameter values.
Implements OpenTestSystem::Otx::DiagManager::Common::IDiagRuntimeSystem.