mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-08-30 12:15:12 +00:00
connection between 2 systems and bug fixes (#14)
This commit is contained in:
46
tests/component_tests/app_connect/test_component.idl
Normal file
46
tests/component_tests/app_connect/test_component.idl
Normal file
@@ -0,0 +1,46 @@
|
||||
/********************************************************************************
|
||||
* Copyright (c) 2025-2026 ZF Friedrichshafen AG
|
||||
*
|
||||
* This program and the accompanying materials are made available under the
|
||||
* terms of the Apache License Version 2.0 which is available at
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Contributors:
|
||||
* Erik Verhoeven - initial API and implementation
|
||||
********************************************************************************/
|
||||
|
||||
#include <interfaces/core.idl>
|
||||
#include <interfaces/process.idl>
|
||||
|
||||
/**
|
||||
* @brief Stages the call might go through.
|
||||
*/
|
||||
struct SStages
|
||||
{
|
||||
boolean bDevice;
|
||||
boolean bBasicService;
|
||||
boolean bComplexService;
|
||||
boolean bSystemService;
|
||||
boolean bUtility;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Hello interface
|
||||
*/
|
||||
interface IHello
|
||||
{
|
||||
/**
|
||||
* @brief Say hello
|
||||
* @param[in, out] sStages The struct stages will be filled by the components. The complex service calls the basic service. The
|
||||
* basic service calls the device. The device calls the system service and the utility.
|
||||
* @return The greetings string.
|
||||
*/
|
||||
u8string SayHello(inout SStages sStages) const;
|
||||
|
||||
/**
|
||||
* @brief Get the PID of the process the component is running in...
|
||||
*/
|
||||
sdv::process::TProcessID GetPID() const;
|
||||
};
|
||||
Reference in New Issue
Block a user