mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-04-25 12:58:16 +00:00
49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
/********************************************************************************
|
|
* 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 Example interface
|
|
*/
|
|
interface ITestLock
|
|
{
|
|
/**
|
|
* @brief Lock Mutex
|
|
*/
|
|
void Lock();
|
|
|
|
/**
|
|
* @brief Unlock Mutex
|
|
*/
|
|
void Unlock();
|
|
};
|
|
|
|
/**
|
|
* @brief Hello interface
|
|
*/
|
|
interface IHello
|
|
{
|
|
/**
|
|
* @brief Say hello
|
|
* @return The greetings string.
|
|
*/
|
|
u8string SayHello() const;
|
|
|
|
/**
|
|
* @brief Get the PID of the process the component is running in...
|
|
*/
|
|
//sdv::process::TProcessID GetPID() const;
|
|
};
|