2026-03-27 14:12:49 +01:00
|
|
|
/********************************************************************************
|
|
|
|
|
* 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
|
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
2025-11-04 13:28:06 +01:00
|
|
|
#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;
|
|
|
|
|
};
|